Skip to contentSkip to conversation

gitweb: Describe projects_index format in more detail

PATCH New Jakub Narebski 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitweb: Describe projects_index format in more detail

Update and extend information about $projects_list file format in gitweb/README and in gitweb/INSTALL.

---
This was part of
"gitweb: Extend project_index file format by project description"
patch send to git mailing list (but not applied). I thought that updating documentation can be done independently, so here it is (minus of course information about optional repository description field).

 gitweb/INSTALL |    6 ++++++
 gitweb/README  |   46 ++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 46 insertions(+), 6 deletions(-)
gitweb/INSTALL +6 -0
index f7194db..26967e2 100644
@@ -144,6 +144,12 @@ Gitweb repositories
   Spaces in both project path and project owner have to be encoded as either
   '%20' or '+'.
 
+  Other characters that have to be url-encoded, i.e. replaced by '%'
+  followed by two-digit character number in octal, are: other whitespace
+  characters (because they are field separator in a record), plus sign '+'
+  (because it can be used as replacement for spaces), and percent sign '%'
+  (which is used for encoding / escaping).
+
   You can generate the projects list index file using the project_index
   action (the 'TXT' link on projects list page) directly from gitweb.
 
gitweb/README +40 -6

64 lines not on this page · raw message