unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* RFC: marking spam via refs/notes/spam to hide it
@ 2019-06-27 18:42 Konstantin Ryabitsev
  2019-06-27 18:52 ` Eric Wong
  0 siblings, 1 reply; 7+ messages in thread
From: Konstantin Ryabitsev @ 2019-06-27 18:42 UTC (permalink / raw)
  To: meta

Greetings:

I'm reluctant to delete spam because it rebases the repository -- for 
large ones this can cause excessive downloads to mirrors. A thought 
occurred to me -- would it make sense to just hide spam from the 
frontend? E.g.:

public-inbox-hide linux-kernel message@id

This would do the following:

- remove that message from search databases
- attach a refs/notes/spam git-note to that commit
- tell public-inbox-init/reindex to ignore this commit in the future

Seems like it would be easy to do and would give a way to remove spam 
without needing to edit git history.

-K

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-27 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 18:42 RFC: marking spam via refs/notes/spam to hide it Konstantin Ryabitsev
2019-06-27 18:52 ` Eric Wong
2019-06-27 18:57   ` Konstantin Ryabitsev
2019-06-27 19:33     ` Eric Wong
2019-06-27 19:45       ` Konstantin Ryabitsev
2019-06-27 19:50         ` Eric Wong
2019-06-27 20:18           ` Konstantin Ryabitsev

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).