{"thread":{"id":"16640","subject":"git-svn not working when parent of cloned dir requires auth","startedAt":"2008-12-08T20:54:18Z","lastAt":"2008-12-08T23:20:06Z","messageCount":4,"participants":["D. Stuart Freeman","Junio C Hamano","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"97384","messageId":"20081208205418.GA16418@cetel-004-xx6.admin.gatech.edu","threadId":"16640","inReplyTo":null,"subject":"git-svn not working when parent of cloned dir requires auth","fromName":"D. Stuart Freeman","fromEmail":"stuart.freeman@et.gatech.edu","sentAt":"2008-12-08T20:54:18Z","receivedAt":"2008-12-08T20:54:18Z","isPatch":false,"sender":{"key":"stuart.freeman@et.gatech.edu","avatar":"https://gravatar.com/avatar/d2c9483eaa2fa28008c84e68b765886b118c445b1ddf2ad0d0fe7ba814127a9a?d=mp&s=160"},"body":"I'm trying to\n'git svn clone https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt -s'\nthat repo is setup to allow anonymous reading of that directory tree, but\ngit-svn prompts me for a password.  I think git-svn is traversing up the\ndirectory tree and encountering a directory that needs authn, can I prevent\nit from doing that?\n\n-- \nD. Stuart Freeman\nGeorgia Institute of Technology\n"},{"id":"97386","messageId":"7v4p1e73tt.fsf@gitster.siamese.dyndns.org","threadId":"16640","inReplyTo":"20081208205418.GA16418@cetel-004-xx6.admin.gatech.edu","subject":"Re: git-svn not working when parent of cloned dir requires auth","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-12-08T21:30:06Z","receivedAt":"2008-12-08T21:30:06Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"D. Stuart Freeman\" <stuart.freeman@et.gatech.edu> writes:\n\n> I'm trying to\n> 'git svn clone https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt -s'\n> that repo is setup to allow anonymous reading of that directory tree, but\n> git-svn prompts me for a password.  I think git-svn is traversing up the\n> directory tree and encountering a directory that needs authn, can I prevent\n> it from doing that?\n\nThat sounds suspiciously similar to what I observed long time ago:\n\n  http://thread.gmane.org/gmane.comp.version-control.git/46361/focus=46558\n\nAnd $gmane/47151 in the thread, aka dc43166 (git-svn: don't minimize-url\nwhen doing an init that tracks multiple paths, 2007-05-19), supposed to\nhave fixed it.\n\nHmm...  Eric?\n"},{"id":"97389","messageId":"20081208220749.GB16418@cetel-004-xx6.admin.gatech.edu","threadId":"16640","inReplyTo":"7v4p1e73tt.fsf@gitster.siamese.dyndns.org","subject":"Re: git-svn not working when parent of cloned dir requires auth","fromName":"D. Stuart Freeman","fromEmail":"stuart.freeman@et.gatech.edu","sentAt":"2008-12-08T22:07:50Z","receivedAt":"2008-12-08T22:07:50Z","isPatch":false,"sender":{"key":"stuart.freeman@et.gatech.edu","avatar":"https://gravatar.com/avatar/d2c9483eaa2fa28008c84e68b765886b118c445b1ddf2ad0d0fe7ba814127a9a?d=mp&s=160"},"body":"In looking at the source of git-svn, I see:\n\n' # there are currently some bugs that prevent multi-init/multi-fetch\n  # setups from working well without this.\n  $Git::SVN::_minimize_url = 1;'\n\nI tried setting it to '0' and rerunning my clone.  It no longer prompted\nfor a password, but it still failed to clone anything. \n\nOn Mon, Dec 08, 2008 at 01:30:06PM -0800, Junio C Hamano wrote:\n> \"D. Stuart Freeman\" <stuart.freeman@et.gatech.edu> writes:\n> \n> > I'm trying to\n> > 'git svn clone https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt -s'\n> > that repo is setup to allow anonymous reading of that directory tree, but\n> > git-svn prompts me for a password.  I think git-svn is traversing up the\n> > directory tree and encountering a directory that needs authn, can I prevent\n> > it from doing that?\n> \n> That sounds suspiciously similar to what I observed long time ago:\n> \n>   http://thread.gmane.org/gmane.comp.version-control.git/46361/focus=46558\n> \n> And $gmane/47151 in the thread, aka dc43166 (git-svn: don't minimize-url\n> when doing an init that tracks multiple paths, 2007-05-19), supposed to\n> have fixed it.\n> \n> Hmm...  Eric?\n\n-- \nD. Stuart Freeman\nGeorgia Institute of Technology\n"},{"id":"97391","messageId":"20081208232006.GA21675@hand.yhbt.net","threadId":"16640","inReplyTo":"7v4p1e73tt.fsf@gitster.siamese.dyndns.org","subject":"Re: git-svn not working when parent of cloned dir requires auth","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2008-12-08T23:20:06Z","receivedAt":"2008-12-08T23:20:06Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Junio C Hamano <gitster@pobox.com> wrote:\n> \"D. Stuart Freeman\" <stuart.freeman@et.gatech.edu> writes:\n> \n> > I'm trying to\n> > 'git svn clone https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt -s'\n> > that repo is setup to allow anonymous reading of that directory tree, but\n> > git-svn prompts me for a password.  I think git-svn is traversing up the\n> > directory tree and encountering a directory that needs authn, can I prevent\n> > it from doing that?\n> \n> That sounds suspiciously similar to what I observed long time ago:\n> \n>   http://thread.gmane.org/gmane.comp.version-control.git/46361/focus=46558\n> \n> And $gmane/47151 in the thread, aka dc43166 (git-svn: don't minimize-url\n> when doing an init that tracks multiple paths, 2007-05-19), supposed to\n> have fixed it.\n\nThere are some other auth issues that I'm not sure ever got resolved.\nThe SVN path->branch mapping code is a mess and has needed a rework for\na while...  And I've gotten sick again this weekend.  Tis the season...\n\nStuart:\n\nFor now, running the old style one-connection per-remote config\nmay be the easiest way to go:\n\n------------ in your .git/config: ---------\n[svn-remote \"svn\"]\n        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/trunk\n        fetch = :refs/remotes/trunk\n[svn-remote \"bloatedGxtAndVanilla\"]\n        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/branches/bloatedGxtAndVanilla\n        fetch = :refs/remotes/bloatedGxtAndVanilla\n[svn-remote \"pre-GXT\"]\n        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/branches/pre-GXT\n        fetch = :refs/remotes/pre-GXT\n-------------------------------------------\n\nThen run \"git-svn fetch -i $SVN_REMOTE\" for each svn-remote\n\n-- \nEric Wong\n"}]}