For utilities that probably should not make their way to the julia general registry.
From a barebone repository; see doc.
using LocalRegistry
create_registry("loulouJL",
"https://github.com/LouLouLibs/loulouJL.git";
description = "Registry for sharing personal packages and utilities",
push = true,
branch = "main")Inside a package folder ... activate the package and simply record it; see doc.
using LocalRegistry, Pkg
Pkg.activate(".")
# register to local clone of the registry repository
register(registry="/Users/loulou/Dropbox/projects_code/julia_packages/loulouJL", push=false)
# then edit Package.toml to switch git@github (ssh) to https: login
# then do not forget to push to the registry github repositoryIf you want to add this registry to your julia (do only once per julia install)
pkg"registry add https://github.com/LouLouLibs/loulouJL.git"
Pkg.update()Check that it works
Pkg.Registry.status()
Pkg.add("BazerUtils")
Pkg.status("BazerUtils")