-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagging #6
Comments
Starting from the documentation rather than the implementation, this is how it may look, subject to changes when the reality of implementation indicates that something is not such a great idea after all.
Tag the latest registered version of Keyword arguments
|
I have a local fork of if tag !== nothing
@info "Tagging, push tags with `git push --tags`" version=pkg.version
git = gitcmd(package_path, gitconfig)
run(`$git tag -a $(pkg.version) -m $(tag)`)
end This works quite well and is very simple. |
The Julia registries identify the registered package versions by the tree hashes of their content, which can be retrieved from the package's git repository. Whereas this is all that the Julia package manager needs to know, it's not overly practical for interactive exploration or browsing of the package repository. What you typically want is to have git tags on commits corresponding to the registered tree hashes. LocalRegistry should help with this.
Ideas:
tag
to retrospectively add tags corresponding to already registered versions.register
to immediately tag the version being registered.Design questions:
The text was updated successfully, but these errors were encountered: