On 06/15/2015 12:50 PM, Ady wrote:> > Oops. Sorry, the other way around. > > If I understand correctly > > /tag/?id=/refs/tags/syslinux-4.07 > > refers to the name of the tag, "syslinux-4.07" > > whereas: > > /tag/?id=a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 > > would be the corresponding reference to the hash. The "/refs/tags/" > would go after the "?id=" and before the name of the tag. >Well, neither works. -hpa
> On 06/15/2015 12:50 PM, Ady wrote: > > > > Oops. Sorry, the other way around. > > > > If I understand correctly > > > > /tag/?id=/refs/tags/syslinux-4.07 > > > > refers to the name of the tag, "syslinux-4.07" > > > > whereas: > > > > /tag/?id=a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 > > > > would be the corresponding reference to the hash. The "/refs/tags/" > > would go after the "?id=" and before the name of the tag. > > > > Well, neither works. > > -hpaExample in repo.or.cz: tag name: http://repo.or.cz/syslinux.git /tag/refs/tags/syslinux-4.07 tag hash: http://repo.or.cz/syslinux.git /tag/a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 If I understand correctly, the corresponding syntax for git.zytor.com and kernel.org would (should?) use: "?id=/tag/refs/<TAG_NAME>" (or at least one "/" right after the "?id=") and "?id=<TAG_HASH>". I don't know whether this is a limitation / problem in cgit itself, or in the current conversion / redirection. TIA, Ady.
On 06/15/2015 01:08 PM, Ady via Syslinux wrote:> > Example in repo.or.cz: > > tag name: > http://repo.or.cz/syslinux.git > /tag/refs/tags/syslinux-4.07 > > tag hash: > http://repo.or.cz/syslinux.git > /tag/a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 > > If I understand correctly, the corresponding syntax for git.zytor.com > and kernel.org would (should?) use: > "?id=/tag/refs/<TAG_NAME>" > (or at least one "/" right after the "?id=") > and > "?id=<TAG_HASH>". > > I don't know whether this is a limitation / problem in cgit itself, or > in the current conversion / redirection. >Well, if you can find a working cgit URL I can probably make the conversion do the right thing. -hpa