Important
This repository is obsolete! Both SpineOpt and SpineInterface are now available through general Julia registry.
Julia package registry for the Spine project.
NEVER update the registry files manually! Instead, the easiest way to update the registry is by using the LocalRegistry.jl package, follow the instructions for its installation in its README.
Updating the versions of the included packages is essentially done according to the Register a New Version of a Package instructions in the LocalRegistry.jl README. First you need to be in a Julia environment with LocalRegistry installed
using LocalRegistry
You can see the versions of the packages contained within this registry under
S\\<PACKAGE_NAME>\\Versions.toml
, and you cannot register a new version
of a package unless its version is higher than any registered one.
Versions of Julia packages are contained in their respective Project.toml
files, e.g.:
name = "SpineOpt"
uuid = "0d8fc150-4032-4b6e-9540-20efcb304861"
authors = ["Spine Project consortium <[email protected]>"]
version = "0.6.14"
Then, you want to develop
the latest version of the package you want to register
into said environment
using Pkg
Pkg.develop("<path_to_desired_package>")
And finally, you register the develop
version of the package
register("<name_of_package>", registry="<path_to_local_clone_of_SpineJuliaRegistry>")
As long as your only updating the versions of the packages included in the registry,
the registry information can be omitted from the register
function.
(Not 100% sure where this information is deduced from, probably from Project.toml
?)
For now, please refer to the Register a Package section of the LocalRegistry.jl README.