Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Certbot snap to be based on Ubuntu 20.04 #7854
Comments
|
When we do this, we probably will need to update the Python version in |
|
Quick question, if installing the snap package on Ubuntu 20.04, will it stop working after you pushed the new snap core? |
|
As far as I know it shouldn't. It should seamlessly upgrade to the new snap using the new base. |
|
I started this in the core20 branch, but it failed because it seems you need snapcraft >= 4.0 which isn't in the stable channel yet. You can see the failure that occurs when trying to use an older version of snapcraft at https://travis-ci.com/github/certbot/certbot/builds/166993202. We could update to the candidate channel and remember to downgrade later, but it seems easiest to me to just wait a bit if we can. Also, when resolving this issue, we should remember to update the snap-plugin branch with the same changes including updating |
Here we define the base image of the Certbot snap to be
core18which is based on Ubuntu 18.04.Probably the single most problematic part of packaging Certbot as a snap is going to be when we have to change the base snap in the future which may require all externally packaged plugins to have to upgrade in order to continue to work. More details about this can be found at https://docs.google.com/document/d/1OB5WCDz2mBMgRvtnvo4FSjWHPBDlt1NpccJ5sNrhWIw/edit?usp=sharing.
To delay these problems for as long as possible, I think we should be using the
core20image based on Ubuntu 20.04 before we publish a stable Certbot snap. I think we may want to consider doing this before adding support for external plugins (see #7667), but I think that'll depend on the state of thecore20snap and Ubuntu 20.04. Apparently, it already exists, but I'm not sure how stable it is yet. SeeWe should probably look into the state of things with
core20more when we go to work on this issue.