Automate codec updates across libraries
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github-actions, go, javascript
Research direction
Start by reviewing the multicodec table sources in go-cid/cid.go and js-multihash/src/constants.js, along with the js-multicodec lookup-table update guidance. Define how the GitHub Action detects daily table changes and whether it opens issues or pull requests in client repositories. Done means the automation keeps the JS and Go implementations synchronized through those repository updates.
Written by the indexing model from the issue text.
Description
Right now we need to manually update tables in JS/GO implementations:
- GO: https://github.com/ipfs/go-cid/blob/85cd30874e614c61d6dd82d991878d84053fd579/cid.go#L52-L110
- JS:
This is pretty bad for IPFS/IPLD ecosystem because we often run into situation where different implementations understand different subset of the table (recent example: https://github.com/multiformats/multihash/issues/129#issuecomment-661040091 + https://github.com/multiformats/js-multicodec/pull/62).
Here is an idea:
Create a Github Action that runs daily, detects multicodec table changes and either opens issues or PRs against client repos.
cc @ribasushi @vmx @rvagg @aschmahmann @jacobheun @olizilla @autonome
Thoughts?
- Dominant language
- Python
- Stars
- 384
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from multiformats/multicodec
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
multiformats/multicodec#410 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
multiformats/multicodec#408 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
multiformats/multicodec#389 ·
-
PGP public keysOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
multiformats/multicodec#381 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
multiformats/multicodec#368 · 1 comment ·
All issues in multiformats/multicodec
Similar issues
-
request-theme
Difficulty 2/5 Under an hour Newbie friendliness 70/100
LizardByte/ThemerrDB#8877 · 1 comment ·
Maintainers usually reply within 1 day
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
Difficulty 2/5 Under an hour Newbie friendliness 72/100
NousResearch/hermes-agent#135997 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
deepset-ai/haystack#13199 ·
Maintainers usually reply within 1 day
-
[BUG] JSONLoader rejects valid UTF-8 BOM filesPossibly taken @zouyonghe claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anthropics/knowledge-work-plugins#1298 ·
Maintainers usually reply within 1 day