A Julia Package Registry for packages related to CESMIX.
To install open a Julia REPL and type
] registry add https://github.com/cesmix-mit/CESMIX.git
Afterwards use the normal package manager commands to add, remove, dev, etc the packages in this registry.
Both registering a new package or a new version uses
LocalRegistry.
This needs to be installed first:
] add LocalRegistryto your global v1.x environment.
Suppose now that we want to register a new version of JuLIP.jl:
] dev JuLIP; we will assume this putsJuLIPinto~/.julia/dev/JuLIP/.- make the changes to the package
- Bump the version number, by manually editing
Project.toml, commit and push. - Now the following sequence of commands will register the new version in the
CESMIXregistry.
From the package environment with julia --project=.
using LocalRegistry
using JuLIP
register(JuLIP; registry="CESMIX")This edits the registry files and commits the changes.
If the package has already been registered before (i.e. this is a version update),
then a simple register(<packagename>) is sufficient.