* hiding a certain file from gitweb
@ 2007-08-21 19:02 martin f krafft
2007-08-21 21:49 ` David Kastrup
0 siblings, 1 reply; 3+ messages in thread
From: martin f krafft @ 2007-08-21 19:02 UTC (permalink / raw
To: git discussion list
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
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
[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hiding a certain file from gitweb
2007-08-21 19:02 hiding a certain file from gitweb martin f krafft
@ 2007-08-21 21:49 ` David Kastrup
2007-08-21 22:40 ` martin f krafft
0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2007-08-21 21:49 UTC (permalink / raw
To: martin f krafft; +Cc: git discussion list
martin f krafft <madduck@madduck.net> writes:
> 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.
This sounds like you would be ok with the file never having been
committed. Use git-filter-branch for that.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hiding a certain file from gitweb
2007-08-21 21:49 ` David Kastrup
@ 2007-08-21 22:40 ` martin f krafft
0 siblings, 0 replies; 3+ messages in thread
From: martin f krafft @ 2007-08-21 22:40 UTC (permalink / raw
To: git discussion list, David Kastrup
[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]
also sprach David Kastrup <dak@gnu.org> [2007.08.21.2349 +0200]:
> > 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.
>
> This sounds like you would be ok with the file never having been
> committed. Use git-filter-branch for that.
This is awesome functionality — apart from the fact that I'd like to
keep the file in the repo, just not on gitweb. But we already
figured out a way to deal with the situation internally.
Thanks for showing me this tool.
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
"getting a scsi chain working is perfectly simple if you remember that
there must be exactly three terminations: one on one end of the
cable, one on the far end, and the goat, terminated over the scsi
chain with a silver-handled knife whilst burning *black* candles."
-- anthony deboer
spamtraps: madduck.bogus@madduck.net
[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-21 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 19:02 hiding a certain file from gitweb martin f krafft
2007-08-21 21:49 ` David Kastrup
2007-08-21 22:40 ` martin f krafft
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).