1 |
Zac Medico wrote: |
2 |
> Vlastimil Babka wrote: |
3 |
>> The question is what to do now, rename it? Users will then see it again, |
4 |
>> and I don't know if there are even worse consequences. |
5 |
> |
6 |
> AFAIK, seeing it again is the worst that will happen. The cvs -> |
7 |
> rsync script will ensure that the incorrectly named new item is |
8 |
> deleted on the rsync side after it's removed from cvs. |
9 |
|
10 |
Hi, |
11 |
|
12 |
unfortunately this is what happens in current eselect-news. |
13 |
|
14 |
# eselect news list |
15 |
Unread news items: |
16 |
(none found) |
17 |
Read news items: |
18 |
2009-04-18-java-config-wrapper-0.16 |
19 |
(no title available) |
20 |
2009-04-18-java_generation1_deprecation |
21 |
Generation 1 Java Setup Deprecated |
22 |
|
23 |
# eselect news read all |
24 |
2009-04-18-java-config-wrapper-0.16 |
25 |
/usr/share/eselect/modules/news.eselect: line 92: |
26 |
/usr/portage/metadata/news/2009-04-18-java-config-wrapper-0.16/2009-04-18-java-config-wrapper-0.16.en.txt: |
27 |
No such file or directory |
28 |
|
29 |
/usr/share/eselect/modules/news.eselect: line 99: |
30 |
/usr/portage/metadata/news/2009-04-18-java-config-wrapper-0.16/2009-04-18-java-config-wrapper-0.16.en.txt: |
31 |
No such file or directory |
32 |
2009-04-18-java_generation1_deprecation |
33 |
... |
34 |
|
35 |
This is because the old entry stays in |
36 |
/var/lib/gentoo/news/news-gentoo.read |
37 |
Executing 'eselect news purge' will fix that, but obviously with the |
38 |
side effect of purging everything else :) |
39 |
|
40 |
So what to do? Fix eselect first and then do the rename? Rename now, |
41 |
recommend purge, and fix eselect later? Update GLEP 42 to allow dots in |
42 |
news item filenames? Any technical reason they are not allowed, except |
43 |
for hypothetical compatibility (nothing broken was reported due to this |
44 |
item yet). |
45 |
|
46 |
(attached is the renamed version with bumped revision and note |
47 |
explaining users that they might see this twice because it was renamed) |
48 |
|
49 |
Thanks, |
50 |
Vlastimil |