[Piuparts-devel] Bug#709372: option to ignore broken symlinks
Jakub Wilk
jwilk at debian.org
Thu May 23 13:35:23 UTC 2013
* Holger Levsen <holger at layer-acht.org>, 2013-05-22, 21:59:
>http://piuparts.debian.org/squeeze2wheezy/pass/debian-edu-artwork_0.0.33-3.log has the following adequate issues:
>
>1m29.2s DEBUG: Starting command: ['adequate', '--root', '/srv/piuparts.debian.org/tmp/tmp35wC4J', 'debian-edu-artwork']
>1m29.3s DUMP:
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/host.png -> ../ltsp/host.png
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/reboot.png -> ../ltsp/reboot.png
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/shutdown.png -> ../ltsp/shutdown.png
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/bg.png -> ../ltsp/bg.png
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/session.png -> ../ltsp/session.png
> debian-edu-artwork: broken-symlink /usr/share/ldm/themes/debian-edu/language.png -> ../ltsp/language.png
>1m29.3s DEBUG: Command ok: ['adequate', '--root', '/srv/piuparts.debian.org/tmp/tmp35wC4J', 'debian-edu-artwork']
>
>piuparts also detects broken symlinks so it would be nice if there was
>an option to run adequate without a check for broken symlinks.
I'm not opposed to the idea of adding such option to adequate, but it
might be easier and faster to fix it on piuparts side. Something like
this should do the trick:
output = re.compile('^[^:]+: broken-symlink .*\n', re.MULTILINE).sub('', output)
--
Jakub Wilk
More information about the Piuparts-devel
mailing list