The Samba-Bugzilla – Bug 12745
Can't clone pam_wrapper over HTTPS
Last modified: 2017-04-15 18:42:06 UTC
<https://wiki.samba.org/index.php/Using_Git_for_Samba_Development#Basic_Samba_Git> suggests that both git://git.samba.org and https://git.samba.org should work equally well. So I tried to clone pam_wrapper over HTTPS, but it didn't work:
$ git clone https://git.samba.org/pam_wrapper.git
Cloning into 'pam_wrapper'...
fatal: repository 'https://git.samba.org/pam_wrapper.git/' not found
Björn, could you please look into this? Thanks!
I'm quoting metze from some weeks ago, who replied to a similar request:
In order to support https:// the repository needs to have a
post-update hook executableand it needs to call git update-server-info
See our main repo where this works.
root@sn:/data/git/samba.git/hooks# cat post-update
# An example hook script to prepare a packed repository for use over
# dumb transports.
# To enable this hook, make this file executable by "chmod +x
exec git update-server-info
It's up to the repository owner to enable that.