conda / conda/ceps

CEP request: Standardize http/filesystem channel structure

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
34
Forks
41
Avg merge
1h 46m
Merged PRs (30d)
1

Description

Current practice are based on de facto implementations in conda and conda-index. For clarity, this should be standardized.

Roughly, current setup is:

- `path/or/url/to/channel-name/subdir/repodata.json`
- `path/or/url/to/channel-name/subdir/package_name-version-build_string.tar.bz2`

Some parts of `conda` require at least `/repodata.json` to always be present.

In some cases, channel name is empty because the host directly exposes the subdirs in the root (e.g. `http://my-custom-channel.org/noarch/repodata.json`). This seems to be unintended and also affects how `channel::package` specs work.

We don't have clear rules for allowed characters or case sensitivity, either.

I wonder if this should be standardized in the context of a HTTP API explicitly (e.g. document expected result of `GET` requests), like the Open Container specification.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.