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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [215] search in core, nonfree, tainted instead of main, contrib
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B215%5D%20search%20in%20core%2C%20nonfree%2C%0A%09tainted%20instead%20of%20main%2C%20contrib&In-Reply-To=%3C20110106010756.4746E419BB%40valstar.mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001555.html">
<LINK REL="Next" HREF="001557.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [215] search in core, nonfree, tainted instead of main, contrib</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B215%5D%20search%20in%20core%2C%20nonfree%2C%0A%09tainted%20instead%20of%20main%2C%20contrib&In-Reply-To=%3C20110106010756.4746E419BB%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [215] search in core, nonfree, tainted instead of main, contrib">root at mageia.org
</A><BR>
<I>Thu Jan 6 02:07:56 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="001555.html">[Mageia-sysadm] [214] Have consistent spelling for vendor name, else packages get rejected
</A></li>
<LI>Next message: <A HREF="001557.html">[Mageia-sysadm] [216] default section is now core
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1556">[ date ]</a>
<a href="thread.html#1556">[ thread ]</a>
<a href="subject.html#1556">[ subject ]</a>
<a href="author.html#1556">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 215
Author: boklm
Date: 2011-01-06 02:07:55 +0100 (Thu, 06 Jan 2011)
Log Message:
-----------
search in core, nonfree, tainted instead of main, contrib
Modified Paths:
--------------
build_system/mdv-youri-core/trunk/lib/Youri/Repository/Mandriva_upload_pre.pm
Modified: build_system/mdv-youri-core/trunk/lib/Youri/Repository/Mandriva_upload_pre.pm
===================================================================
--- build_system/mdv-youri-core/trunk/lib/Youri/Repository/Mandriva_upload_pre.pm 2011-01-06 00:40:19 UTC (rev 214)
+++ build_system/mdv-youri-core/trunk/lib/Youri/Repository/Mandriva_upload_pre.pm 2011-01-06 01:07:55 UTC (rev 215)
@@ -25,6 +25,8 @@
memoize('_get_section');
+my @pkgsections = qw/core nonfree tainted/;
+
sub _init {
my $self = shift;
my %options = (
@@ -86,7 +88,7 @@
$arch .= '/media'
}
my @packages;
- foreach my $dir ('main', 'contrib') {
+ foreach my $dir (@pkgsections) {
print "Looking into $self->{_install_root}/$target/$arch/$dir/release\n";
push @packages,
map { $self->get_package_class()->new(file => $_) }
@@ -227,7 +229,7 @@
# for each potential section, try to match
# a suitable source patten in source directory
# a suitable binary patten in binary directory
- foreach my $dir (qw/main contrib/) {
+ foreach my $dir (@pkgsections) {
next unless
$self->get_files(
$self->{_install_root},
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110106/b62e0b5d/attachment-0001.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001555.html">[Mageia-sysadm] [214] Have consistent spelling for vendor name, else packages get rejected
</A></li>
<LI>Next message: <A HREF="001557.html">[Mageia-sysadm] [216] default section is now core
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1556">[ date ]</a>
<a href="thread.html#1556">[ thread ]</a>
<a href="subject.html#1556">[ subject ]</a>
<a href="author.html#1556">[ 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>
|