Open splitice opened 8 years ago
@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?