hooks: adopt v_get_proj_from_dir
commit54907ac1b769c24cce818d84cba66fd134b8197f
authorKyle J. McKay <mackyle@gmail.com>
Tue, 6 Feb 2018 13:44:07 +0000 (6 05:44 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 6 Feb 2018 13:44:07 +0000 (6 05:44 -0800)
tree0eda36b587b74503d5dffa8724f4eb15226d6f03
parent1236a4dcdd99dd3f8e528f02bc835227749b527b
hooks: adopt v_get_proj_from_dir

Adopt the v_get_proj_from_dir function as the means to translate a
directory into a Girocco project.

Obviously this requires the presence of the shlib.sh script which
is not available in the chroot jail.

When running in the chroot jail retain the previous logic which,
while not quite as robust, generally suffices quite will for the
more simple chroot jail setup.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hooks/post-receive
hooks/update
jobd/generate-auto-gc-update.sh