Bug 30261 - repository/online/unmaintained should activate unmaintained for errata component
repository/online/unmaintained should activate unmaintained for errata component
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.1-1
Assigned To: Philipp Hahn
Stefan Gohmann
:
: 30606 (view as bug list)
Depends on:
Blocks: 30606
  Show dependency treegraph
 
Reported: 2013-02-04 08:55 CET by Janis Meybohm
Modified: 2013-03-25 19:56 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): API change, Cleanup, Troubleshooting, Usability
Max CVSS v3 score:


Attachments
Deprecate u/r/o/c/*/parts in favor of only */unmaintained UNTESTED (22.94 KB, patch)
2013-02-27 15:25 CET, Philipp Hahn
Details | Diff
Deprecate u/r/o/c/*/parts in favor of only */unmaintained BASIC TESTED (24.90 KB, patch)
2013-02-27 17:15 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2013-02-04 08:55:08 CET
"ucr set repository/online/unmaintained=yes" should also activate "repository/online/component/3.1-0-errata/unmaintained=yes"
Comment 1 Ingo Steuwer univentionstaff 2013-02-12 21:32:55 CET
stumbled here too; "repository/online/component/3.1-0-errata/unmaintained=yes" is even not registered/defined in ucr by default.
Comment 2 Ingo Steuwer univentionstaff 2013-02-12 21:35:59 CET
(In reply to comment #1)
> stumbled here too; "repository/online/component/3.1-0-errata/unmaintained=yes"
> is even not registered/defined in ucr by default.

uhm... "ucr set repository/online/component/3.1-0-errata/unmaintained=yes" doesn't work for me. Had to edit /etc/apt/sources.list.d/20_ucs-online-component.list manually?
Comment 3 Stefan Gohmann univentionstaff 2013-02-12 21:39:17 CET
(In reply to comment #2)
> (In reply to comment #1)
> > stumbled here too; "repository/online/component/3.1-0-errata/unmaintained=yes"
> > is even not registered/defined in ucr by default.
> 
> uhm... "ucr set repository/online/component/3.1-0-errata/unmaintained=yes"
> doesn't work for me. Had to edit
> /etc/apt/sources.list.d/20_ucs-online-component.list manually?

Try:
 ucr set repository/online/component/3.1-0-errata/parts="maintained,unmaintained"
Comment 4 Stefan Gohmann univentionstaff 2013-02-14 21:21:02 CET
This should be fixed with the next updater erratum.
Comment 5 Philipp Hahn univentionstaff 2013-02-27 15:25:28 CET
Created attachment 5099 [details]
Deprecate u/r/o/c/*/parts in favor of only */unmaintained UNTESTED

For 3.1-1 repository/online/component/*/parts will be deprecated in favor of repository/online/component/*/unmaintained, which will explicitly include the unmaintained section.

repository/online/maintained will be removed.

repository/online/unmaintained will also include unmaintained for components.


 base/univention-updater/debian/changelog                                                     |    2 
 base/univention-updater/debian/univention-updater.postinst                                   |    1 
 base/univention-updater/debian/univention-updater.univention-config-registry                 |    2 
 base/univention-updater/debian/univention-updater.univention-config-registry-variables       |   95 +++++++++-
 base/univention-updater/modules/univention/updater/tools.py                                  |   24 +-
 management/univention-management-console-module-appcenter/debian/changelog                   |    7 
 management/univention-management-console-module-appcenter/umc/js/appcenter/DetailsPage.js    |    8 
 management/univention-management-console-module-appcenter/umc/js/appcenter/SettingsPage.js   |    6 
 management/univention-management-console-module-appcenter/umc/js/de.po                       |    7 
 management/univention-management-console-module-appcenter/umc/python/appcenter/__init__.py   |    1 
 management/univention-management-console-module-appcenter/umc/python/appcenter/constants.py  |    3 
 management/univention-management-console-module-appcenter/umc/python/appcenter/sanitizers.py |    2 
 management/univention-management-console-module-appcenter/umc/python/appcenter/util.py       |   29 ---
 test/ucs-test/tests/09_updater/31maintained                                                  |    2 
 test/ucs-test/tests/09_updater/40component-unmaintained                                      |    2 
 15 files changed, 126 insertions(+), 65 deletions(-)
Comment 6 Philipp Hahn univentionstaff 2013-02-27 17:15:49 CET
Created attachment 5100 [details]
Deprecate u/r/o/c/*/parts in favor of only */unmaintained BASIC TESTED

Added conversion from parts to unmaintained
Fixed some UCRV descriptions
Fixed %s/component in URL.
Run regression test
Comment 7 Philipp Hahn univentionstaff 2013-02-27 18:09:20 CET
unmaintained is included when repository/online/unmaintained=yes or
repository/online/component/*/unmaintained=yes.
repository/online/maintained was removed.
repository/online/component/*/parts is automatically converted to
.../unmaintained on upgrades.

3.1-1: svn39294+39295
 univention-updater_8.0.68-1.1159.201302271755
 univention-management-console-module-appcenter_2.0.128-1.98.201302271805
 ucs-test -NOT BUILD-

ChangeLog: svn16608+16609
\item The \ucsUCRV{repository/online/maintained} has been deprecated and is now
enabled by default. The \ucsUCRV{repository/online/component/*/parts} has been
deprecated in favor of the new
\ucsUCRV{repository/online/component/*/unmaintained}, which can be used to
explicitly includes the unmaintained section of the package; the default is
inherited from \ucsUCRV{repository/online/unmaintained} (\ucsBug{30261}).
Comment 8 Stefan Gohmann univentionstaff 2013-02-27 20:52:26 CET
*** Bug 30606 has been marked as a duplicate of this bug. ***
Comment 9 Philipp Hahn univentionstaff 2013-03-19 09:37:38 CET
The changes was broken: Instead of processing the component parts, the global setting was used.

svn39684, univention-updater_8.0.77-1.1171.201303190934
ChangeLog: ±0
Comment 10 Stefan Gohmann univentionstaff 2013-03-19 15:22:01 CET
Tests Update: OK

Tests 3.1-1 Installation: OK

Changelog: OK
Comment 11 Stefan Gohmann univentionstaff 2013-03-25 19:56:59 CET
UCS 3.1-1 has been released: 
 http://download.univention.de/doc/release-notes-3.1-1_en.pdf
 http://download.univention.de/doc/release-notes-3.1-1.pdf

If this error occurs again, please use "Clone This Bug".