From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: meta@public-inbox.org
Subject: RFC: marking spam via refs/notes/spam to hide it
Date: Thu, 27 Jun 2019 14:42:51 -0400 [thread overview]
Message-ID: <20190627184251.GC14570@chatter.i7.local> (raw)
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
next reply other threads:[~2019-06-27 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 18:42 Konstantin Ryabitsev [this message]
2019-06-27 18:52 ` RFC: marking spam via refs/notes/spam to hide it 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190627184251.GC14570@chatter.i7.local \
--to=konstantin@linuxfoundation.org \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.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).