Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stsimonas opened this issue Mar 22, 2016 · 3 comments
Open

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

stsimonas opened this issue Mar 22, 2016 · 3 comments

Comments

@stsimonas
Copy link

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"] = {
                ...
            }
        },
    }
}
@Vexatos
Copy link
Contributor

Vexatos commented Mar 22, 2016

While this suggestion sounds very good, there always is the problem that I try to have OPPM as small of a program as possible. The more features I add, the more "bloated" it gets. I'll think about it.

@reinei-zz
Copy link

Suggestion: Get a plugin system so the user can decide whether or not he wants a bloated, but feature rich environment? (I know this should be another Issue ...)

@Hawk777
Copy link

Hawk777 commented Jan 20, 2021

Seems like this was done in f8dce5a?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants