[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25957: Acknowledgement (gitolite broken: created repositories keep r
From: |
ng0 |
Subject: |
bug#25957: Acknowledgement (gitolite broken: created repositories keep references to /usr/bin for hooks) |
Date: |
Sat, 4 Mar 2017 13:32:42 +0000 |
On 17-03-03 22:27:43, ng0 wrote:
> What makes this worse, with every update (push) of gitolite-admin
> repository the shebang of "hooks/update" is reset.
> Other repositories seem to keep changes in the hooks shebangs so
> far.
>
>
>
When I build gitolite from guix, this looks trivial to fix.
address@hidden
/gnu/store/jw252kw9blfh1lrrib3yk4fkbj5mvdpm-gitolite-3.6.5/share/gitolite]$
egrep -nr "/usr/"
commands/svnserve:9:$svnserve ||= "/usr/bin/svnserve -r /var/svn/ -t
--tunnel-user=%u";
lib/Gitolite/Test/Tsh.pm:42:# path when cwd is [...] at
/usr/share/perl5/File/Temp.pm line 902".
lib/Gitolite/Hooks/PostUpdate.pm:62:#!/usr/bin/perl
lib/Gitolite/Hooks/Update.pm:158:#!/usr/bin/perl
lib/Gitolite/Cache.pm:127: open( REDIS, "|-", "/usr/sbin/redis-server", "-"
) or die "start redis server fail
ed: $!";
The parts I want to fix as my immediately affect every user, are in
the directory "lib/Gitolite/Hooks/", I have no idea about redis, but
I think there should be a reference to /gnu/store/ reddis and not
"/usr/sbin/redis-server". Different problem, related bug.. This can be
solved in a commit after this bug.