Bug 41804

Summary: Docker Migration: Apps need to be able to ignore Docker versions
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: requate
Version: UCS 4.1   
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Feature Request 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):
Max CVSS v3 score:

Description Dirk Wiesenthal univentionstaff 2016-07-15 13:01:31 CEST
For Apps that have a Docker version and a non-Docker version, but the Docker version is just containerized without any migration logic, there needs to be the possibility to not install the Docker version.

This should be the case for every App currently installed and for every App uninstalled in the future: Only a non-Docker version is available for installation.

Fresh installations should install Docker, though.
Comment 1 Dirk Wiesenthal univentionstaff 2016-07-15 17:15:35 CEST
univention-appcenter 5.0.21-21.193.201607151611

All currently installed Apps get
  appcenter/prudence/docker/$appid=yes

All non-Docker Apps that are installed get it.
All non-Docker Apps that are uninstalled get it.

All Docker Apps that are installed unset it.

Docker Apps need
DockerMigrationWorks=True

Docker Apps are filtered from the App Center Gallery when appcenter/prudence/docker/$appid=yes
Comment 2 Arvid Requate univentionstaff 2016-07-19 17:34:52 CEST
Verified:

* Marking of installed apps with appcenter/prudence/docker/$appid=yes - Ok

* Deinstallation & Reinstallation - Ok, message:

  Using dudle=1.0.1-1 instead of dudle=1.1.0-1 because docker is to be ignored

* Resilience against mischievous tinkering - Ok:
  ucr unset appcenter/prudence/docker/dudle; univention-app remove dudle
  => The UCR variable gets set again on uninstallation

* Apps marked as "DockerMigrationWorks: Ok" are shown as updatable
* Apps marked as "DockerMigrationWorks: Ok" are updatable

* Advisory: Ok
Comment 3 Janek Walkenhorst univentionstaff 2016-07-21 15:16:25 CEST
<http://errata.software-univention.de/ucs/4.1/218.html>