Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoolkit r790 - in trunk/gentoolkit-dev: . src/ekeyword
Date: Fri, 02 Jul 2010 16:26:05
Message-Id: 20100702162557.2DD9E2CE15@corvid.gentoo.org
1 Author: idl0r
2 Date: 2010-07-02 16:25:56 +0000 (Fri, 02 Jul 2010)
3 New Revision: 790
4
5 Modified:
6 trunk/gentoolkit-dev/ChangeLog
7 trunk/gentoolkit-dev/src/ekeyword/ekeyword
8 Log:
9 ekeyword: Don't override stable status in get_architectures_status.
10
11
12 Modified: trunk/gentoolkit-dev/ChangeLog
13 ===================================================================
14 --- trunk/gentoolkit-dev/ChangeLog 2010-07-02 15:47:13 UTC (rev 789)
15 +++ trunk/gentoolkit-dev/ChangeLog 2010-07-02 16:25:56 UTC (rev 790)
16 @@ -12,6 +12,7 @@
17 Validate user input/arch, bug 326029.
18 Add get_architectures_status function to get the architecture status,
19 0 = unkown, 1 = dev, 2 = exp, 3 = stable.
20 + Don't override stable status in get_architectures_status.
21
22 2010-05-17: Christian Ruppert <idl0r@g.o>
23 * echangelog: Update copyright in other files too (except binaries and
24
25 Modified: trunk/gentoolkit-dev/src/ekeyword/ekeyword
26 ===================================================================
27 --- trunk/gentoolkit-dev/src/ekeyword/ekeyword 2010-07-02 15:47:13 UTC (rev 789)
28 +++ trunk/gentoolkit-dev/src/ekeyword/ekeyword 2010-07-02 16:25:56 UTC (rev 790)
29 @@ -65,8 +65,8 @@
30 my ($arch, undef, $status) = split(/\s/, $line, 3);
31
32 if(defined($ARCH{$arch})) {
33 - $ARCH{$arch} = 1 if $status eq "dev";
34 - $ARCH{$arch} = 2 if $status eq "exp";
35 + $ARCH{$arch} = 1 if $status eq "dev" and $ARCH{$arch} < 3; # Don't override stable
36 + $ARCH{$arch} = 2 if $status eq "exp" and $ARCH{$arch} < 3; # Don't override stable
37 $ARCH{$arch} = 3 if $status eq "stable";
38 }
39 }