Bug 12745 - Can't clone pam_wrapper over HTTPS
Can't clone pam_wrapper over HTTPS
Status: NEW
Product: cwrap
Classification: Unclassified
Component: library
unspecified
All All
: P5 normal
: ---
Assigned To: Andreas Schneider
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-13 21:00 UTC by Jakub Wilk
Modified: 2017-04-15 18:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Wilk 2017-04-13 21:00:37 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
Comment 1 Andreas Schneider 2017-04-15 08:53:14 UTC
Björn, could you please look into this? Thanks!
Comment 2 Björn Jacke 2017-04-15 18:42:06 UTC
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
  #!/bin/sh
  #
  # 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
post-update".

  exec git update-server-info

It's up to the repository owner to enable that.