"Eric W. Biederman" <[email protected]> wrote: > Have you considered searching public inboxes via git grep?
Not yet... > For a big server lore.kernel.org with a lot of searches and a lot of > clients it might not make sense. But for home use where searches are > rare and the indexes can not be kept in ram, but the mailbox might fit > git grep sounds attractive? > > I performed a preliminary test and just running git grep manually and > I was search all of the git mailling list archive pretty much > immediately. > > For v1 it is just 'git grep <regexp> HEAD' > For v2 it is 'git --rev-list --all | xargs git grep <regexp>' > > If this sounds reasonable to you I will take a look at what it takes to > wire that up over the next while. Having something like this on a potentially public-facing web UI seems like a liability support-wise(*). However, I'd be open to having this as a command-line tool. Maybe in the scripts/ directory for one-off scripts... If I were building a personal mail tool, I could use scripts/dupe-finder as a starting point. (*) I would also caution against having personal mail accessible over http://localhost/ on any port without a password; as there's attacks on browsers which could hit them. -- unsubscribe: [email protected] archive: https://public-inbox.org/meta/
