You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2015/02/20 12:58:20 UTC
Re: svn commit: r1661086 - in /gump/live/python/gump:
actor/mvnrepoproxy/proxycontrol.py core/build/gradle.py
2015-02-20 13:52 GMT+03:00 <bo...@apache.org>:
> Author: bodewig
> Date: Fri Feb 20 10:52:17 2015
> New Revision: 1661086
>
> URL: http://svn.apache.org/r1661086
> Log:
> take the "use latest SNAPSHOT build" approach
>
> Modified:
> gump/live/python/gump/actor/mvnrepoproxy/proxycontrol.py
> gump/live/python/gump/core/build/gradle.py
>
> Modified: gump/live/python/gump/actor/mvnrepoproxy/proxycontrol.py
> URL: http://svn.apache.org/viewvc/gump/live/python/gump/actor/mvnrepoproxy/proxycontrol.py?rev=1661086&r1=1661085&r2=1661086&view=diff
> ==============================================================================
> --- gump/live/python/gump/actor/mvnrepoproxy/proxycontrol.py (original)
> +++ gump/live/python/gump/actor/mvnrepoproxy/proxycontrol.py Fri Feb 20 10:52:17 2015
> @@ -26,6 +26,21 @@ from gump.core.model.output import OUTPU
> from gump.core.run.actor import AbstractRunActor, FinalizeRunEvent, \
> InitializeRunEvent
>
> +# list of tuples listing all snapshot repositories we want to mirror
> +# each tuple consists of a name, the path prefix that identifies the
> +# repository and the real repository URL without that prefix
> +# (properly escaped to be used in a Java .properties file).
> +# Since different mvn projects use different names for the same
> +# repository it is possible to have multiple listings for a single
> +# repo. Each name has to be unique as has to be the combination of
> +# prefix and URL (i.e. each prefix must uniquely map to a real URL)
> +SNAPSHOT_PROXIES = [
> + ('apache.snapshots', '/repo/m2-snapshot-repository',
> + 'http\://people.apache.org'),
Is the above repository still useful?
If I go to http://people.apache.org/repo/m2-snapshot-repository/
there is a NOTE text there that says:
"Some projects have moved their snapshots to a new repository at
http://repository.apache.org/snapshots. You should update your Maven
builds to use the new repository url since the contents of this
repository is also proxied and aggregated at the new url."
> + ('sonatype-nexus-snapshots', '/content/repositories/snapshots',
> + 'https\://oss.sonatype.org')
> + ]
> +
> # list of tuples listing all repositories we want to mirror
> # each tuple consists of a name, the path prefix that identifies the
> # repository and the real repository URL without that prefix
> @@ -36,12 +51,10 @@ from gump.core.run.actor import Abstract
> # prefix and URL (i.e. each prefix must uniquely map to a real URL)
> PROXY_CONFIG = [
> ('central', '/maven2', 'http\://repo1.maven.org'),
> - ('apache.snapshots', '/repo/m2-snapshot-repository',
> - 'http\://people.apache.org'),
> + SNAPSHOT_PROXIES[0],
> ('maven2-repository.dev.java.net', '/maven/2', 'http\://download.java.net'),
> ('m2.dev.java.net', '/maven/2', 'http\://download.java.net'),
> - ('sonatype-nexus-snapshots', '/content/repositories/snapshots',
> - 'https\://oss.sonatype.org')
> + SNAPSHOT_PROXIES[1]
> ]
>
> class MvnRepositoryProxyController(AbstractRunActor):
>
> <...>
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: svn commit: r1661086 - in /gump/live/python/gump: actor/mvnrepoproxy/proxycontrol.py core/build/gradle.py
Posted by Stefan Bodewig <bo...@apache.org>.
On 2015-02-20, Konstantin Kolinko wrote:
> 2015-02-20 13:52 GMT+03:00 <bo...@apache.org>:
>>+ SNAPSHOT_PROXIES = [
>>+ ('apache.snapshots', '/repo/m2-snapshot-repository',
>>+ 'http\://people.apache.org'),
> Is the above repository still useful?
Don't know. Gump has been using it for a long time and we've never
changed it.
> If I go to http://people.apache.org/repo/m2-snapshot-repository/
> there is a NOTE text there that says:
> "Some projects have moved their snapshots to a new repository at
> http://repository.apache.org/snapshots. You should update your Maven
> builds to use the new repository url since the contents of this
> repository is also proxied and aggregated at the new url."
I'll change the entry.
Thanks!
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org