CEP: document/standardize repodata hotfixing process; extend to run_exports
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- documentation, tooling
Research direction
Start by reading CEP 12, conda-index issue 102, and conda-index pull request 110 to understand the existing repodata.json hotfixing process. Done means documenting the current conda-forge process, proposing a run_exports hotfix workflow, and defining a migration path for co-locating run_exports metadata in repodata.json.
Written by the indexing model from the issue text.
Description
Checklist
- I added a descriptive title
- I searched open requests and couldn't find a duplicate
What is the idea?
Allow fixing mistakes in run_exports metadata
Why is this needed?
In July 31 2024 meeting, I expressed interest in adding run_exports hotfixing capabilities. @jezdez pointed out that the existing hotfixing capability for repodata.json is not well documented, and also differs between Anaconda and Conda-forge.
@jaimergp proposed https://github.com/conda/conda-index/issues/102 and implemented this in CEP 12 and https://github.com/conda/conda-index/pull/110. As Jaime mentioned, this opens the door to hotfixing run_exports metadata when conda-index gets run.
At time of writing, I'm not sure that the actual process of generating and applying patches has been done. In discussing this, @wolfv said that he'd really like to have run_exports information be co-located with the repodata.json file. This costs some file size space in repodata.json, so it has been undesirable. However, with sharding by package name, the size impact will be relatively small, and the simplicity of having the run_exports metadata in the main repodata.json for each shard is worthwhile.
What should happen?
- Document the current process that is used when hotfixing repodata.json for conda-forge
- Propose a process for hotfixing run_exports
- Define a migration path for combining run_exports metadata into repodata.json (may require sharding to be implemented first)
Additional Context
No response
- Dominant language
- No language data
- Stars
- 35
- Forks
- 43
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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 conda/ceps
-
Difficulty 2/5 1-3 hours Newbie friendliness 54/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 Half a day Newbie friendliness 28/100
-
Difficulty 5/5 Over a week Newbie friendliness 32/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
italia/eid-wallet-it-docs#1288 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jonathanong/no-mistakes#5490 ·
-
15.0
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day