Skip to content

spine-tools/SpineJuliaRegistry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SpineJuliaRegistry

Important

This repository is obsolete! Both SpineOpt and SpineInterface are now available through general Julia registry.

Julia package registry for the Spine project.

Updating the versions in the registry

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?)

Adding a new package

For now, please refer to the Register a Package section of the LocalRegistry.jl README.

Acknowledgements

EU emblem This work has been partially supported by EU project Mopo (2023-2026), which has received funding from European Climate, Infrastructure and Environment Executive Agency under the European Union’s HORIZON Research and Innovation Actions under grant agreement N°101095998.
EU emblem This work has been partially supported by EU project Spine (2017-2021), which has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 774629.

About

Julia package registry for the Spine project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published