1 |
On 01/07/2013 05:35 PM, Michael Mol wrote: |
2 |
> On Sun, Jan 6, 2013 at 8:54 PM, Zac Medico <zmedico@g.o> wrote: |
3 |
>> On 01/06/2013 05:36 PM, Michael Mol wrote: |
4 |
>>> |
5 |
>>> On Jan 6, 2013 8:32 PM, "Zac Medico" <zmedico@g.o |
6 |
>>> <mailto:zmedico@g.o>> wrote: |
7 |
>>>> |
8 |
>>>> On 01/06/2013 01:04 AM, Ralph Sennhauser wrote: |
9 |
>>>>> On Fri, 4 Jan 2013 23:34:59 -0600 |
10 |
>>>>> Donnie Berkholz <dberkholz@g.o <mailto:dberkholz@g.o>> |
11 |
>>> wrote: |
12 |
>>>>> |
13 |
>>>>>> On 10:26 Sat 22 Dec , Pacho Ramos wrote: |
14 |
>>>>>>> Hello |
15 |
>>>>>>> |
16 |
>>>>>>> After seeing: |
17 |
>>>>>>> https://bugs.gentoo.org/show_bug.cgi?id=440214 |
18 |
>>>>>>> |
19 |
>>>>>>> Looking to a lot of its blockers shows that we are using "elog" |
20 |
>>>>>>> messages for informing people about configuration (like pointing |
21 |
>>>>>>> people to external links to get proper way of configuring things, |
22 |
>>>>>>> tell them to add to some system groups...). I thought that maybe |
23 |
>>>>>>> this kind of information could be simply included in a canonical |
24 |
>>>>>>> file under /usr/share/doc/ package dir called, for example, |
25 |
>>>>>>> CONFIGURATION or SETUP. We would them point people (now with a news |
26 |
>>>>>>> item, for the long term provably a note to handbook to newcomers |
27 |
>>>>>>> would be nice) to that file to configure their setups. The main |
28 |
>>>>>>> advantages I see: |
29 |
>>>>>>> - We will flood less summary.log ;) |
30 |
>>>>>>> - The information to configure the package is always present while |
31 |
>>>>>>> package is installed, now, if we remove merge produced logs, people |
32 |
>>>>>>> will need to reemerge the package or read directly the ebuild |
33 |
>>>>>>> |
34 |
>>>>>>> What do you think? |
35 |
>>>>>> |
36 |
>>>>>> Bikeshedding ... would go with README.gentoo, because people are |
37 |
>>>>>> already used to looking for README files. Every time we can eliminate |
38 |
>>>>>> Gentoo-specific weirdness, we should. |
39 |
>>>>>> |
40 |
>>>>> |
41 |
>>>>> See the documentation for README.Debian[1], most importantly the |
42 |
>>>>> example. ;) |
43 |
>>>>> |
44 |
>>>>> I'd say we should handle it the same as Debian does. |
45 |
>>>> |
46 |
>>>> README.gentoo sounds good to me. |
47 |
>>>> |
48 |
>>>>> What could we possibly gain from doing it differently? |
49 |
>>>> |
50 |
>>>> Does Debian have a postinst message, like the proposed eclass would |
51 |
>>>> generate? Do you agree that a postinst message is desirable feature? |
52 |
>>>> |
53 |
>>>>> [1] http://www.debian.org/doc/manuals/maint-guide/dother.en.html#readme |
54 |
>>>>> |
55 |
>>>> -- |
56 |
>>>> Thanks, |
57 |
>>>> Zac |
58 |
>>>> |
59 |
>>> |
60 |
>>> If we had README.gentoo, I'd love it if Portage alerted me as those |
61 |
>>> files changed. |
62 |
>> |
63 |
>> Even if it's just whitespace or formatting changes? Maybe it's better to |
64 |
>> let the ebuild do version comparisons and decide whether to generate a |
65 |
>> message based on that. |
66 |
> |
67 |
> I see two solutions to that: |
68 |
> |
69 |
> 1) Define a format for the file, so that substantive difference can be |
70 |
> programmatically discerned from non-substantive differences. I don't |
71 |
> have a good proposal for a particular format. |
72 |
|
73 |
A version header that the package manager can parse, should do the trick. |
74 |
|
75 |
> 2) Make it so that an author of a README.gentoo file is well aware |
76 |
> that any change he makes will potentially annoy all his users if the |
77 |
> change isn't substantive. |
78 |
|
79 |
Frequent trivial modification should probably be avoided. OTOH, the |
80 |
maintainer should not be ashamed of making occasion small modifications, |
81 |
in order to improve the content quality. |
82 |
|
83 |
> Frankly, (2) seems entirely reasonable. And at the same time, being |
84 |
> able to look at version history for README.gentoo files would be |
85 |
> extraordinarily enlightening. |
86 |
> |
87 |
> -- |
88 |
> :wq |
89 |
> |
90 |
|
91 |
|
92 |
-- |
93 |
Thanks, |
94 |
Zac |