hiding a certain file from gitweb
- From
- martin 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