Instructions on using git mirror
![](https://secure.gravatar.com/avatar/c9c798a3dcd710c4c677aab26344ba68.jpg?s=120&d=mm&r=g)
I've revised my instructions on using the experimental git mirror of the Python SVN repository: http://python.ca/nas/tmp/git-notes.txt Stories of success or failure welcome. Neil
![](https://secure.gravatar.com/avatar/4a785c8ddfb730e527e7a19a1f34c7f4.jpg?s=120&d=mm&r=g)
when I get to the step git svn fetch I get the following error: zsh-% git svn fetch Permission denied (publickey). Network connection closed unexpectedly: Connection closed unexpectedly at /opt/local/bin/git-svn line 1385 Is there a prerequisite that I get some kind of ssh key pair setup with the svn repository? I thought that was only for committers. Brad On Thu, Feb 26, 2009 at 11:21 PM, Neil Schemenauer <nas@arctrix.com> wrote:
I've revised my instructions on using the experimental git mirror of the Python SVN repository:
http://python.ca/nas/tmp/git-notes.txt
Stories of success or failure welcome.
Neil _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/bmiller%40luther.edu
-- Brad Miller Assistant Professor, Computer Science Luther College
![](https://secure.gravatar.com/avatar/c9c798a3dcd710c4c677aab26344ba68.jpg?s=120&d=mm&r=g)
On Fri, Feb 27, 2009 at 08:36:08AM -0600, Brad Miller wrote:
when I get to the step git svn fetch I get the following error: zsh-% git svn fetch Permission denied (publickey). Network connection closed unexpectedly: Connection closed unexpectedly at /opt/local/bin/git-svn line 1385
Is there a prerequisite that I get some kind of ssh key pair setup with the svn repository? I thought that was only for committers.
Sorry, the instructions don't work for read-only access. I've updated them. You need to use: git svn init http://svn.python.org/projects/python/trunk for read-only access to SVN. Regards, Neil
![](https://secure.gravatar.com/avatar/01aa7d6d4db83982a2f6dd363d0ee0f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 27, 2009, at 10:48 AM, Neil Schemenauer wrote:
On Fri, Feb 27, 2009 at 08:36:08AM -0600, Brad Miller wrote:
when I get to the step git svn fetch I get the following error: zsh-% git svn fetch Permission denied (publickey). Network connection closed unexpectedly: Connection closed unexpectedly at /opt/local/bin/git-svn line 1385
Is there a prerequisite that I get some kind of ssh key pair setup with the svn repository? I thought that was only for committers.
Sorry, the instructions don't work for read-only access. I've updated them. You need to use:
git svn init http://svn.python.org/projects/python/trunk
for read-only access to SVN.
We should probably put these, and the Mercurial information on the python.org website, perhaps as siblings of the Bazaar information. Or maybe it should all move to the wiki. Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQCVAwUBSag4V3EjvBPtnXfVAQLTMQP9EUHzd+C0aOdwISI3ckTz2aZxyWhM2/M3 yyBY8/WTEa2gJbFePX6Qk+JS33/B3FYbcKRBpjfKlaTp9DLlVdSZoQ2sA/gD27sE 82SxuxbjnjtR+513xIX2P1WflOA1SxpfKgOs9c4Gxkuee1eUgv2A5LKX5PlaE/oX sPKVgQk7hw0= =/Ipw -----END PGP SIGNATURE-----
![](https://secure.gravatar.com/avatar/e8600d16ba667cc8d7f00ddc9f254340.jpg?s=120&d=mm&r=g)
On Fri, Feb 27, 2009 at 11:00, Barry Warsaw <barry@python.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Feb 27, 2009, at 10:48 AM, Neil Schemenauer wrote:
On Fri, Feb 27, 2009 at 08:36:08AM -0600, Brad Miller wrote:
when I get to the step git svn fetch I get the following error: zsh-% git svn fetch Permission denied (publickey). Network connection closed unexpectedly: Connection closed unexpectedly at /opt/local/bin/git-svn line 1385
Is there a prerequisite that I get some kind of ssh key pair setup with the svn repository? I thought that was only for committers.
Sorry, the instructions don't work for read-only access. I've updated them. You need to use:
git svn init http://svn.python.org/projects/python/trunk
for read-only access to SVN.
We should probably put these, and the Mercurial information on the python.org website, perhaps as siblings of the Bazaar information. Or maybe it should all move to the wiki.
Until we are willing to say these mirrors are not experimental all the instructions should probably go in the wiki. -Brett
![](https://secure.gravatar.com/avatar/01aa7d6d4db83982a2f6dd363d0ee0f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 27, 2009, at 3:31 PM, Brett Cannon wrote:
Until we are willing to say these mirrors are not experimental all the instructions should probably go in the wiki.
Where's a good place for this? I'm thinking three bullets under "Core Development" on this page: http://wiki.python.org/moin/ I certainly don't want to spend my weekend moving all the dev resources into the wiki, but I'd be willing to set up these bullets, move the bazaar pages to the wiki, and set up the redirect. Then the hg and git folks can fill out there own links. Thoughts? Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQCVAwUBSahm9XEjvBPtnXfVAQKYTwP/QzLWj5E8zrqwh2Wd50imAdbtricUEOOX 32r2vSMZ0P4LwFuIKHSFNT3FLsn1p254Os0tD/05RAVEvVxuOkd9w7Hn+Vn75yG2 trkK356ESUfJFtGttFUhXD6z2fpKP23u+dZV/OtDQWqpZSg59wkDLTtu6XfGToYN 7gVJ5+2xkZ4= =92Xd -----END PGP SIGNATURE-----
![](https://secure.gravatar.com/avatar/e8600d16ba667cc8d7f00ddc9f254340.jpg?s=120&d=mm&r=g)
On Fri, Feb 27, 2009 at 14:19, Barry Warsaw <barry@python.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Feb 27, 2009, at 3:31 PM, Brett Cannon wrote:
Until we are willing to say these mirrors are not experimental all the
instructions should probably go in the wiki.
Where's a good place for this? I'm thinking three bullets under "Core Development" on this page: http://wiki.python.org/moin/
I certainly don't want to spend my weekend moving all the dev resources into the wiki,
What do you mean "all dev resources"? I am just talking about your experimental bzr page which is probably in reST which makes it a copy-n-paste job into the wiki.
but I'd be willing to set up these bullets, move the bazaar pages to the wiki, and set up the redirect. Then the hg and git folks can fill out there own links.
Fine by me.
![](https://secure.gravatar.com/avatar/01aa7d6d4db83982a2f6dd363d0ee0f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 27, 2009, at 5:24 PM, Brett Cannon wrote:
Where's a good place for this? I'm thinking three bullets under "Core Development" on this page: http://wiki.python.org/moin/
I've now moved the Bazaar instructions to the wiki. See * http://wiki.python.org/moin/FrontPage * http://wiki.python.org/moin/Bazaar Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQCVAwUBSaxsjXEjvBPtnXfVAQIqpQP9HHXHzbXG5D51QeKr3B9F4AppINrznndC Jam/IN+zuy+nm0T8Tq41rCqywuQm5Cj5+oBI6U5pQj58nQ6YAJzBYuJ1/mmRZOYv 0fTzIt0OEVvzodHdqDiHYMxNDB/JyKFdx/BInbRWSdXJFc+4C+2pd618ywahP7YU y0m9Xo3fXA0= =GD1M -----END PGP SIGNATURE-----
![](https://secure.gravatar.com/avatar/9ee6b3c60a144e1b60d24c2c66bffb1a.jpg?s=120&d=mm&r=g)
On Feb 27, 2009, at 3:31 PM, Brett Cannon wrote:
We should probably put these, and the Mercurial information on the python.org website, perhaps as siblings of the Bazaar information. Or maybe it should all move to the wiki.
Until we are willing to say these mirrors are not experimental all the instructions should probably go in the wiki.
That's fine, but I think the original poster has a point in using the word siblings. Right now, only Bazaar is prominently displayed on the http://www.python.org/dev/ It's both in the menu on the left side and in the Source Code links in the main content. A newcomer could think that Bazaar is the only DVCS python developers are experimenting with. Supplying links for the Mercurial and Git experimental repos (or wiki pages about them) would put them at least on equal footing with Bazaar in terms of exposure. In terms of technical merit they are obviously on a more than equal footing. :-) Zvezdan
![](https://secure.gravatar.com/avatar/52cff2b66b9e291797f15f0c1b3491b8.jpg?s=120&d=mm&r=g)
On 2009.02.27 09:48:17 -0600, Neil Schemenauer wrote:
On Fri, Feb 27, 2009 at 08:36:08AM -0600, Brad Miller wrote:
when I get to the step git svn fetch I get the following error: zsh-% git svn fetch Permission denied (publickey). Network connection closed unexpectedly: Connection closed unexpectedly at /opt/local/bin/git-svn line 1385
Is there a prerequisite that I get some kind of ssh key pair setup with the svn repository? I thought that was only for committers.
Sorry, the instructions don't work for read-only access. I've updated them. You need to use:
git svn init http://svn.python.org/projects/python/trunk
for read-only access to SVN.
I don't see any point to using Neil's complicated dual-remote git + git-svn setup if you don't have commit access. For that matter, as long as Neil's git mirrors work well, I don't see any point to using git-svn at all if you don't have commit access. The whole idea of Neil's scheme is that you can use (fast) git to pull changes from the git mirrors, and (slow but compatible) git-svn to push changes to svn. Neat and clever, but complex and possibly brittle. If you don't have commit access then you can't push changes to svn anyway, so you don't need the git-svn half of the setup, so you should just git-clone Neil's repo and be happy with the much simpler setup. -- David Ripton dripton@ripton.net
participants (6)
-
Barry Warsaw
-
Brad Miller
-
Brett Cannon
-
David Ripton
-
Neil Schemenauer
-
Zvezdan Petkovic