{"thread":{"id":"34317","subject":"repo.or.cz being not well???","startedAt":"2013-07-01T22:16:05Z","lastAt":"2013-07-03T06:01:27Z","messageCount":7,"participants":["Junio C Hamano","Andreas Schwab","Kyle McKay"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"222315","messageId":"7vli5q9ba2.fsf@alter.siamese.dyndns.org","threadId":"34317","inReplyTo":null,"subject":"repo.or.cz being not well???","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-07-01T22:16:05Z","receivedAt":"2013-07-01T22:16:05Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Has something changed recently at repo.or.cz, accepting pushes over\nssh, in the past few days?  I am getting this:\n\n    $ git push -n -v repo.or.cz:srv/git/alt-git.git/\n    403 forbidden\n    fatal: Could not read from remote repository.\n\n    Please make sure you have the correct access rights\n    and the repository exists.\n"},{"id":"222317","messageId":"7va9m5apl8.fsf@alter.siamese.dyndns.org","threadId":"34317","inReplyTo":"7vli5q9ba2.fsf@alter.siamese.dyndns.org","subject":"Re: repo.or.cz being not well???","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-07-01T22:21:39Z","receivedAt":"2013-07-01T22:21:39Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> Has something changed recently at repo.or.cz, accepting pushes over\n> ssh, in the past few days?  I am getting this:\n>\n>     $ git push -n -v repo.or.cz:srv/git/alt-git.git/\n>     403 forbidden\n>     fatal: Could not read from remote repository.\n>\n>     Please make sure you have the correct access rights\n>     and the repository exists.\n\nNevermind, I figured it out.\n\n\t$ git push repo.or.cz:/srv/git/alt-git.git\n\nseems to be the new way to spell the scp style push.\n\nTwo points to note, just in case it would help other users, are\n\n (1) The repository hierarchy is no longer under your initial\n     directory and you have to explicitly ask for /srv/$path; and\n\n (2) You used to be able to, but no longer are allowed, to have a\n     trailing slash in your repository URL.\n"},{"id":"222319","messageId":"87li5pncj7.fsf@igel.home","threadId":"34317","inReplyTo":"7vli5q9ba2.fsf@alter.siamese.dyndns.org","subject":"Re: repo.or.cz being not well???","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2013-07-01T22:25:16Z","receivedAt":"2013-07-01T22:25:16Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> Has something changed recently at repo.or.cz, accepting pushes over\n> ssh, in the past few days?  I am getting this:\n>\n>     $ git push -n -v repo.or.cz:srv/git/alt-git.git/\n>     403 forbidden\n>     fatal: Could not read from remote repository.\n\nSeems like repo is being more picky about the exact path.  Have you\ntried leaving off the trailing slash?\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"222320","messageId":"CB8FBC9A-B24D-4EAC-820F-A40472387FD9@gmail.com","threadId":"34317","inReplyTo":"7va9m5apl8.fsf@alter.siamese.dyndns.org","subject":"Re: repo.or.cz being not well???","fromName":"Kyle McKay","fromEmail":"mackyle@gmail.com","sentAt":"2013-07-01T22:39:22Z","receivedAt":"2013-07-01T22:39:22Z","isPatch":false,"sender":{"key":"mackyle@gmail.com","avatar":"https://avatars.githubusercontent.com/u/813346?v=4"},"body":"My apologies.\n\nrepo.or.cz recently had some updates to support:\n\n1) smart HTTP fetch\n2) smart HTTP push (over https)\n3) user removal of projects\n\nAlong with those updates it started doing more validation on paths.\n\nI believe all the paths listed on http://repo.or.cz/w/alt-git.git are  \naccepted as shown.\n\nI was not previously aware that URLs not shown on that page were  \naccepted, thank you for bringing it to my attention.\n\nDo you feel that it's important to accept these alternate URL versions  \nthat are not listed on the project page:\n\n1) Optional trailing '/'\n2) For the ssh scp form, optional leading '/'\n\nRegards,\nKyle\n\nOn Jul 1, 2013, at 15:21, Junio C Hamano wrote:\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>> Has something changed recently at repo.or.cz, accepting pushes over\n>> ssh, in the past few days?  I am getting this:\n>>\n>>    $ git push -n -v repo.or.cz:srv/git/alt-git.git/\n>>    403 forbidden\n>>    fatal: Could not read from remote repository.\n>>\n>>    Please make sure you have the correct access rights\n>>    and the repository exists.\n>\n> Nevermind, I figured it out.\n>\n> \t$ git push repo.or.cz:/srv/git/alt-git.git\n>\n> seems to be the new way to spell the scp style push.\n>\n> Two points to note, just in case it would help other users, are\n>\n> (1) The repository hierarchy is no longer under your initial\n>     directory and you have to explicitly ask for /srv/$path; and\n>\n> (2) You used to be able to, but no longer are allowed, to have a\n>     trailing slash in your repository URL.\n"},{"id":"222322","messageId":"7vy59p98qk.fsf@alter.siamese.dyndns.org","threadId":"34317","inReplyTo":"CB8FBC9A-B24D-4EAC-820F-A40472387FD9@gmail.com","subject":"Re: repo.or.cz being not well???","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-07-01T23:10:59Z","receivedAt":"2013-07-01T23:10:59Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Kyle McKay <mackyle@gmail.com> writes:\n\n> I was not previously aware that URLs not shown on that page were\n> accepted, thank you for bringing it to my attention.\n>\n> Do you feel that it's important to accept these alternate URL versions\n> that are not listed on the project page:\n>\n> 1) Optional trailing '/'\n> 2) For the ssh scp form, optional leading '/'\n\nI am on the fence.  As long as the accepted URL forms are advertised\nclearly (which you guys do indeed do), I do not think there is much\nreason to spend effort to \"loosen\" it again.  People can adjust.  On\nthe other hand, loosening _might_ reduce the cost of \"support calls\"\n(like the one I just did) from long-time users.  I dunno.\n\nI just (1) was curious, as getting \"error 403\" when I didn't mean to\ntalk to an HTTP server was strange, and (2) wanted to make sure I am\ntalking with the same repo.or.cz without a funny MITM.  If I sounded\nlike complaining, that wasn't intended, and I am sorry.\n\nThanks for serving the community for all those years.\n"},{"id":"222373","messageId":"87k3l8gavd.fsf@igel.home","threadId":"34317","inReplyTo":"CB8FBC9A-B24D-4EAC-820F-A40472387FD9@gmail.com","subject":"Re: repo.or.cz being not well???","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2013-07-02T16:55:18Z","receivedAt":"2013-07-02T16:55:18Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Kyle McKay <mackyle@gmail.com> writes:\n\n> Do you feel that it's important to accept these alternate URL versions\n> that are not listed on the project page:\n>\n> 1) Optional trailing '/'\n> 2) For the ssh scp form, optional leading '/'\n3) Optional trailing .git\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"222425","messageId":"5DA7CF37-6738-42A4-8648-2952ADF94284@gmail.com","threadId":"34317","inReplyTo":"87k3l8gavd.fsf@igel.home","subject":"Re: repo.or.cz being not well???","fromName":"Kyle McKay","fromEmail":"mackyle@gmail.com","sentAt":"2013-07-03T06:01:27Z","receivedAt":"2013-07-03T06:01:27Z","isPatch":false,"sender":{"key":"mackyle@gmail.com","avatar":"https://avatars.githubusercontent.com/u/813346?v=4"},"body":"On Jul 2, 2013, at 09:55, Andreas Schwab wrote:\n> Kyle McKay <mackyle@gmail.com> writes:\n>\n>> Do you feel that it's important to accept these alternate URL  \n>> versions\n>> that are not listed on the project page:\n>>\n>> 1) Optional trailing '/'\n>> 2) For the ssh scp form, optional leading '/'\n> 3) Optional trailing .git\n\nThank you for your patience.\n\nThe 3 URL variants listed above should all be working again now.\n\nOn Jul 1, 2013, at 16:10, Junio C Hamano wrote:\n> I just (1) was curious, as getting \"error 403\" when I didn't mean to\n> talk to an HTTP server was strange,\n\nThe '403' prefix has also been removed from ssh protocol error  \nmessages to reduce confusion.\n\nRegards,\nKyle\n"}]}