Skip to content
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

a small tutorial #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pfarndt
Copy link

@pfarndt pfarndt commented Jun 11, 2020

Following the suggestion I wrote a small tutorial.



registry_repo = "[email protected]:username/MyRegistry.git"
package_path = joinpath(DEPOT_PATH, "dev/MyPackage")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be DEPOT_PATH[1].


* if tagging a new version of an already (in your registry) registered package bump the version number in its `Project.toml`
* git commit and push the package
* startup julia, adjust the function arguments in the last line appropriately and run the following code. Double check whether the `tree_hash` points to the right commit you want to register.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...you want to register (it will pick the currently checked out commit by default).

@mauro3
Copy link

mauro3 commented Jun 16, 2020

LGTM. I just tried this: it works and is comprehensible. Thanks. Maybe a reference to https://github.com/GunnarFarneback/LocalRegistry.jl could be made, which I think has similar functionality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants