summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-December/004884.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2012-December/004884.html')
-rw-r--r--zarb-ml/mageia-sysadm/2012-December/004884.html147
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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>&gt; wrote:
+&gt;<i> On Wed, 05 Dec 2012, Pascal Terjan wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> I was thinking about it tonight
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Rebuilding everything takes 1 week building one package at a time
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If we temporarily added sucuk and rabbit as build nodes (twice each
+</I>&gt;&gt;<i> like the two other) and submitted all packages, it would take less
+</I>&gt;&gt;<i> than 24h.
+</I>&gt;<i>
+</I>&gt;<i> Good idea.
+</I>&gt;<i>
+</I>&gt;&gt;<i> The hardest part being to bump the release in all specs (not sure how
+</I>&gt;&gt;<i> many have some strange way to set the release)
+</I>&gt;<i>
+</I>&gt;<i> By the way I have added yesterday a script that can be used to rebuild
+</I>&gt;<i> a list of packages :
+</I>&gt;<i> <A HREF="http://svnweb.mageia.org/soft/release/trunk/rebuild-packages?revision=6577&amp;view=markup">http://svnweb.mageia.org/soft/release/trunk/rebuild-packages?revision=6577&amp;view=markup</A>
+</I>&gt;<i>
+</I>&gt;<i> It will keep at most 6 packages in todo queue so that other people can
+</I>&gt;<i> still submit packages without waiting too much. And it is using
+</I>&gt;<i> Youri::Package::RPM::Updater to bump the release in the spec before
+</I>&gt;<i> submitting. According to module documentation it supports cases like :
+</I>&gt;<i>
+</I>&gt;<i> Release: x
+</I>&gt;<i>
+</I>&gt;<i> and :
+</I>&gt;<i>
+</I>&gt;<i> %define release x
+</I>&gt;<i> Release: %{release}
+</I>&gt;<i>
+</I>&gt;<i> but not more complex cases. I don't know if a lot of packages use
+</I>&gt;<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 &quot;Unable to extract release number from value '$value'&quot;
+ 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
+&quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
+&gt;<i>/dev/null 2&gt;&amp;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
+&quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
+&gt;<i>/dev/null 2&gt;&amp;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>