CEP request: OCI packaging
Nobody has claimed this yet.
- #70 by @wolfv — closed without merging
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- github
- Domain
- release
Research direction
Start by reviewing the GHCR mirror conventions and the OCI manifest example in this issue, then inspect the related closed pull request #70. Done means a CEP clearly standardizes the container names, labels, layer media types, and treatment of tar.bz2 versus .conda artifacts.
Written by the indexing model from the issue text.
Description
https://github.com/orgs/channel-mirrors/packages has a mostly complete mirror of conda-forge and bioconda in GHCR.io. Each anaconda.org artifact (be it tar.bz2 .conda), has been pushed there under the following conventions:
- Name of the "container":
<channel>/<subdir>/<package name> - Label of the container:
<version>-<build_string>
For each name+label combo, we have the following manifest of layers:
{
"digest": "sha256:<hash>",
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": <size in bytes>,
"config": {
"digest": "sha256:<hash>",
"mediaType": "application/vnd.unknown.config.v1+json",
"size": <size in bytes>
},
"layers": [
{
"digest": "sha256:<hash>",
"mediaType": "application/vnd.oci.image.layer.v1.tar",
"size": <size in bytes>
},
{
"digest": "sha256:<hash>",
"mediaType": "application/vnd.conda.package.v2",
"size": <size in bytes>
},
{
"digest": "sha256:<hash>",
"mediaType": "application/vnd.conda.info.v1.tar+gzip",
"size": <size in bytes>
},
{
"digest": "sha256:<hash>",
"mediaType": "application/vnd.conda.info.index.v1+json",
"size": <size in bytes>
}
]
}
I think the tar and conda layers correspond to tar.bz2 and .conda ones. Always present, but only one is populated. The info layers correspond to the compressed info/ contents and the info/index.json file, respectively.
This should be standardized in a CEP.
- 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 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
dimitar-radenkov/Pointframe#362 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
bug documentation github_actions
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Sh1n1230/PunctuationToggle#342 ·
Maintainers usually reply within 1 day