On 19 May 2015 at 20:28, Benedikt Ritter <[email protected]> wrote:
> 2015-05-19 8:24 GMT+02:00 Benedikt Ritter <[email protected]>:
>
>>
>>
>> 2015-05-19 2:49 GMT+02:00 sebb <[email protected]>:
>>
>>> On 18 May 2015 at 20:09, Benedikt Ritter <[email protected]> wrote:
>>> > 2015-05-18 16:12 GMT+02:00 sebb <[email protected]>:
>>> >
>>> >> On 18 May 2015 at 08:17,  <[email protected]> wrote:
>>> >> > Repository: commons-math
>>> >> > Updated Branches:
>>> >> >   refs/heads/master 241dccdca -> cf571ba2a
>>> >> >
>>> >> >
>>> >> > Fix repository location in doap file
>>> >> >
>>> >> >
>>> >> > Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
>>> >> > Commit:
>>> >> http://git-wip-us.apache.org/repos/asf/commons-math/commit/cf571ba2
>>> >> > Tree:
>>> http://git-wip-us.apache.org/repos/asf/commons-math/tree/cf571ba2
>>> >> > Diff:
>>> http://git-wip-us.apache.org/repos/asf/commons-math/diff/cf571ba2
>>> >> >
>>> >> > Branch: refs/heads/master
>>> >> > Commit: cf571ba2a63651ad7cf1407c10847eb1d2898a5b
>>> >> > Parents: 241dccd
>>> >> > Author: Benedikt Ritter <[email protected]>
>>> >> > Authored: Mon May 18 09:17:18 2015 +0200
>>> >> > Committer: Benedikt Ritter <[email protected]>
>>> >> > Committed: Mon May 18 09:17:18 2015 +0200
>>> >> >
>>> >> >
>>> ----------------------------------------------------------------------
>>> >> >  doap_math.rdf | 8 ++++----
>>> >> >  1 file changed, 4 insertions(+), 4 deletions(-)
>>> >> >
>>> ----------------------------------------------------------------------
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> http://git-wip-us.apache.org/repos/asf/commons-math/blob/cf571ba2/doap_math.rdf
>>> >> >
>>> ----------------------------------------------------------------------
>>> >> > diff --git a/doap_math.rdf b/doap_math.rdf
>>> >> > index ea3368f..85c4a08 100644
>>> >> > --- a/doap_math.rdf
>>> >> > +++ b/doap_math.rdf
>>> >> > @@ -30,10 +30,10 @@
>>> >> >      <shortdesc xml:lang="en">Apache Commons Math</shortdesc>
>>> >> >      <description xml:lang="en">The Math project is a library of
>>> >> lightweight, self-contained mathematics and statistics components
>>> >> addressing the most common practical problems not immediately
>>> available in
>>> >> the Java programming language or commons-lang.</description>
>>> >> >      <repository>
>>> >> > -      <SVNRepository>
>>> >> > -        <browse rdf:resource="
>>> >> http://svn.apache.org/viewvc/commons/proper/math/trunk/"/>
>>> >> > -        <location rdf:resource="
>>> >> http://svn.apache.org/repos/asf/commons/proper/math"/>
>>> >> > -      </SVNRepository>
>>> >> > +      <GitRepository>
>>> >> > +        <browse rdf:resource="
>>> >> https://git-wip-us.apache.org/repos/asf?p=commons-math.git"/>
>>> >> > +        <location rdf:resource="
>>> >> https://git-wip-us.apache.org/repos/asf/commons-math.git"/>
>>> >>
>>> >> These URLs both lead to the same place, i.e.
>>> >>
>>> >> https://git-wip-us.apache.org/repos/asf?p=commons-math.git
>>> >>
>>> >> these both seem to be browse URLs.
>>> >>
>>> >> This was not the case with the SVN URLs they replace.
>>> >>
>>> >
>>> > I'm not sure I understand what you're trying to say. I'm using
>>> > https://git-wip-us.apache.org/repos/asf/commons-math.git as remote
>>> location
>>> > and that works. Do you know a different location?
>>>
>>> I'm saying two things:
>>>
>>> 1) both URLs resolve as
>>> https://git-wip-us.apache.org/repos/asf?p=commons-math.git so there is
>>> no point using the other URL
>>> 2) In the SVN case, the browse URL does not allow checkout, but is
>>> orientated towards viewing the repo, it provides more detail than the
>>> location URL. Is there not a Git-specific URL that is used for Git
>>> checkouts? e.g. a URL using the git: scheme rather than https: ?
>>>
>>
>> You're right. According to [1] the clone URL should be git://
>> git.apache.org/commons-math.git. We should fix this for math and lang in
>> pom.xml, the doap files and in the project documentation. Will do that
>> later today.
>>
>
> When I try to push to git://git.apache.org/commons-lang.git, I get:
>
> $ git push origin master
> fatal: remote error: access denied or repository not exported:
> /commons-lang.git
>
> And https://git-wip-us.apache.org/ says that the clone url for committers
> is: https://git-wip-us.apache.org/repos/asf/reponame.git
> So now it seems like I was right in the first place ;-)

I've posted a query on infra-dev in the hope of getting an answer on this.
Maybe there is only one URI for git repos.

But Wink [1] and Zest [2] use the git: scheme in their DOAPs, as do
some other PMCs

[1] http://projects.apache.org/projects/wink.html
[2] http://projects.apache.org/projects/zest.html

> Benedikt
>
>
>>
>> Thank you,
>> Benedikt
>>
>> [1] http://git.apache.org/
>>
>>
>>>
>>> > Regards,
>>> > Benedikt
>>> >
>>> >
>>> >>
>>> >>
>>> >> > +      </GitRepository>
>>> >> >      </repository>
>>> >> >      <release>
>>> >> >        <Version>
>>> >> >
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [email protected]
>>> >> For additional commands, e-mail: [email protected]
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > http://people.apache.org/~britter/
>>> > http://www.systemoutprintln.de/
>>> > http://twitter.com/BenediktRitter
>>> > http://github.com/britter
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>>
>> --
>> http://people.apache.org/~britter/
>> http://www.systemoutprintln.de/
>> http://twitter.com/BenediktRitter
>> http://github.com/britter
>>
>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to