Disallowing specific subiquity snap revisions makes repeatable builds impossible

Bug #1937923 reported by Matt Simmons
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

I'm attempting to build a repeatable ISO creation process, however the configuration of the subiquity snapcraft repo is preventing me from pulling a specific version:

root@msimmons-z4:~# snap --version
snap 2.48.3
snapd 2.48.3
series 16
ubuntu 16.04
kernel 4.4.0-53-generic

root@msimmons-z4:~# snap download subiquity
Fetching snap "subiquity"
Fetching assertions for "subiquity"
Install the snap with:
   snap ack subiquity_2501.assert
   snap install subiquity_2501.snap

root@msimmons-z4:~# snap download --revision 2501 subiquity
Fetching snap "subiquity"
error: cannot download snap "subiquity": Access by specifying a revision is not allowed for this Snap.

Can we please allow specific revision downloads? It doesn't seem particularly harmful, unless there is an infrastructure issue in Snapcraft I'm unaware of.

Thanks,

--Matt

Revision history for this message
Dan Bungert (dbungert) wrote :

Hi Matt,

I went looking and I don't seem to have a checkbox that would enable that.
This forum posting doesn't sound promising.
https://forum.snapcraft.io/t/cannot-refresh-remmina-access-by-specifying-a-revision-is-not-allowed-for-this-snap/9177/3

This page has links to snap builds, but only recent ones. Maybe something with this can be usable.
https://code.launchpad.net/~canonical-foundations/+snap/subiquity

I'll think about if we can do something here.

-Dan

Revision history for this message
Matt Simmons (matthew-simmons) wrote :

Thanks very much for looking into this, Dan. I wasn't aware that it was an upstream issue like that. Maybe I'll raise a bug with them to enable this for users (or at least to make it admin-configurable).

Appreciate your time!

--Matt

Revision history for this message
Matt Simmons (matthew-simmons) wrote :

I don't know if it will go anywhere, but I filed this today:

https://forum.snapcraft.io/t/feature-request-enable-owners-to-permit-users-to-pull-specific-snap-versions/25688

Thank you again!

--Matt

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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