Txs Olivier! The old format will remain and the new one will added additionally as kind of container for specifying 2 URLs in the old format.
Hope I can check this in until tomorrow. LieGrue, strub --- On Fri, 10/2/09, Olivier Lamy <ol...@apache.org> wrote: > From: Olivier Lamy <ol...@apache.org> > Subject: Re: [maven-scm] RFC fetch/push URL format > To: "Maven Developers List" <dev@maven.apache.org> > Date: Friday, October 2, 2009, 10:05 PM > If it help to improve git support : > go for it ! > > The most important IMHO is to be backward compatible and > support the > current git url which are supported : > > <scm> > > <connection>scm:git:git://github.com/olamy/scm-git-test-one-module.git</connection> > > <developerConnection>scm:git:g...@github.com:olamy/scm-git-test-one-module.git</developerConnection> > </scm> > > -- > Olivier > > 2009/10/1 Mark Struberg <strub...@yahoo.de>: > > Hi! > > > > Git and a few other SCMs are able to use 2 different > URLs for reading from a server and writing to a server. > > > > For Git this is called fetch-URL and push-URL, and > most DCMS like hg have the same functionality. An example > would be to fetch via http and to push via ssh. > > > > This is not currently supported in the maven-scm URLs > currently used. We already have an idea how we could enable > scm-provider specific extensions in the pom somehow, but > maybe we don't need to do this. > > > > Currently a git <scm> url looks like: > > scm:git:https://user:passw...@gitrepos.apache.org > > > > What about the following extension > > scm:git:fetch:https://user:passw...@gitrepos.apache.org/myprj:push:ssh://user:passw...@gitrepos.apache.org/home/gitrepos/myprj > > > > So we introduce 2 new tags :fetch: and :push: which > may be parsed by the underlying scm provider. This technique > can be used for whatever scm-provider which is able to use > separate URLs for write and read operations. Ideally we > should create a helper functions somewhere which does the > parsing stuff and returns 2 URLs in the original format. > > > > If the old style (only 1 URL without fetch or push) is > used, we simply use this URL for both operations. > > > > This should easily also work for maven2 > > > > WDYT? > > > > LieGrue, > > strub > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > > > > > -- > Olivier > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org