also sprach Raphael Hertzog <[EMAIL PROTECTED]> [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 [EMAIL PROTECTED]
     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 [EMAIL PROTECTED], 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 [EMAIL PROTECTED] or [EMAIL PROTECTED]

If the tag is present in either set, then I need not do anything.

If the tag is not present in either set, but
[EMAIL PROTECTED] exists, add it there.

If the tag is not present in either set, and
[EMAIL PROTECTED] does not yet exist, copy
[EMAIL PROTECTED] to [EMAIL PROTECTED] and add the
tag.

Does this sound like a reasonable strategy?

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  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)

Reply via email to