git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCHv3 4/5] gitweb: Starting work on a man page for /etc/gitweb.conf (WIP)

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 7, 2011, 16:41 UTC
Message-ID
<201106071841.05617.jnareb@gmail.com>
In-Reply-To
<1307464037.12888.49.camel@drew-northup.unet.maine.edu>
Quick reply; more detailed responses will follow.
On Tue, 7 Jun 2011, Drew Northup wrote:
> On Tue, 2011-06-07 at 08:44 -0500, Jonathan Nieder wrote:
>> Drew Northup wrote:
>>> On Mon, 2011-06-06 at 17:12 -0500, Jonathan Nieder wrote:
>>>> Jakub Narebski wrote:
Show 28 quoted lines
>>>>> +The location of system-wide gitweb configuration file is defined at compile
>>>>> +time using the configuration value `GITWEB_CONFIG_SYSTEM` and defaults to
>>>>> +'/etc/gitweb.conf'.  The name of the per-instance configuration file is
>>>>> +defined in gitweb by `GITWEB_CONFIG`, and defaults to 'gitweb_config.perl'
>>>>> +(relative path means located in the same directory gitweb is installed).
>>>>
>>>> Maybe:
>>>>
>>>> 	In addition to the per-instance configuration file, there can
>>>> 	be a system-wide configuration file to act as a fallback when
>>>> 	the per-instance configuration file does not exist.
>>>>
>>>> 	The system-wide configuration file is named /etc/gitweb.conf
>>>> 	by default.  Filenames for the system-wide and per-instance
>>>> 	configuration variables can be overridden at compile time and
>>>> 	run time; see the FILES section for details.
>>>
>>> This is the manpage for the system wide configuration file. If you'd
>>> like to scrap this effort in favor of something else please speak up.
>> 
>> Huh?
> 
> If this is what you are proposing then we should be working on a
> "gitweb_config.perl" manpage and not a "gitweb.conf" manpage. I know a
> fair number of people around here put priority on the former and would
> just as soon ignore the latter. That's what your proposed change says to
> me (while I also understand that your own position is likely far more
> nuanced than that).

I think this manpage is about both system-wide and per-instance config file, just like gitignore is about both in-tree .gitignore and private $GIT_DIR/info/exclude, like gitattributes is about both in-tree .gitattributes and $GIT_DIR/info/attributes,... just like ssh_config is about both system-wide ssh_config and per-user .ssh/config.

And like all of those manpages are named after one file, just like this manpage.

Perhaps we could even symlink/hardlink gitweb_config.perl manpage to gitweb.conf manpage...

P.S. I am sorry that I didn't state more clear that I modified Drew's original submission, and didn't write in more detail what I have changed. Some of mistakes are mine, not Drew...

-- 
Jakub Narebski
Poland
Previous: Drew NorthupNext: Junio C Hamano
Message 16 of 23 in “[RFC/PATCHv3 0/5] Improving gitweb documentation, creating manpages”
  1. Jakub NarebskiJun 6, 2011
  2. 1/5 gitweb: Move information about installation from README to INSTALLJakub Narebski, Jun 6, 2011
  3. Jonathan NiederJun 6, 2011
  4. 2/5 gitweb: Describe CSSMIN and JSMIN in gitweb/INSTALLJakub Narebski, Jun 6, 2011
  5. Jonathan NiederJun 6, 2011
  6. Jakub NarebskiJun 8, 2011
  7. 3/5 gitweb: Move "Requirements" up in gitweb/INSTALLJakub Narebski, Jun 6, 2011
  8. Jonathan NiederJun 6, 2011
  9. 4/5 gitweb: Starting work on a man page for /etc/gitweb.conf (WIP)Jakub Narebski, Jun 6, 2011
  10. Jonathan NiederJun 6, 2011
  11. Jonathan NiederJun 6, 2011
  12. Jakub NarebskiJun 8, 2011
  13. Drew NorthupJun 7, 2011
  14. Jonathan NiederJun 7, 2011
  15. Drew NorthupJun 7, 2011
  16. Jakub NarebskiJun 7, 2011
  17. Junio C HamanoJun 7, 2011
  18. Drew NorthupJun 7, 2011
  19. Jakub NarebskiJun 7, 2011
  20. Drew NorthupJun 7, 2011
  21. Jakub NarebskiJun 10, 2011
  22. Jakub NarebskiJun 8, 2011
  23. 5/5 gitweb: Starting work on a man page for gitweb (WIP)Jakub Narebski, Jun 6, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.