-
-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Description
Currently we only identify versions by their git-tree-sha1
. However this is sub-optimal when looking up git histories: GitHub doesn't provide a convenient way to find commits of a given tree, which means that e.g. TagBot has to jump through all sorts of funny hoops to try to link the tag back to a given commit.
I propose the following:
- Registry
Versions.toml
andManifest.toml
allow optionalgit-commit-sha1
,git-tag-sha1
(for Annotated Tags only) andgit-tag-name
(for the tag reference) that link to the corresponding objects - In the case of subpackages, we can have an optional
git-tree-path
giving the path in the commit/tag to the corresponding tree. - Unlike
git-tree-sha1
, these should be considered mutable (i.e. registries may add/update/remove these as required)
cc: @IanButterworth
Current PRs:
- add commit hash information to registry JuliaRegistries/RegistryTools.jl#97
- add commit hash information to registry JuliaRegistries/Registrator.jl#429 (requires above PR)
- add support for commit hash information JuliaRegistries/RegistryCI.jl#537 (independent, but need to agree on names)
Metadata
Metadata
Assignees
Labels
No labels