New Snap & Snap configuration page has weird confusing settings about Core 16 and Bionic for Core 16 which make no sense.

Bug #1856998 reported by Dimitri John Ledkov
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Unassigned

Bug Description

When I create a new snap, or configure snap settings, it has weird confusing options about "Ubuntu Core 16" and "Bionic".

They are unrelated to base/build-base, or modern snapcraft.snap based builds.

Colin Watson (cjwatson)
tags: added: lp-snappy
Revision history for this message
Michael Vogt (mvo) wrote :

Given how close 20.04 is and that people are building snaps for UC20 with "core20" as the base, could we enable the UI for this now?

Revision history for this message
Colin Watson (cjwatson) wrote :

"Ubuntu Core 16" is a misnomer here; it really refers to `series: 16`. We indeed need to fix this at some point (it dates from the early days of snaps when `series` was expected to change), but as far as I know it doesn't block building `base: core20` snaps on Launchpad; just leave it set to the default and things should work. If it doesn't, let us know.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can this please be actioned now? I would like to have "Focal" available in the radio button on /+snap page. and Snapcraft has many plugins ported to support core20 by now too. (the most popular ones).

Revision history for this message
Colin Watson (cjwatson) wrote :

Dimitri, did you read my comment #2? This cannot be "actioned" because it doesn't actually make sense ...

Revision history for this message
Colin Watson (cjwatson) wrote :

To be clear: what we can do is fix the UI so that it stops implying that this actually has anything to do with the core/core18/core20/etc. base that you're building for, including removing obsolete series and fixing the naming to make sense in the modern snap ecosystem. But we won't add focal/core20 to this list, because `base: core20` in your snapcraft.yaml is all you need for that. This bit of configuration in Launchpad is a relic of earlier days, and is irrelevant for modern snaps. Extending it with newer data would be misleading, and would be the wrong direction for us to go in.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

AAAAAAAAA

Yes, the dreaded "series: 16". Right, the UI makes no sense at all! Because when I am creating the snap, it shows that piece of ui, which it really should not. Maybe like collapse it or something? Or even hide it from the UI, and allow setting/changing it from the UI only?.

summary: - Please add focal distro_series in radio buttons on the snap pages
+ New Snap & Snap configuration page has weird confusing settings about
+ Core 16 and Bionic for Core 16 which make no sense.
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I've now opened https://bugs.launchpad.net/launchpad/+bug/1876389 hopefully my expectations / usecase is clear there. Simply doing /+newsnap on a modern snapcraft base/build-base:core20 snap.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

> allow setting/changing it from the UI only?

allow setting/changing it via the _API_ only?

tags: added: confusing-ui
Revision history for this message
Ondrej Kubik (ondrak) wrote :

Is there any plan to fix this?

Or we can file bug that choosing "Ubuntu Core 16" does not run build on UC16 instance, as this would imply considering other options there :)

Colin Watson (cjwatson)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I know see this:

Series:
 Infer from snapcraft.yaml (recommended)
 Ubuntu Bionic
 Ubuntu Artful
 Ubuntu Zesty
 Ubuntu Yakkety
 Ubuntu Xenial

Which I like a lot! So i guess this is fixed?

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.