-
Notifications
You must be signed in to change notification settings - Fork 89
Manage Upstream Repos
Repox takes over all sbt data flow, you must add all upstream repos (in sbt project file these repos are called Resolver
) . You can manage the repos in this page.
Every repo has these properties:
- Name
- Base URL: resolver value in sbt project files
- Pure Maven :If the request is asking for ivy format, no pure Maven repo will be asked
- Get Only (use Get to get Head):Nexus does not treat kindly to Head requests,so you can choose use Get to ask for HEAD。According to HTTP spec,HEAD response header should be identical to GET request
- Connector :see Manage Connectors
- Priority Lower number, higher priority
Priority has no effect on Head requests,all HEAD request will be send to all upstreams
In a Get request,Repox will ask upstream repos in orde of priorities. Repos at the same priority will be asked at the same time,the repo that responde with 200 the first will be chosen。If all repos in a priority failed or 404, repox will try the next priority
Based on the abover rule, we suggest that give the faster upstream repo the higher priority。
Repox's default configuration includes most repos used in scala development, and the priorities are set according to out team's needs, please adjust according to your network condition.