On Tue, 16 Aug 2016 17:42:09 +0200, Dominique Dumont wrote:
> > Is there an easy way to get a list of affected packages and
> > uploaders that need to be removed? Checking them manually
> > seems like a lot of boring work.
I have the list, and plan to run a for-loop over all packages/local
git repos (based on examples/mass-commit in pkg-perl-tools).
> Once the list of uploader is known, it's possible to create a script that use
> cme (as command or as Perl function).
>
> e.g, if you want to remove uploader foo, bar and baz, you can use the
> following line in a bash script
>
> $ cme modify dpkg-control source Uploaders:-~/foo|bar|baz/
That was my plan :)
(Probably with a loop for the persons so that we also get
individualised commit messages/changelog entries.)
> or a similar line in a Perl script (which should be faster):
>
> use Config::Model qw(cme);
> foreach my $package (@pkgs) {
> chdir ($package);
> cme('dpkg-control')->modify("source Uploaders:-~/foo|bar|baz/");
> }
Nice, I didn't know that option so far.
Cheers,
gregor
--
.''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: U2: Until The End Of The World
Attachment:
signature.asc
Description: Digital Signature