Skip to content

Towards 1.0 - breaking changes #30

@GunnarFarneback

Description

@GunnarFarneback

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/registries is 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:

Further incoming breaking changes will be added to this list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions