Skip to content

Add the ability to point to a local repository #1424

@perrin4869

Description

@perrin4869

I've searched open issues for similar requests

  • Yes

Is your feature request related to a problem? Please describe.

I would like to track the registry repository as a git submodule in my dotfiles repo manually. This would give me the option to manage updates more precisely and generally having more control over the setup.

Describe the solution you'd like

I'd like to be able to set the registries to be something like

    registries = {
        "file:path/to/my/registry",
    },

In this case, obviously MasonUpdate etc would be meaningless

Describe potential alternatives you've considered

No response

Additional context

I'm using a Makefile for some years now to manage and update my dotfiles dependencies/nvim plugins, etc. One of the cool things about this approach is that you can automate and curate updates using dependabot and github actions, etc. The goal is to add a submodule pointing to the mason-registry, setup mason to pick up packages from there, and only perform updates/installs to packages if the registry has changed (i.e., mtime has changed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions