also sprach Raphael Hertzog <hertzog@debian.org> [2007.07.17.1559 +0200]:
> For the record, I created the contact keyword and everybody who had the
> "default" keyword already has the new "contact" keyword. The new keyword
> is also activated by default (if you don't customize the set of keywords
> that you accept).
Great, so I'll try to "clean up" the database then with a script,
which:
1. iterates all packages and extracts sourcepkg:maintainer pairs
2. checks whether maintainer is subscribed to sourcepkg@pts
a. if no, subscribe the maintainer, thereby getting contact on
by default.
b. if yes, checks whether the contact keyword is present for
the sourcepkg:maintainer pair
i) if no, adds the contact keyword to the pair.
From what I understand, the PTS works in two stages for this: if
mail is received at sourcepkg_contact@pts, it obtains the list of
subscribers (bin/dump.pl) and for each subscriber then checks
whether 'contact' is in the tag set returned by bin/dump-tags.pl
for maintainer@add.re.ss#sourcepkg or maintainer@add.re.ss.
If the tag is present in either set, then I need not do anything.
If the tag is not present in either set, but
maintainer@add.re.ss#sourcepkg exists, add it there.
If the tag is not present in either set, and
maintainer@add.re.ss#sourcepkg does not yet exist, copy
maintainer@add.re.ss to maintainer@add.re.ss#sourcepkg and add the
tag.
Does this sound like a reasonable strategy?
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
Attachment:
signature.asc
Description: Digital signature (GPG/PGP)