CEP: document/standardize repodata hotfixing process; extend to run_exports

Open
#87 1 comment 4 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from conda/ceps

All issues in conda/ceps

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.