Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15908 - [git] login crash upon git svn dcommit

Attached to Project: Arch Linux
Opened by Rodney Price (rodprice) - Tuesday, 11 August 2009, 18:50 GMT
Last edited by Dan McGee (toofishes) - Friday, 14 August 2009, 18:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`git svn dcommit` to existing SVN repository crashes when upstream SVN password is changed.

Fix:
Add 'perl-term-readkey' to dependencies in extra/git package:
pacman -S perl-term-readkey
Works fine after this.

Additional info:
* package version(s)
* config and/or log files etc.

$ git svn dcommit
Committing to https://rayforge.app.ray.com/svn/cobra/trunk ...
Authentication realm: <https://rayforge.app.ray.com:443> Username is lowercase. FAQ is at http://openwiki.app.ray.com/GForge_FAQ
Password for '1045033': Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/current .) at /usr/lib/git-core/git-svn line 3492.


Steps to reproduce:
Change password on existing upstream SVN server, then try `git svn dcommit` from your existing git repository.
This task depends upon

Closed by  Dan McGee (toofishes)
Friday, 14 August 2009, 18:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Pay attention to optdepends.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 11 August 2009, 21:05 GMT
Is already, but is optional ;)

Optional Deps : tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn
subversion: git svn
cvsps: git cvsimport
Comment by Rodney Price (rodprice) - Wednesday, 12 August 2009, 03:25 GMT
So the git svn functionality is optional? It may be obvious that you need subversion for git svn to work, but it's not at all obvious that you need a couple of perl libraries. More to the point, you have to know perl to interpret that error message. The readkey library is just a few kB; why not just include it and be done with it?
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 14 August 2009, 02:41 GMT
The couple of libraries are listed on package information. My point of view is: if your program don't work -> check for optional depends.

Loading...