-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Going forward I'd like to make some changes, some of which need to be breaking. This issue is intended to announce what's coming up and giving a chance to discuss it.
To begin with this is what I want to achieve:
- Registries can be downloaded from package servers instead of being cloned from git. LocalRegistry should be able to make an own clone of the registry if the one in
DEPOT/registriesis not a git clone. Implemented in Support registering with a temporary git clone and on a specific branch. #47. - Better support for using LocalRegistry from CI pipelines. This requires some configurability to allow reregistering the same version to do nothing instead of giving an error, cloning separate copies of the registry (like above), and registering on custom branches. Implemented in Support registering with a temporary git clone and on a specific branch. #47.
- Make it practical to register packages in General. This is not the main focus of LocalRegistry but I'd like to have it as an option since the workflow is fairly different from Registrator and JuliaHub.
- Simplify the interactive registration further to allow, in typical cases,
julia --project=<path_to_package>
using LocalRegistry
register()
both for registration of new versions and new packages. The latter requires that exactly one registry is installed besides General. First part implemented by #32, second part by #35. Extended further in #47 to also register a package in the current directory if the active project is not a package.
The necessary breaking changes identified so far are:
git pushthe registry changes by default, Push by default #7. This is probably the more useful default anyway and if making the registration changes in a separate clone of the registry, possibly in a temporary location, manual pushing will be quite inconvenient. Implemented in Push registry after registrations by default. #36.- Change the
registryargument toregisterfrom positional to keyword. With the option to register based on the current project it would no longer be obvious if a single argument specifies a package or a registry. Implemented in Switch registry argument to register from positional to keyword. #35. - Probably make some behavior dependent on
isinteractive.
Further incoming breaking changes will be added to this list.
ericphanson
Metadata
Metadata
Assignees
Labels
No labels