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

hiding a certain file from gitweb

From
MKmartin f krafft <madduck@madduck.net>
Date
Aug 21, 2007, 19:02 UTC
Message-ID
<20070821190225.GA7133@piper.oerlikon.madduck.net>
Dear list,

one of my colleagues checked a file with thousands of email addresses into git and pushed the commit, so now the file is on gitweb. This was quite a while ago and we have over 500 commits and several branches between now and then. We want to open our gitweb to the public, but to do that, I need to somehow ensure that the file's content is not available via gitweb, or else the spammers will have a feast. Is it possible to somehow hide the file from gitweb but keep it in the repo?

Alternatively, would a patch against gitweb be considered, which obfuscated email addresses? Or would that interfere with the world — I note that e.g. ikiwiki's git configuration requires you to specify the gitweb URL (and not a repo URL).

Cheers,
-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
"common sense is the collection of prejudices
 acquired by age eighteen."
                                                    -- albert einstein
 
spamtraps: madduck.bogus@madduck.net
Next: David Kastrup
Message 1 of 3 in “hiding a certain file from gitweb”
  1. martin f krafftAug 21, 2007
  2. David KastrupAug 21, 2007
  3. martin f krafftAug 21, 2007

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.