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:
Junio C Hamano <gits...@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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to