{"thread":{"id":"11786","subject":"[PATCH] gitweb: Add info about $projectroot and $projects_list to gitweb/README","startedAt":"2008-01-29T19:52:32Z","lastAt":"2008-01-29T19:52:32Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"66847","messageId":"20080129195231.31960.78215.stgit@localhost.localdomain","threadId":"11786","inReplyTo":null,"subject":"[PATCH] gitweb: Add info about $projectroot and $projects_list to gitweb/README","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-01-29T19:52:32Z","receivedAt":"2008-01-29T19:52:32Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\nThose two configuration variables are important enough that it is\nworth to explicitely write about them in the \"Gitweb config file\nvariables\" section even if they are usually set during build by\nGITWEB_PROJECTROOT and GITWEB_LIST build (Makefile) configuration\nvariables.\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\n\n gitweb/README |   17 +++++++++++++++--\n 1 files changed, 15 insertions(+), 2 deletions(-)\n\n\ndiff --git a/gitweb/README b/gitweb/README\nindex b28f59f..4c8bedf 100644\n--- a/gitweb/README\n+++ b/gitweb/README\n@@ -129,17 +129,30 @@ descriptions.\n Gitweb config file variables\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n \n-You can set, among others,  the following variables in gitweb config files:\n+You can set, among others, the following variables in gitweb config files\n+(with the exception of $projectroot and $projects_list this list does\n+not include variables usually directly set during build):\n  * $GIT\n    Cure git executable to use.  By default set to \"$GIT_BINDIR/git\", which\n    in turn is by default set to \"$(bindir)/git\".  If you use git from binary\n    package, set this to \"/usr/bin/git\".  This can just be \"git\" if your\n    webserver has a sensible PATH.  If you have multiple git versions\n-   installed it is / can be used to choose which one to use.\n+   installed it can be used to choose which one to use.\n  * $version\n    Gitweb version, set automatically when creating gitweb.cgi from\n    gitweb.perl. You might want to modify it if you are running modified\n    gitweb.\n+ * $projectroot\n+   Absolute filesystem path which will be prepended to project path;\n+   the path to repository is $projectroot/$project.  Set to\n+   $GITWEB_PROJECTROOT during installation.  This variable have to be\n+   set correctly for gitweb to find repositories.\n+ * $projects_list\n+   Source of projects list, either directory to scan, or text file\n+   with list of repositories (in the \"<URI-encoded repository path> SPC\n+   <URI-encoded repository owner>\" format).  Set to $GITWEB_LIST\n+   during installation.  If empty, $projectroot is used to scan for\n+   repositories.\n  * $my_url, $my_uri\n    URL and absolute URL of gitweb script; you might need to set those\n    variables if you are using 'pathinfo' feature: see also below.\n"}]}