diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2012-December/004884.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/2012-December/004884.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2012-December/004884.html | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2012-December/004884.html b/zarb-ml/mageia-sysadm/2012-December/004884.html new file mode 100644 index 000000000..7b82c7e03 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2012-December/004884.html @@ -0,0 +1,147 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Mass rebuild + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Mass%20rebuild&In-Reply-To=%3CCA%2BCX%2Bbj%3D%2BKyPi2_yN0T3X5Tz_QwQSoD_zyr8-QxTKCUDa9QyiA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004883.html"> + <LINK REL="Next" HREF="004886.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Mass rebuild</H1> + <B>Pascal Terjan</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Mass%20rebuild&In-Reply-To=%3CCA%2BCX%2Bbj%3D%2BKyPi2_yN0T3X5Tz_QwQSoD_zyr8-QxTKCUDa9QyiA%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] Mass rebuild">pterjan at gmail.com + </A><BR> + <I>Wed Dec 5 23:57:06 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="004883.html">[Mageia-sysadm] Mass rebuild +</A></li> + <LI>Next message: <A HREF="004886.html">[Mageia-sysadm] Mass rebuild +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4884">[ date ]</a> + <a href="thread.html#4884">[ thread ]</a> + <a href="subject.html#4884">[ subject ]</a> + <a href="author.html#4884">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wed, Dec 5, 2012 at 9:50 PM, nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>> wrote: +><i> On Wed, 05 Dec 2012, Pascal Terjan wrote: +</I>><i> +</I>>><i> I was thinking about it tonight +</I>>><i> +</I>>><i> Rebuilding everything takes 1 week building one package at a time +</I>>><i> +</I>>><i> If we temporarily added sucuk and rabbit as build nodes (twice each +</I>>><i> like the two other) and submitted all packages, it would take less +</I>>><i> than 24h. +</I>><i> +</I>><i> Good idea. +</I>><i> +</I>>><i> The hardest part being to bump the release in all specs (not sure how +</I>>><i> many have some strange way to set the release) +</I>><i> +</I>><i> By the way I have added yesterday a script that can be used to rebuild +</I>><i> a list of packages : +</I>><i> <A HREF="http://svnweb.mageia.org/soft/release/trunk/rebuild-packages?revision=6577&view=markup">http://svnweb.mageia.org/soft/release/trunk/rebuild-packages?revision=6577&view=markup</A> +</I>><i> +</I>><i> It will keep at most 6 packages in todo queue so that other people can +</I>><i> still submit packages without waiting too much. And it is using +</I>><i> Youri::Package::RPM::Updater to bump the release in the spec before +</I>><i> submitting. According to module documentation it supports cases like : +</I>><i> +</I>><i> Release: x +</I>><i> +</I>><i> and : +</I>><i> +</I>><i> %define release x +</I>><i> Release: %{release} +</I>><i> +</I>><i> but not more complex cases. I don't know if a lot of packages use +</I>><i> something more complex to set release. +</I> +I am testing it, there are not that many failing but I guess that will +be over a hundred so it would be good to test in the code if it +succeeded + +Good news is that several of them does not seem to have ever been +uploaded so they don't matter + +Some of them have release %mkrel 0 and the code fails to handle that +but this should be easy to fix (Unable to extract release number from +value '0'), that would fix a lot of the ones in the list + + croak "Unable to extract release number from value '$value'" + unless $number; + +Changing it to unless defined($number); should do the trick + +Beginning of the list (until c) with unpatched code: + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at chopin</A> cauldron-auto]$ for s in */*.spec; do perl +-mYouri::Package::RPM::Updater -e +"Youri::Package::RPM::Updater->new()->update_from_spec('$s')" +><i>/dev/null 2>&1 ; svn diff $s | grep -q . || echo $s; done +</I>CharLS/CharLS.spec +akonadi/akonadi.spec +alsa-oss/alsa-oss.spec +antlr3/antlr3.spec +avant-window-navigator/avant-window-navigator.spec +awn-extras-applets/awn-extras-applets.spec +axis14/axis14.spec +b43-tools/b43-tools.spec +barbecue/barbecue.spec +biew/biew.spec +cagibi/cagibi.spec +ceylon/ceylon.spec +cglib21/cglib21.spec +chmsee/chmsee.spec +cnetworkmanager/cnetworkmanager.spec +create/create.spec +cross-mipsel-gcc/cross-mipsel-gcc.spec +cross-ppc-binutils/cross-ppc-binutils.spec + +Same after adding defined(): + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at chopin</A> cauldron-auto]$ for s in */*.spec; do perl +-mYouri::Package::RPM::Updater -e +"Youri::Package::RPM::Updater->new()->update_from_spec('$s')" +><i>/dev/null 2>&1 ; svn diff $s | grep -q . || echo $s; done +</I>alsa-oss/alsa-oss.spec +antlr3/antlr3.spec +axis14/axis14.spec +b43-tools/b43-tools.spec +biew/biew.spec +chmsee/chmsee.spec +cross-mipsel-gcc/cross-mipsel-gcc.spec +cross-ppc-binutils/cross-ppc-binutils.spec +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004883.html">[Mageia-sysadm] Mass rebuild +</A></li> + <LI>Next message: <A HREF="004886.html">[Mageia-sysadm] Mass rebuild +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4884">[ date ]</a> + <a href="thread.html#4884">[ thread ]</a> + <a href="subject.html#4884">[ subject ]</a> + <a href="author.html#4884">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |