[syslinux] git daemon on zytor is back in action

Ady ady-sf at hotmail.com
Tue Jun 16 01:58:14 PDT 2015


> Well, if you can find a working cgit URL I can probably make the
> conversion do the right thing.
 
Currently I have no way to know what was the prior syntax (when 
git.zytor.com was using gitweb-caching), or whether it was the 
"adequate" one, or even whether it was working with all forms of tags.

I also lack the knowledge to analyze this issue deeper.

Looking at cgit, I see that tags are linked as:

 http://git.zx2c4.com/cgit
  /tag/?h=v0.11.2

using "?h=" (no "?id="). This is similar to heads (branches):

 http://git.zx2c4.com/cgit
  /log/?h=wiki

whereas hash values are indicated by "?id{,2}=":
 http://git.zx2c4.com/cgit
  /commit/?id=cadbb69990d232ce49547190b1cff2b57fc8b438

 http://git.zx2c4.com/cgit
  /tree/?id=cadbb69990d232ce49547190b1cff2b57fc8b438

 http://git.zx2c4.com/cgit
  /patch/?id=cadbb69990d232ce49547190b1cff2b57fc8b438

 http://git.zx2c4.com/cgit
  /diff/?id=cadbb69990d232ce49547190b1cff2b57fc8b438

 http://git.zx2c4.com/cgit
  /diff
   /?id=cadbb69990d232ce49547190b1cff2b57fc8b438
   &id2=db021a1989a52911557ce6b998c11fbe4a4bea9d

So, whether cgit supports tag hash values as links or not, at least 
using:

 http://git.zytor.com/syslinux/syslinux.git
  /tag/?h=syslinux-4.07

instead of using "/tag/?id=syslinux-4.07" should help avoid the 
potential conflict.

Note also that in cgit the branches are *not* linked as:
 /tag/?h=syslinux-4.xx
but rather as:
 /log/?h=syslinux-4.xx

thus avoiding also a potential conflict between tags and branches' 
names / links. It doesn't fully resolve the whole set of links, but 
should avoid the potential conflicts.

repo.or.cz seems to have more clarity / specificity / flexibility in 
the links' syntax (and in that sense, I am glad it doesn't use cgit).

TIA,
Ady.


More information about the Syslinux mailing list