implement a devel switch somewhere for the updater
Closed, ResolvedPublic

Description

current upgrading requires editing the update-manager config to set a completely different host. this is super questionable from a security POV but what's more is also not entirely representative of how the actual final upgrade will work. it'd be better if we utilized the existing "devel" series system in update-manager to allow pre-release upgrades to bionic. this could still be enabled through some config file, so long as it isn't in /etc and not from update-manager.

e.g. in /etc it is a debian recognized config and triggers debconf config handling nonesense, which is not ideal

++ this also needs the openqa test adjusted to use the new procedure

sitter created this task.Aug 8 2018, 1:44 PM
sitter triaged this task as Normal priority.
sitter updated the task description. (Show Details)
sitter moved this task from Backlog to Doing on the KDE Neon : bionic board.Aug 27 2018, 2:42 PM
sitter added a comment.EditedAug 27 2018, 2:44 PM

https://cgit.kde.org/websites/releases-neon-kde-org.git/commit/?id=e8206da04e5a984e0db5c3fa4a06659142d478dc

This now should work without changes to any

The qdbus called we'll wrap in a simple helper which I think should be called neon-upgrade-preview which simply prompts the devel enablement. Due to neon branding I think I'll put that in the packaging. Although we could also have it in the source and configure the branding prefix via cmake. Somewhat indifferent but maintaining the wrapper in the packaging is certainly easiest. Pending until someone gives some more input I guess.

Also, openqa is broken so fully concluding the landing of this feature is blocked as well :S

(I've also realized that technically we could hide this usedevel switch behind a cmdline option of the notifier itself. This would however require implementing a unique dbusservice via kdbusaddons which I don't fancy doing since I find the branded neon-upgrade-preview script name much nicer than some random cmdline argument)

sitter closed this task as Resolved.Aug 29 2018, 12:43 PM
sitter claimed this task.

also openqa'd now