Carl Xiong schrieb:
On Fri, 09 Sep 2016 21:05:22 +0800, Ludwig Nussel
wrote: The release notes pages on doc.opensuse.org are created by an old shell script¹ by downloading rpms and extracting them in a directory. After switching from fetching only released packages to ones directly created from github² the script now confuses packages from different distributions. So e.g. the 42.1 page actually displays 42.2³.
Hi, I'd like to help improve the script.
However, after I took a close look at the script, I reached the conclusion that the script has no serious issue. The "confusion" for 'openSUSE_Leap_42.1' is not the script's fault but the corrupted state of the build repo at 'Documentation:Auto/openSUSE_Leap_42.1'.
See [1], there 'release-notes-openSUSE-42.2.20160728.e297df1-4.1.noarch.rpm' is still listed. The script downloads package through API link like 'https://api.opensuse.org/build/Documentation:Auto/openSUSE_Leap_42.1/x86_64/...' [2], which seems to point to the package with the _largest_ release number. In Leap42.1 case, it sees '42.2.*' larger than any '41.1.*'. So I believe refreshing/rebuilding the build repo would resolve the problem. The 42.2.* package might be some residual from transitions.
You are right. Looks like the 42.2 release notes were accidentally built for 42.1 once and then got build disabled. The old binaries were still floating around though. Wipebinaries helped. Thanks! cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org