I tried to analyse closed bugs using done_email via carnivore_emails but realised
that this table is lacking lots of entries where I could easily add several from
my own memory:
SELECT done_email, COUNT(*) FROM (
SELECT done_email FROM archived_bugs WHERE id IN (SELECT id FROM (SELECT ab.id, ce.id AS ce_id
FROM archived_bugs ab
LEFT JOIN carnivore_emails ce ON ce.email = ab.done_email
) noid WHERE ce_id IS NULL ) AND done_email NOT IN ('ftpm...@ftp-master.debian.org','nor...@salsa.debian.org','unknown')
) miss GROUP BY done_email
ORDER BY count DESC
;
I wonder how the carnivore_* tables are filled and whether you want me
to draft some INSERT statements filling up the most relevant emails
where I would volunteer to sort the according IDs.
Kind regards
Andreas.
Andreas Tille
unread,
Jan 7, 2024, 8:30:04 AM1/7/24
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Control: usertag -1 udd
BTW, its probably pretty easy to resolve >900 of these missing e-mails:
CREATE TEMPORARY TABLE missing_in_carnivore_emails AS
SELECT done_email, COUNT(*) FROM (
SELECT done_email FROM archived_bugs WHERE id IN (SELECT id FROM (SELECT ab.id, ce.id AS ce_id
FROM archived_bugs ab
LEFT JOIN carnivore_emails ce ON ce.email = ab.done_email
) noid WHERE ce_id IS NULL ) AND done_email NOT IN ('ftpm...@ftp-master.debian.org','nor...@salsa.debian.org','unknown')
) miss GROUP BY done_email
ORDER BY count DESC
;
SELECT DISTINCT done_name, done_email, cn.id FROM
(SELECT BTRIM(done_name, '"') AS done_name, done_email FROM archived_bugs) ab
LEFT JOIN carnivore_names cn ON cn.name = ab.done_name
WHERE done_email in (SELECT done_email FROM missing_in_carnivore_emails WHERE count > 10)
AND done_name IS NOT NULL AND done_name != ''
AND id IS NOT null
;
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
On 07/01/24 at 14:21 +0100, Andreas Tille wrote:
> > I tried to analyse closed bugs using done_email via carnivore_emails but realised
> > that this table is lacking lots of entries where I could easily add several from
> > my own memory:
>
> [...]
>
> > I wonder how the carnivore_* tables are filled and whether you want me
> > to draft some INSERT statements filling up the most relevant emails
> > where I would volunteer to sort the according IDs.
> This statement could be easily turned into injects and would be a first approach to enhance
> the carnivore_emails table with more ids.
>
> If you give some green light I could create such a statement and maybe more enhancements
> by looking into more tables.
Please don't: the correct way to fix that is to improve the source data
(in quantz:/org/qa.debian.org/carnivore)
Lucas
Andreas Tille
unread,
Jan 7, 2024, 12:10:03 PM1/7/24
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> > This statement could be easily turned into injects and would be a first approach to enhance
> > the carnivore_emails table with more ids.
> >
> > If you give some green light I could create such a statement and maybe more enhancements
> > by looking into more tables.
>
> Please don't: the correct way to fix that is to improve the source data
> (in quantz:/org/qa.debian.org/carnivore)
I have not found this code in Salsa. Is it true that the Python2 code I
can find at