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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Rpmlint configuration, false positives
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Rpmlint%20configuration%2C%20false%20positives&In-Reply-To=%3C20110305094928.GI18505%40shikamaru.fr%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003039.html">
<LINK REL="Next" HREF="003037.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Rpmlint configuration, false positives</H1>
<B>Remy CLOUARD</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Rpmlint%20configuration%2C%20false%20positives&In-Reply-To=%3C20110305094928.GI18505%40shikamaru.fr%3E"
TITLE="[Mageia-dev] Rpmlint configuration, false positives">shikamaru at mandriva.org
</A><BR>
<I>Sat Mar 5 10:49:28 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003039.html">[Mageia-dev] Contributors using real name/working email? or not? or maybe?
</A></li>
<LI>Next message: <A HREF="003037.html">[Mageia-dev] [RPM] cauldron core/release nagios-3.2.3-2.mga1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3036">[ date ]</a>
<a href="thread.html#3036">[ thread ]</a>
<a href="subject.html#3036">[ subject ]</a>
<a href="author.html#3036">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, Mar 04, 2011 at 10:30:36PM +0100, Michael Scherer wrote:
><i> Hi,
</I>><i>
</I>><i> so as done before on another time and land, I have pushed a rpmlint
</I>><i> specific
</I>><i> policy for Mageia, aptly named 'rpmlint-mageia-policy" ( maybe
</I>><i> rpmlint-policy-mageia would be better, not sure ).
</I>><i>
</I>><i> For those that do not know, rpmlint is a tool to check a rpm against
</I>><i> a list
</I>><i> of rules written in python, that is used on Fedora, Mandriva, opensuse
</I>><i> and likely others too. The tool is used on upload to refuse some
</I>><i> rpms based
</I>><i> on this rules, and should be used by people to check rpms, to make
</I>><i> sure that
</I>><i> no obvious errors is still there. However, this is not a perfect tool,
</I>><i> and it can still give false positives, so people should not use without
</I>><i> understanding errors.
</I>><i>
</I>><i> But we can filter and configure it to be a little more perfect.
</I>><i>
</I>><i> In a rather autocratic fashion, as the maintainer of rpmlint ( both
</I>><i> packages
</I>><i> and uptream ), as a packager representative, and as a apprentice
</I>><i> dictator
</I>><i> ( since there is lots of open position in this sector since a few
</I>><i> weeks ),
</I>><i> I propose that this become the canonical source for rpmlint
</I>><i> configuration.
</I>><i>
</I>><i> In practice, that mean that false positives will have to be added
</I>><i> there,
</I>><i> that stuff that are noted as errors need to be set in that package, and
</I>><i> any policy changes must be made there.
</I>><i>
</I>><i> So the question is "how do we deal with evolution ( ie, how do we
</I>><i> decide
</I>><i> something is now a error, or no longer one".
</I>><i>
</I>><i> Traditionally, packagers didn't care at all, and so the
</I>><i> configuration bitrotted
</I>><i> since a long time, and people didn't used it, and I just added false
</I>><i> positives
</I>><i> when packagers notified it ( ie, almost never, except when I noticed
</I>><i> some of them ).
</I>><i> I suspect that my lack of communication around that didn't help (
</I>><i> and so
</I>><i> people didn't knew they could ask for adding a false positive to the
</I>><i> list
</I>><i> of error to ignore ).
</I>><i>
</I>><i> Yet, I think we can do better, so feel free to suggest any mad idea
</I>><i> for this.
</I>><i> --
</I>><i> Michael Scherer
</I>Regarding license names, I haven’t checked the code, will provide a
patch for this, it would be nice if rpmlint could load valid license
names from a yaml config file which will contain valid licenses as
mentionned here:
<A HREF="http://fedoraproject.org/wiki/Licensing#Good_Licenses_3">http://fedoraproject.org/wiki/Licensing#Good_Licenses_3</A>
And then I will make a script to detect wrong licenses in already
imported packages so that we can make a fix license sprint to fix them
Are you ok with that ?
--
Rémy CLOUARD
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20110305/d4878f44/attachment.asc>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003039.html">[Mageia-dev] Contributors using real name/working email? or not? or maybe?
</A></li>
<LI>Next message: <A HREF="003037.html">[Mageia-dev] [RPM] cauldron core/release nagios-3.2.3-2.mga1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3036">[ date ]</a>
<a href="thread.html#3036">[ thread ]</a>
<a href="subject.html#3036">[ subject ]</a>
<a href="author.html#3036">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|