Skip to content

PATH_INFO snapshot formats

Giuseppe Bilotta git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gitweb: make the supported snapshot formats array globalgitweb/gitweb.perl+7 -80 replies
2/3gitweb: retrieve snapshot format from PATH_INFOgitweb/gitweb.perl+38 -01 reply
3/3gitweb: embed snapshot format parameter in PATH_INFOgitweb/gitweb.perl+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATHv3 0/3] PATH_INFO snapshot formats

The following three patches allow gitweb to read (and emit) PATH_INFO URLs with embedded snapshot_format information. This eliminates one for CGI parameter when PATH_INFO is enabled, and also offers a more user-friendly URL for snapshots.

The first patch is actually rather independent from the other two: it collects the definition (and calculation) of the array of allowed snapshot into a global variable.

Giuseppe Bilotta (3):
gitweb: make the supported snapshot formats array global
gitweb: retrieve snapshot format from PATH_INFO
gitweb: embed snapshot format parameter in PATH_INFO

 gitweb/gitweb.perl |   70 ++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 62 insertions(+), 8 deletions(-)