blob: 7b82c7e03f7de993bcb20297ecf618bd92ae10dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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>
|