Skip to content

gitweb pathinfo improvements

Giuseppe Bilotta git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 18 repliesIn review
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6gitweb: action in path with use_pathinfogitweb/gitweb.perl+72 -3710 replies
2/6gitweb: use_pathinfo filenames start with /gitweb/gitweb.perl+1 -15 replies
3/6gitweb: parse parent..current syntax from pathinfogitweb/gitweb.perl+24 -20 replies
4/6gitweb: use_pathinfo creates parent..current pathsgitweb/gitweb.perl+24 -40 replies
5/6gitweb: remove PATH_INFO from $my_url and $my_urigitweb/gitweb.perl+4 -02 replies
6/6gitweb: prevent double slashes in PATH_INFO hrefsgitweb/gitweb.perl+2 -01 reply

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJakub Narebski
1/6
2/6
3/6
4/6
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/6] gitweb pathinfo improvements

This is a resend, with some improvements and a proper cover letter, of my patchset to extend PATH_INFO support in gitweb. Hopefully I'm doing it the right way this time :)

The basic idea is to have gitweb support paths in the form of project/action/parent:/filename..hash:/filename
(modulo missing parameters) and to generate them when use_pathinfo is enabled.

For backwards compatibility, old-style urls $project/$hash are still supported (unless $hash is a named ref that happens to coincide with a gitweb action). Also, CGI parameters are still used when the path_info form would be ambiguous (e.g. filenames with two consecutive dots in their name).

Giuseppe Bilotta (6):
gitweb: action in path with use_pathinfo
gitweb: use_pathinfo filenames start with /
gitweb: parse parent..current syntax from pathinfo
gitweb: use_pathinfo creates parent..current paths
gitweb: remove PATH_INFO from $my_url and $my_uri
gitweb: prevent double slashes in PATH_INFO hrefs

 gitweb/gitweb.perl |  161 +++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 122 insertions(+), 39 deletions(-)