gitweb: PATH_INFO enhancement
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest5 patches 0 repliesNew
- v65 patches 9 repliesSuperseded
- v55 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 1 patch | 12 replies | Superseded | |
| v3 | 1 patch | 0 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gitweb: parse project/action/hash_base:filename PATH_INFOgitweb/ | +39 | 0 replies | |
| 2/5 | gitweb: generate project/action/hash URLsgitweb/ | +30 | 0 replies | |
| 3/5 | gitweb: use_pathinfo filenames start with /gitweb/ | +3 | 0 replies | |
| 4/5 | gitweb: parse parent..current syntax from PATH_INFOgitweb/ | +34 | 0 replies | |
| 5/5 | gitweb: generate parent..current URLsgitweb/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCHv7 0/5] gitweb: PATH_INFO enhancement
Sevent attempt for my gitweb PATH_INFO patchset, whose purpose is to reduce the use of CGI parameters by embedding as many parameters as possible in the URL path itself, provided the pathinfo feature is enabled.
The new typical gitweb URL is therefore in the form
$project/$action/$parent:$file..$hash:$file
(with useless parts stripped). Backwards compatibility for old-style $project/$hash[:$file] URLs is kept, as long as $hash is not a refname whose name happens to match a git action.
The main implementation is provided by paired patches (#1#2, #4#5) that implement parsing and generation of the new style URLs.
Patch #3 is a minor improvement to the URL syntax that allows web sites to be properly browsable in raw mode.
The patchset depends on my previous input parameter handling patch currently waiting in 'next'. This resend fixes some mainly aesthetical issues spotted by Jakub
Giuseppe Bilotta (5):
gitweb: parse project/action/hash_base:filename PATH_INFO
gitweb: generate project/action/hash URLs
gitweb: use_pathinfo filenames start with /
gitweb: parse parent..current syntax from PATH_INFO
gitweb: generate parent..current URLs
gitweb/gitweb.perl | 133 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 122 insertions(+), 11 deletions(-)