[PATCH 2/6] gitweb.perl : added ability to debug requests coming through gitweb interface by adding an option to request URL (also requires server-side envvar "GITWEB_MAY_DEBUG=yes")

2016-03-11 Thread Jim Klimov
--- gitweb/gitweb.perl | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 030d429..c715472 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -74,6 +74,11 @@ sub evaluate_uri { our

[PATCH 5/6] gitweb.perl changed (and tested) to return HTTP-404 when missing objects are requested via snapshot

2016-03-11 Thread Jim Klimov
--- gitweb/gitweb.perl| 62 +-- t/t9502-gitweb-standalone-parse-output.sh | 24 ++-- 2 files changed, 63 insertions(+), 23 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index fc5b62d..2369ae3 100755 ---

[PATCH 1/6] gitweb.perl : added ability to "git archive" just certain paths (files or subdirs, not whole repo) via gitweb interface

2016-03-11 Thread Jim Klimov
--- gitweb/gitweb.perl | 17 + 1 file changed, 17 insertions(+) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 05d7910..030d429 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -7328,6 +7328,15 @@ sub git_snapshot { die_error(403,

[PATCH 6/6] gitweb.perl : the optional DEBUG functionality is now unit-tested

2016-03-11 Thread Jim Klimov
--- t/t9502-gitweb-standalone-parse-output.sh | 35 +++ 1 file changed, 35 insertions(+) diff --git a/t/t9502-gitweb-standalone-parse-output.sh b/t/t9502-gitweb-standalone-parse-output.sh index a2ae5c4..4f1ddbf 100755 --- a/t/t9502-gitweb-standalone-parse-output.sh

[PATCH 4/6] gitweb.perl support for snapshots with lists of specified files is now tested

2016-03-11 Thread Jim Klimov
--- t/t9502-gitweb-standalone-parse-output.sh | 156 -- 1 file changed, 148 insertions(+), 8 deletions(-) diff --git a/t/t9502-gitweb-standalone-parse-output.sh b/t/t9502-gitweb-standalone-parse-output.sh index 0796a43..11a116f 100755 ---

[PATCH 3/6] gitweb.perl : added ability to DEBUG progression through "git archive"

2016-03-11 Thread Jim Klimov
--- gitweb/gitweb.perl | 29 + 1 file changed, 29 insertions(+) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index c715472..fc5b62d 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -891,6 +891,7 @@ sub evaluate_query_params { # now read PATH_INFO