mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "John Kacur" <jkacur@gmail.com>
To: "Andy Whitcroft" <apw@shadowen.org>
Cc: "Jan Engelhardt" <jengelh@medozas.de>,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: Make the git URL match usage
Date: Wed, 16 Jul 2008 12:34:23 +0200	[thread overview]
Message-ID: <520f0cf10807160334y7228527ev7e970b00c734778d@mail.gmail.com> (raw)
In-Reply-To: <20080716102104.GA7477@shadowen.org>

On Wed, Jul 16, 2008 at 12:21 PM, Andy Whitcroft <apw@shadowen.org> wrote:
> On Wed, Jul 16, 2008 at 10:47:20AM +0200, jkacur wrote:
>> On Wed, Jul 16, 2008 at 10:29 AM, Jan Engelhardt <jengelh@medozas.de> wrote:
>> >
>> > On Wednesday 2008-07-16 09:19, jkacur wrote:
>> >
>> >>Change the MAINTAINERS file so that the git URL reads EXACTLY the way someone
>> >>would use it.
>> >
>> >>-T:    git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs.git
>> >>+T:    git://git.kernel.org:/pub/scm/linux/kernel/ericvh/v9fs.git
>> >
>> > I would not use it that^ way.
>> >
>> > -git://git.kernel.org:/pub/scm/linux/kernel/ericvh/v9fs.git
>> > +git://git.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git
>> >
>>
>> Yikes! Good catch, thank you, I've respun the patch below.
>>
>> Subject: Make the git URL match the usage
>> Change the MAINTAINERS file so that the git URL reads EXACTLY the way someone
>> would use it. They should only have to copy and paste it and not guess how
>> to modify it. Secondly, drop the "git" type when the protocol is already git://
>>
>> Signed-off-by:John Kacur <jkacur at gmail dot com>
>>
>> Index: linux-2.6.26/MAINTAINERS
>> ===================================================================
>> --- linux-2.6.26.orig/MAINTAINERS
>> +++ linux-2.6.26/MAINTAINERS
>> @@ -154,7 +154,7 @@ P:        Latchesar Ionkov
>>  M:   lucho@ionkov.net
>>  L:   v9fs-developer@lists.sourceforge.net
>>  W:   http://swik.net/v9fs
>> -T:   git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs.git
>> +T:   git://git.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git
>>  S:   Maintained
>
> This now looses information.  Although it is obvious that this particular
> example (after conversion) is a git repository over git protocol this falls
> down for other forms, for example a git repository exported over http://
> would appear as below:
>
>    T: http://www.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git
>
> which would be indistiguishable from a quilt series such as Greg KH's
> which, if I follow your scheme logically ie. convert it to the same form,
> would also be represented as below:
>
>    T: http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
>
> I think your conversion makes sense in that the URL part should be
> exactly what one would use with the tool but you still need the tool
> designator:
>
>    T: git git://git.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git
>    T: git http://www.kernel.org/pub/scm/linux/kernel/ericvh/v9fs.git
>    T: guilt http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
>
> -apw
>

Hi Andy, I only dropped the "git" designator in cases where the URL
protocol was git:// as in git://git.kernel.org
I believe there is no ambiguity there. I did not touch the designator
for something like quilt where http: is ambiguous.
I could leave the git designator in but I don't think it adds any
information, and it makes the line longer, and I'd rather avoid any
line wrap.

  reply	other threads:[~2008-07-16 10:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16  8:47 jkacur
2008-07-16 10:21 ` Andy Whitcroft
2008-07-16 10:34   ` John Kacur [this message]
2008-07-16 11:43     ` Jan Engelhardt
2008-07-16 12:30       ` John Kacur
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 13:00 jkacur
2008-07-16 13:31 ` Adrian Bunk
2008-07-16 13:41   ` Mark Brown
2008-07-16 15:16     ` Jan Engelhardt
2008-07-16 13:53   ` Grant Likely
2008-07-16 13:54     ` Josh Boyer
     [not found] <aQ9CN-4cK-11@gated-at.bofh.it>
2008-07-16  8:54 ` Bodo Eggert
2008-07-16 10:06   ` Jan Engelhardt
2008-07-16 10:28     ` John Kacur
2008-07-16 10:58     ` John Kacur
2008-07-16  7:19 jkacur
2008-07-16  8:29 ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520f0cf10807160334y7228527ev7e970b00c734778d@mail.gmail.com \
    --to=jkacur@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=apw@shadowen.org \
    --cc=jengelh@medozas.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®