git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: repo.or.cz being not well???

From
Kyle McKay <mackyle@gmail.com>
Date
Jul 1, 2013, 22:39 UTC
Message-ID
<CB8FBC9A-B24D-4EAC-820F-A40472387FD9@gmail.com>
In-Reply-To
<7va9m5apl8.fsf@alter.siamese.dyndns.org>
My apologies.
repo.or.cz recently had some updates to support:
1) smart HTTP fetch
2) smart HTTP push (over https)
3) user removal of projects
Along with those updates it started doing more validation on paths.

I believe all the paths listed on http://repo.or.cz/w/alt-git.git are accepted as shown.

I was not previously aware that URLs not shown on that page were accepted, thank you for bringing it to my attention.

Do you feel that it's important to accept these alternate URL versions that are not listed on the project page:

1) Optional trailing '/'
2) For the ssh scp form, optional leading '/'

Regards, Kyle

On Jul 1, 2013, at 15:21, Junio C Hamano wrote:
Show 25 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> Has something changed recently at repo.or.cz, accepting pushes over
>> ssh, in the past few days?  I am getting this:
>>
>>    $ git push -n -v repo.or.cz:srv/git/alt-git.git/
>>    403 forbidden
>>    fatal: Could not read from remote repository.
>>
>>    Please make sure you have the correct access rights
>>    and the repository exists.
>
> Nevermind, I figured it out.
>
> 	$ git push repo.or.cz:/srv/git/alt-git.git
>
> seems to be the new way to spell the scp style push.
>
> Two points to note, just in case it would help other users, are
>
> (1) The repository hierarchy is no longer under your initial
>     directory and you have to explicitly ask for /srv/$path; and
>
> (2) You used to be able to, but no longer are allowed, to have a
>     trailing slash in your repository URL.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “repo.or.cz being not well???”
  1. Junio C HamanoJul 1, 2013
  2. Junio C HamanoJul 1, 2013
  3. Kyle McKayJul 1, 2013
  4. Junio C HamanoJul 1, 2013
  5. Andreas SchwabJul 2, 2013
  6. Kyle McKayJul 3, 2013
  7. Andreas SchwabJul 1, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.