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

Additional OPM repositiories #4

Open
splitice opened this issue Sep 28, 2016 · 1 comment
Open

Additional OPM repositiories #4

splitice opened this issue Sep 28, 2016 · 1 comment

Comments

@splitice
Copy link

  • Have you put any thought into secondary OPM repositories?
  • Perhaps private ones?
  • Could 2 OPM repositories be used at once, or would one need to act as a proxy for the public one (not a bad idea anyway).
@agentzh
Copy link
Member

agentzh commented Sep 28, 2016

@splitice We already specify custom download or upload servers in user's ~/.opmrc file though the default settings point to opm.openresty.org. Basically the user can edit ~/.opmrc to switch to her own servers if she wants to.

For multiple parallel repository support similar to yum, yes, it's on the TODO list. The plan is to introduce new [repos NAME] sections in ~/.opmrc to define extra repositories in addition to the main repo defined in download_server in the top-level default section. As in

[repo foo]
download_server = http://10.2.16.8:8080
enabled=yes

[repo bar]
download_server = http://10.2.16.9:1234
enabled=yes

Then opm get will try the repositories in the order default, then foo, and finally bar in this example.

What do you think of it?

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

2 participants