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#34405 - [git] remote-helpers cannot be used by default

Attached to Project: Arch Linux
Opened by Zachary L (computerquip) - Thursday, 21 March 2013, 22:30 GMT
Last edited by Dan McGee (toofishes) - Monday, 15 July 2013, 21:51 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:
The git package installs remote helpers into /usr/share/git/remote-helpers but they cannot be found here by git (since this isn't in $PATH), making the whole purpose of having these in the package pointless.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 15 July 2013, 21:51 GMT
Reason for closing:  Upstream
Additional comments about closing:  If upstream ships them as first-class citizens, we will do the same. Until then, I'd like to keep it vanilla.
Comment by Dave Reisner (falconindy) - Friday, 22 March 2013, 11:28 GMT
I'll happily point out that *none* of the git modules are available via PATH. And much the same, you rarely if ever need to call them explicitly.

What are you really trying to do?
Comment by Zachary L (computerquip) - Friday, 22 March 2013, 11:36 GMT
It seems a remote helper cannot be used unless it's within PATH. I have to append the remote-helpers folder into PATH in order to use it. Is this on purpose?
Comment by Sebastian Schwarz (seschwar) - Friday, 22 March 2013, 11:46 GMT
It looks like most remote helpers are in /usr/lib/git-core,
where they belong. The bzr and hg helpers, however are in
/usr/share/git/remote-helpers, where git can't find them.

Git usually looks in GIT_EXEC_PATH, which defaults to the above
/usr/lib/git-core, and then in PATH for git-* executables for
its subcommands.
Comment by Dan McGee (toofishes) - Saturday, 23 March 2013, 16:52 GMT
We're installing things the way upstream packages it. Nothing too funny is going on here, so this seems like more of an upstream issue to me.

Loading...