X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fdebian%2Fdm-monitor;h=93e36472cf8e243f519b9c48dd7bd1f4481aa6a0;hb=564395db9f6a393a894fa1b2f7ff5aefcfadd2b7;hp=d461643304af2cf1eb4c12db0afb0b132f9ff886;hpb=dca650055f023509bf797c760c11e01f03d894bb;p=dak.git diff --git a/scripts/debian/dm-monitor b/scripts/debian/dm-monitor index d4616433..93e36472 100755 --- a/scripts/debian/dm-monitor +++ b/scripts/debian/dm-monitor @@ -5,19 +5,39 @@ echo "Known debian maintainers:" psql --html projectb <' OR + m.name LIKE '% <' || substring(u.uid FROM 4) || '>') + WHERE u.uid LIKE '%@%' AND sa.suite = 5 + ) ORDER BY uid.uid; EOF echo "Packages debian maintainers may update:" psql --html projectb <') - WHERE u.uid LIKE 'dm:%' AND sa.suite = 5 + JOIN uid u ON (m.name LIKE u.name || ' <%>' OR + m.name LIKE '% <' || substring(u.uid FROM 4) || '>') + WHERE s.dm_upload_allowed = 't' GROUP BY s.source, s.version, u.uid ORDER BY u.uid, s.source, s.version; EOF @@ -27,7 +47,7 @@ psql --html projectb <