Now that we have arch:all build daemons, replace the ALL alias by the ANY one, which means all arch:any architectures.
Signed-off-by: Aurelien Jarno <[email protected]> --- scripts/wb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) The arch:all architecture is currently supported only for experimental, and a few binNMUs including the arch:all architecture have already been wrongly scheduled. This was actually very usefull for testing. When people start to get used using the ANY architecture, we might want to re-add the ALL alias. diff --git a/scripts/wb b/scripts/wb index 845914d..4163d7f 100755 --- a/scripts/wb +++ b/scripts/wb @@ -32,11 +32,11 @@ Package names can come with a version number too, as in pkgname_1.2-3; this is useful when generating binNMU commands from Packages files, where a new version of a package may have been uploaded but not dinstalled yet. -When listing architectures, the special word ALL can be used, and it'll expand -to all architectures for the suite being manipulated. You can then +When listing architectures, the special word ANY can be used, and it'll expand +to all arch:any architectures for the suite being manipulated. You can then subtract some of them by prefixing them with a dash, like this: - % wb gb foopkg . ALL -i386 m68k + % wb gb foopkg . ANY -i386 m68k Extra options, like -d 'stable' or -m 'message', can be passed by appending them to the end of the line, with an extra dot. If the extra options @@ -249,8 +249,8 @@ def do_command(args, fatal_errors=True, transactional=False): arches = set() for a in arches_orig: - if a == 'ALL': - arches.update(DISTRIBUTION_ARCHES[dist]) + if a == 'ANY': + arches.update(filter(lambda x: x != 'all', DISTRIBUTION_ARCHES[dist])) elif a.startswith('-'): arches.discard(a[1:]) else: -- 2.1.4

