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

gitweb $export_ok question

From
TAThomas Amsler <tpamsler@ucdavis.edu>
Date
Dec 29, 2008, 20:26 UTC
Message-ID
<9B3762519053E645820D9CEBD18B3734023A9FBA00@XEDAMAIL2.ex.ad3.ucdavis.edu>
Hello,
I am trying to get the gitweb $export_ok to  work. According the installation instructions:

Alternatively, you can configure gitweb to only list and allow viewing of the explicitly exported repositories, via the

GITWEB_EXPORT_OK build configuration variable (or the $export_ok variable in gitweb config file). If it evaluates to true, gitweb shows repositories only if this file exists in its object database (if directory has the magic file named $export_ok).

... I set $export_ok = "true" in my /etc/gitweb.conf file. I don't know what "file" needs to be added to a repository in order for it to show up again in gitweb. I have tried several things, like specifying the file name in /etc/gitweb.con:
$export_ok ="magic-file-name"
etc. but that doesn't seem to work.
What am I doing wrong here?
Next: Jakub Narebski
Message 1 of 7 in “gitweb $export_ok question”
  1. Thomas AmslerDec 29, 2008
  2. Jakub NarebskiDec 30, 2008
  3. Jakub NarebskiDec 30, 2008
  4. Jakub NarebskiDec 31, 2008
  5. Thomas AmslerDec 31, 2008
  6. Jakub NarebskiJan 1, 2009
  7. gitweb: Document that gitweb deals with bare repositoriesJakub Narebski, Jan 3, 2009

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.