Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
None
-
None
-
None
Description
In some cases I want to block, instead of mirror, a particular URL. I would like to set the mirror URL to blank or null to show that no downloads should be attempted from this repo.
Another use case is if I want to block all repos except for one normal repo and one plugin repo. So my mirror settings look like this:
<mirror> <id>restricted-build</id> <mirrorOf> *,!main-dep-repo,!main-plugin-repo </mirrorOf> <name>Mirror Settings for release builds</name> <url></url> </mirror>
Then later in the settings, the repositories "main-dep-repo" and "main-plugin-repo" are defined. If only a single URL is used for both deps and plugins, then the URL could be put directly into the mirror settings. But if there is a different URL for project dependencies vs. plugins, then the mirror URL cannot be used.