Package: gitolite3
Version: 3.6.1-2+deb8u2
Severity: wishlist


Following DEP14[1] to name my tags for debian packaging I use % in
tagnames. When I then try to push such a tag to a gitolite instance I

        remote: FATAL: invalid characters in ref or filename: 

The reason is that $REF_OR_FILENAME_PATT doesn't allow % in a ref name.
This can be easily fixed by setting this variable in
~gitolite/.gitolite.rc like:

        $REF_OR_FILENAME_PATT = qr(^[0-9a-zA-Z][-0-9a-zA-Z._\@/+ :,%]*$);

. But I wonder why gitolite is restrictive here and wish that % was be
allowed by default. (Side note: git doesn't allow : in refnames, so
there more changes to REF_OR_FILENAME_PATT might be sensible.)

Best regards


-- System Information:
Debian Release: 8.9
  APT prefers oldstable-updates
  APT policy: (800, 'oldstable-updates'), (800, 'oldstable'), (700, 'stable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitolite3 depends on:
ii  adduser                      3.113+nmu3
ii  debconf [debconf-2.0]        1.5.56+deb8u1
ii  git [git-core]               1:2.1.4-2.1+deb8u3
ii  openssh-client               1:6.7p1-5+deb8u3
ii  openssh-server [ssh-server]  1:6.7p1-5+deb8u3
ii  perl                         5.20.2-3+deb8u8

gitolite3 recommends no packages.

Versions of packages gitolite3 suggests:
pn  git-daemon-run  <none>
pn  gitweb          <none>

-- debconf information:
* gitolite3/adminkey:
* gitolite3/gitdir: /var/lib/gitolite3
* gitolite3/gituser: gitolite

Reply via email to