Importing the sync-blacklist into Launchpad

Iain Lane laney at ubuntu.com
Wed Sep 7 19:13:10 UTC 2011


Hi there,

As part of the move to doing syncing in Launchpad Stefano and I wrote
some scripts to move the existing sync-blacklist.txt over. This will
allow the sync tools to know when to block syncing particular packages
based on the blacklisting status.

The following script imports the blacklist into LP and adds the original
reason as the comment.

  http://people.ubuntu.com/~stefanor/tmp/import-blacklist.py

Until all tools are transitioned to use the LP API, we'll still need to
support the old sync-blackilist.txt. The following script exports all
packages which are BLACKLISTED_ALWAYS to a file in the same format as
the current sync-blacklist.

  http://people.ubuntu.com/~stefanor/tmp/sync-blacklist.py

After this switch, archive admins will manage blacklisting by visiting
the +localpackagediffs page and toggling the status between 'All
versions' and 'No'. A script could also be written to manage this, if
desired.

One problem is that Launchpad doesn't seem to remove old comments when
the blacklist is changed, so AFAICS when a blacklisting is removed
you'll get confusing old comments appearing on +localpackagediffs. Don't
know whether this will be a problem in practice.

Anyway, WDYT about running this?

Ta,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
PhD student                                       [ ial at cs.nott.ac.uk ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-archive/attachments/20110907/49f4b8a3/attachment-0001.pgp>


More information about the ubuntu-archive mailing list