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
> 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.
Ady
2015-Jun-17 02:57 UTC
[syslinux] repo.or.cz links are no longer valid. WAS: git daemon on zytor is back in action
> 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. > > -hpaAfter taking over repo.or.cz/syslinux.git, the aforementioned previously-valid links are no longer valid :(. Perhaps not only "tags" are no longer valid. Also, the "tag" hyperlinks that were visible before are now no longer there in repo.or.cz/syslinux.git. Note that when clicking on the main "refs" hyperlink (in the upper line of links in the web interface) the list should be including both, "refs/heads" and "refs/tags". This was the way to avoid any potential conflict of any kind. The "refs/tags" list is no longer there :(. Unfortunately, I lack the necessary knowledge so to help with this. I just know that we (users) have now less features available in the web interface in repo.or.cz/syslinux.git than we had a couple of days ago :(. I hope there is still some possibility to get the same web interface features that we had before (I am _not_ focusing on conversion / redirection here, but in current features of the web interface). Thank you and Best Regards, Ady.
On Wed, Jun 17, 2015 at 05:57:39AM +0300, Ady via Syslinux wrote:> > After taking over repo.or.cz/syslinux.git, the aforementioned > previously-valid links are no longer valid :(. Perhaps not only "tags" > are no longer valid. > > Also, the "tag" hyperlinks that were visible before are now no longer > there in repo.or.cz/syslinux.git. > > Note that when clicking on the main "refs" hyperlink (in the upper line > of links in the web interface) the list should be including both, > "refs/heads" and "refs/tags". This was the way to avoid any potential > conflict of any kind. The "refs/tags" list is no longer there :(. > > Unfortunately, I lack the necessary knowledge so to help with this. I > just know that we (users) have now less features available in the web > interface in repo.or.cz/syslinux.git than we had a couple of days ago > :(. > > I hope there is still some possibility to get the same web interface > features that we had before (I am _not_ focusing on conversion / > redirection here, but in current features of the web interface). > > Thank you and Best Regards,And thanks for reporting. I haven't yet taken a closer look at the web representation of a git repo. The transition is still in progress. I'm waiting for an announce that `git clone SOME_URL` is ready. When git cloning and git pulling is possible, then I'm happy. A web view on the repo is low priority to me. My advice in this: * Let the migration stablize * Wonder how much HTML caching there is * Find contact with maintainers of the web sauce Groeten Geert Stappers -- Leven en laten leven ------------- volgend deel ------------ Een niet-tekst bijlage is gescrubt... Naam: signature.asc Type: application/pgp-signature Grootte: 836 bytes Omschrijving: Digital signature URL : <http://www.zytor.com/pipermail/syslinux/attachments/20150617/664531b1/attachment.sig>