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-dev] RFC: task-obsolete and README.*.urpmi enhancement
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F059D72.5030303%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010958.html">
<LINK REL="Next" HREF="010985.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F059D72.5030303%40gmail.com%3E"
TITLE="[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement">guillomovitch at gmail.com
</A><BR>
<I>Thu Jan 5 13:54:10 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="010958.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement
</A></li>
<LI>Next message: <A HREF="010985.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10980">[ date ]</a>
<a href="thread.html#10980">[ thread ]</a>
<a href="subject.html#10980">[ subject ]</a>
<a href="author.html#10980">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 04/01/2012 20:13, Luc Menut a écrit :
><i> Le 04/01/2012 17:20, Guillaume Rousse a écrit :
</I>>>><i> 1) add support for optional README.*.urpmi (%ghost in spec):
</I>>>><i> This will allow to build this README.*.urpmi at install time in %pre,
</I>>>><i> %post or %trigger only when it's necessary.
</I>>><i> That will create files on the system unknown from rpm database, and
</I>>><i> unknown from urpmi too.
</I>><i>
</I>><i> nope, %ghost files are known from rpm database.
</I>><i> rpm -qpl task-obsolete-1-1.mga2.noarch.rpm
</I>><i> /usr/share/doc/task-obsolete
</I>><i> /usr/share/doc/task-obsolete/README.null-dummy.obsolete.urpmi
</I>><i> /usr/share/doc/task-obsolete/README.null.obsolete.urpmi
</I>Then the database will always contains entries for some files that only
will potentially exist on the systeme. The whole idea of conditionnaly
creating files in post-installation seems a bad idea.
>><i> Rather than focusing on shiny automatic display mechanisms, I'd rather
</I>>><i> work on information content.
</I>><i>
</I>><i> we can|should do both.
</I>><i>
</I>><i> [...]
</I>>><i>
</I>>><i> Here are a few proposal of mines to make the situation better:
</I>>><i> - use a unique file name, enforced by convention, rather than references
</I>>><i> in package description, the same way Debian does with README.debian
</I>>><i> - display its content only in graphical context: command-line users
</I>>><i> usually know about this kind of convention to get information themselves
</I>>><i> - use standardised file content and markup to allow rpmdrake and other
</I>>><i> graphical tools to achieve the same kind of selection than file
</I>>><i> splitting today
</I>>><i> - define some kind of policy of what should be there, and what should
</I>>><i> not, to achieve minimal consistency
</I>><i>
</I>><i> I'm not particularly attached at the current system, but I find it works
</I>><i> rather well.
</I>><i> If we want that users read informations, the information should be
</I>><i> relevant in the context (too many informations, kill information);
</I>Indeed, that's why I suggest using standardised documentation templates
and conventions, rather than automated mecanisms.
><i> e.g. it's useless (personnaly, I consider it's bad) to display
</I>><i> information about install when we update a package, and vice versa (I
</I>><i> don't know debian, and if the unique file README.debian allow this).
</I>The README.debian is just a plain old reference text file, and is never
automatically displayed. Debian does however has a powerful
post-installation interactive mecanism (debconf), which is usually used
for configuration, but could also get used for this kind of
context-specific information.
I completly agree on the generic idea of making information access
easier. But I wouldn't reduce this to just extracting the minimal subset
of relevant information so as to display it automatically. Especially if
the suggested implementation involves messing with rpm idea of installed
files, and also make information access more complex for users as myself
who prefer to read plain old documentation files manually.
This kind of context-dependant logic should better get implemented in
the installer rather than individual packages. And even in that case,
the added value of a technical solution someone will have to maintain
over a simple remark in flashplayer plugin package documentation is
discussable.
--
BOFH excuse #62:
need to wrap system in aluminum foil to fix problem
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010958.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement
</A></li>
<LI>Next message: <A HREF="010985.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10980">[ date ]</a>
<a href="thread.html#10980">[ thread ]</a>
<a href="subject.html#10980">[ subject ]</a>
<a href="author.html#10980">[ 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>
|