Skip to content

Deps: machine and organisation mirrors #234

Open

Description

@Kinflou

Part of #227. Proposal: ComlineProject/docs#163, proposals/offline/supply.md#mirrors.

Mirrors set once per machine or organisation, without editing any package: URL prefix rewrites (https://github.com/ → an internal host), or sources put ahead of a package's own. They are safe because the hash decides. The future registry needs the same mechanism.

Open: the configuration format, and where machine and organisation config live.

Activity

  1. added
    P2Soon
    toolingCLI, language server, editor
    configPackages, config.idp, settings
    on Nov 9, 2026
  2. Kinflou commented on Nov 9, 2026

    @Kinflou
    MemberAuthor

    Decided (docs#163): the format, in machine or organisation config:

    [[mirror]]
    from = "https://github.com/"
    to   = "https://git.acme.internal/github/"
    
    [[mirror]]
    registry = "comline"
    to       = "https://registry.acme.internal/comline"

    A mirror is the only route for what it covers. Set fallback = true to also try the original, since every source tried learns what you depend on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2SoonconfigPackages, config.idp, settingstoolingCLI, language server, editor

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions