Skip to content

[OPPM] Ability to manage and use locally registered repositories #18

@stsimonas

Description

@stsimonas

Right now, when specifying a package/repository locally, you have to add both the repository and the package details in the configuration file.

What about expanding the functionality and the API to have the ability of managing and using just locally registered repositories (without specifying package details locally)?
Where those repositories would be queried (on update/list) for packages available in them.

Example:

oppm localrepo add <userName/repositoryName>
oppm localrepo list
oppm localrepo remove <userName/repositoryName>

And in the local configuration file:

{
    --default installation path
    path="/usr",
    --Additional repositories and packages go here, for correct package syntax, check https://github.com/OpenPrograms/Vexatos-Programs/blob/master/op-manager/etc/example-config.cfg
    repos={
        ["YourUsername/YourRepo"],

        ["AnotherUserYourTrust/AnotherRepository"],

        ["ThirdUser/ThirdRepo"] = {
            ["FullySpecifiedLocalPackage"] = {
                ...
            }
        },
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions