Skip to content

Multi-server support #1444

@pfitzseb

Description

@pfitzseb

Juliaup currently does not support switching between multiple JULIAUP_SERVERs with different versiondbs, which makes it hard to implement third-party juliaup servers as a delivery mechanism for custom Julia builds.

Consider the following:

  1. A user starts out with the official juliaup server and installs e.g. release
  2. sets JULIAUP_SERVER to a URL that serves a versiondb containing custom Julia channels (with a newer versiondb version)
  3. installs one of those new channels (this triggers a new versiondb to be written)
  4. uses this newly added channel for a while
  5. switches back to the original (or yet another server) and uses juliaup (or even just julia, because of auto-update checks)

In this situation, the custom channel will vanish without a trace, because the versiondb of the original server does not contain it.

A possible solution to this issue would be to mimic Pkg.jl's multi-registry design -- essentially, each juliaup server provides its own versiondb (independently versioned) and juliaup merges the contents of all of them when the user wants to use/install a channel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions