{"thread":{"id":"17552","subject":"[PATCH] urls.txt: document optional port specification in git URLS","startedAt":"2009-02-04T11:51:35Z","lastAt":"2009-02-05T09:12:35Z","messageCount":9,"participants":["Stefan Naewe","Junio C Hamano","Stefan Näwe","Nicolas Sebrecht","Marius Storm-Olsen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"103113","messageId":"1233748295-4554-1-git-send-email-stefan.naewe@atlas-elektronik.com","threadId":"17552","inReplyTo":null,"subject":"[PATCH] urls.txt: document optional port specification in git URLS","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2009-02-04T11:51:35Z","receivedAt":"2009-02-04T11:51:35Z","isPatch":true,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>\n---\n Documentation/urls.txt |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/urls.txt b/Documentation/urls.txt\nindex fa34c67..c74f00b 100644\n--- a/Documentation/urls.txt\n+++ b/Documentation/urls.txt\n@@ -8,8 +8,8 @@ to name the remote repository:\n - rsync://host.xz/path/to/repo.git/\n - http://host.xz/path/to/repo.git/\n - https://host.xz/path/to/repo.git/\n-- git://host.xz/path/to/repo.git/\n-- git://host.xz/~user/path/to/repo.git/\n+- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n+- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n-- \n1.6.1.2\n"},{"id":"103175","messageId":"7vr62et6p4.fsf@gitster.siamese.dyndns.org","threadId":"17552","inReplyTo":"1233748295-4554-1-git-send-email-stefan.naewe@atlas-elektronik.com","subject":"Re: [PATCH] urls.txt: document optional port specification in git URLS","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-02-04T18:09:27Z","receivedAt":"2009-02-04T18:09:27Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Naewe <stefan.naewe@atlas-elektronik.com> writes:\n\n> Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>\n> ---\n>  Documentation/urls.txt |    4 ++--\n>  1 files changed, 2 insertions(+), 2 deletions(-)\n>\n> diff --git a/Documentation/urls.txt b/Documentation/urls.txt\n> index fa34c67..c74f00b 100644\n> --- a/Documentation/urls.txt\n> +++ b/Documentation/urls.txt\n> @@ -8,8 +8,8 @@ to name the remote repository:\n>  - rsync://host.xz/path/to/repo.git/\n>  - http://host.xz/path/to/repo.git/\n>  - https://host.xz/path/to/repo.git/\n> -- git://host.xz/path/to/repo.git/\n> -- git://host.xz/~user/path/to/repo.git/\n> +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n\nHmph, I wonder if we want that for http:// and https://, too.\n"},{"id":"103202","messageId":"1233780575-20125-1-git-send-email-stefan.naewe+git@gmail.com","threadId":"17552","inReplyTo":"7vr62et6p4.fsf@gitster.siamese.dyndns.org","subject":"[PATCH v2] urls.txt: document optional port specification in git URLS","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@googlemail.com","sentAt":"2009-02-04T20:49:35Z","receivedAt":"2009-02-04T20:49:35Z","isPatch":true,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"Signed-off-by: Stefan Naewe <stefan.naewe+git@gmail.com>\n---\n Documentation/urls.txt |    8 ++++----\n 1 files changed, 4 insertions(+), 4 deletions(-)\n\ndiff --git a/Documentation/urls.txt b/Documentation/urls.txt\nindex fa34c67..5355ebc 100644\n--- a/Documentation/urls.txt\n+++ b/Documentation/urls.txt\n@@ -6,10 +6,10 @@ to name the remote repository:\n \n ===============================================================\n - rsync://host.xz/path/to/repo.git/\n-- http://host.xz/path/to/repo.git/\n-- https://host.xz/path/to/repo.git/\n-- git://host.xz/path/to/repo.git/\n-- git://host.xz/~user/path/to/repo.git/\n+- http://host.xz{startsb}:port{endsb}/path/to/repo.git/\n+- https://host.xz{startsb}:port{endsb}/path/to/repo.git/\n+- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n+- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n-- \n1.6.1.2\n"},{"id":"103203","messageId":"7vvdrpore9.fsf@gitster.siamese.dyndns.org","threadId":"17552","inReplyTo":"1233780575-20125-1-git-send-email-stefan.naewe+git@gmail.com","subject":"Re: [PATCH v2] urls.txt: document optional port specification in git URLS","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-02-04T20:53:34Z","receivedAt":"2009-02-04T20:53:34Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Naewe <stefan.naewe@googlemail.com> writes:\n\n> Signed-off-by: Stefan Naewe <stefan.naewe+git@gmail.com>\n> ---\n>  Documentation/urls.txt |    8 ++++----\n>  1 files changed, 4 insertions(+), 4 deletions(-)\n>\n> diff --git a/Documentation/urls.txt b/Documentation/urls.txt\n> index fa34c67..5355ebc 100644\n> --- a/Documentation/urls.txt\n> +++ b/Documentation/urls.txt\n> @@ -6,10 +6,10 @@ to name the remote repository:\n>  \n>  ===============================================================\n>  - rsync://host.xz/path/to/repo.git/\n> -- http://host.xz/path/to/repo.git/\n> -- https://host.xz/path/to/repo.git/\n> -- git://host.xz/path/to/repo.git/\n> -- git://host.xz/~user/path/to/repo.git/\n> +- http://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> +- https://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n\nDo you know if these port specifications do actually work?  Just double\nchecking.\n"},{"id":"103207","messageId":"loom.20090204T205910-325@post.gmane.org","threadId":"17552","inReplyTo":"7vvdrpore9.fsf@gitster.siamese.dyndns.org","subject":"Re: [PATCH v2] urls.txt: document optional port specification in git URLS","fromName":"Stefan Näwe","fromEmail":"stefan.naewe+git@gmail.com","sentAt":"2009-02-04T21:02:55Z","receivedAt":"2009-02-04T21:02:55Z","isPatch":true,"sender":{"key":"stefan.naewe+git@gmail.com","avatar":"https://gravatar.com/avatar/ff9c89e7b42e5c7f494ef0f19ac9bde6693fb6465356711b8d4ed47d2108dd46?d=mp&s=160"},"body":"Junio C Hamano <gitster <at> pobox.com> writes:\n\n> \n> Stefan Naewe <stefan.naewe <at> googlemail.com> writes:\n> \n> >  ===============================================================\n> >  - rsync://host.xz/path/to/repo.git/\n> > -- http://host.xz/path/to/repo.git/\n> > -- https://host.xz/path/to/repo.git/\n> > -- git://host.xz/path/to/repo.git/\n> > -- git://host.xz/~user/path/to/repo.git/\n> > +- http://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> > +- https://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> > +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> > +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n> >  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n> >  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n> >  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n> \n> Do you know if these port specifications do actually work?  Just double\n> checking.\n> \n\nA quick test with 'netcat':\n\nIn xterm 1:\n\n$ nc -l -p 8080\n\n\nIn xterm 2:\n\n$ git clone http://localhost:8080/foo/bar/baz.git\n\nBack in xterm 1 I get:\n\nGET /foo/bar/baz.git/info/refs HTTP/1.1\nUser-Agent: git/1.6.1.2\nHost: localhost:8080\nAccept: */*\n\n\nMore testing needed ?\n\nRegards,\nStefan\n"},{"id":"103208","messageId":"7vvdrpnc9u.fsf@gitster.siamese.dyndns.org","threadId":"17552","inReplyTo":"loom.20090204T205910-325@post.gmane.org","subject":"Re: [PATCH v2] urls.txt: document optional port specification in git URLS","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-02-04T21:05:33Z","receivedAt":"2009-02-04T21:05:33Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Näwe <stefan.naewe+git@gmail.com> writes:\n\n> More testing needed ?\n\nNo, I just was curious.  Thanks for being thorough.\n"},{"id":"103308","messageId":"20090205083604.GC27983@ultras","threadId":"17552","inReplyTo":"1233748295-4554-1-git-send-email-stefan.naewe@atlas-elektronik.com","subject":"Re: [PATCH] urls.txt: document optional port specification in git URLS","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s-dev@laposte.net","sentAt":"2009-02-05T08:36:04Z","receivedAt":"2009-02-05T08:36:04Z","isPatch":true,"sender":{"key":"nicolas.s-dev@laposte.net","avatar":null},"body":"\nOn Wed, Feb 04, 2009 at 12:51:35PM +0100, Stefan Naewe wrote:\n\n>  Documentation/urls.txt |    4 ++--\n>  1 files changed, 2 insertions(+), 2 deletions(-)\n\n[...]\n\n> +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n> +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n>  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n\nI did not understood. To what does '{startsb}' and '{endsb}' refer ?\n\n-- \nNicolas Sebrecht\n"},{"id":"103314","messageId":"498AA646.4040009@atlas-elektronik.com","threadId":"17552","inReplyTo":"20090205080913.GB27983@ultras","subject":"Re: [PATCH] urls.txt: document optional port specification in git URLS","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2009-02-05T08:41:42Z","receivedAt":"2009-02-05T08:41:42Z","isPatch":true,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"(Please don't reply to me only, CC the mailing list)\n\nOn 2/5/2009 9:09 AM, Nicolas Sebrecht wrote:\n> On Wed, Feb 04, 2009 at 12:51:35PM +0100, Stefan Naewe wrote:\n> \n>>  Documentation/urls.txt |    4 ++--\n>>  1 files changed, 2 insertions(+), 2 deletions(-)\n> \n> [...]\n> \n>> +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n>> +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n> \n> I did not understood. To what does '{startsb}' and '{endsb}' refer ?\n\nLook at the generated documentation.\n\nRegards,\nStefan\n-- \n----------------------------------------------------------------\n/dev/random says: Useless Invention: Fireproof kindling.\n"},{"id":"103315","messageId":"498AAD83.9000200@trolltech.com","threadId":"17552","inReplyTo":"20090205083604.GC27983@ultras","subject":"Re: [PATCH] urls.txt: document optional port specification in git URLS","fromName":"Marius Storm-Olsen","fromEmail":"marius@trolltech.com","sentAt":"2009-02-05T09:12:35Z","receivedAt":"2009-02-05T09:12:35Z","isPatch":true,"sender":{"key":"marius@trolltech.com","avatar":"https://gravatar.com/avatar/a40071d8f651862c6ab10bd7996f0ad84d94f06c0399de9e3fa4f06beb390a71?d=mp&s=160"},"body":"Nicolas Sebrecht said the following on 05.02.2009 09:36:\n> On Wed, Feb 04, 2009 at 12:51:35PM +0100, Stefan Naewe wrote:\n>> +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/\n>> +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/\n>>  - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/\n> \n> I did not understood. To what does '{startsb}' and '{endsb}' refer ?\n\nCommands for the documentation tool\n     {startsb} = Start/Left Square Bracket\n     {endsb} = End/Right Square Bracket\n\nso, you'll end up seeing\n     - git://host.xz[:port]/path/to/repo.git/\n     - git://host.xz[:port]/~user/path/to/repo.git/\n\n-- \n.marius [@trolltech.com]\n'if you know what you're doing, it's not research'\n\n"}]}