snap: add the https transport
Metadata
Current evaluation
Merged PR #2244 (commit 268272751) re-adds apt-transport-https to snapcraft-libs stage-packages, so snap parts can pull from external HTTPS APT sources. Fixes LP #1790819.
Resolution: closed resolved
Reason: PR #2244 was approved and merged as commit 268272751; snap/snapcraft.yaml snapcraft-libs now lists apt-transport-https, which remains present in later revisions (also re-added for build providers in #3232).
Evaluated by: mr-cal-bot
No scores available.
Issue body
All of the Ubuntu sources use http as transports, but external
entities offer https instead.
Re-adding apt-transport-https to support scenarios where developers
add custom sources through parts.
LP: #1790819
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2244 (commit 268272751) re-adds apt-transport-https to snapcraft-libs stage-packages, so snap parts can pull from external HTTPS APT sources. Fixes LP #1790819. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2244 in commit 268272751, adding apt-transport-https so snap parts can use custom external HTTPS APT sources. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to add apt-transport-https support for HTTPS sources in snapcraft parts. Approved by one reviewer, passed CI, and introduced a single line change to enable external HTTPS repository support. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added apt-transport-https support to enable HTTPS sources in snapcraft parts. Merged to resolve LP #1790819, allowing developers to use external HTTPS repositories during builds. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
snapcraft#3232
(confidence 40%)
Later commit 409b8e862 'build providers: install apt-transport-https' re-adds the same package in another context, not the original resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #581 snap: remove apt-transport-https | charmcraft | merged | Merged #581 via commit 547f89b4 (merge d085fb92), removing obsolete apt-transport-https from snap staging because apt has supported HTTPS natively since 1.5/core18. | |
| #1790819 snapcraft 2.43 snap can't access to HTTPS APT sources | snapcraft (launchpad) | closed | HTTPS APT sources failed because Snapcraft 2.43 omitted apt-transport-https. PR snapcore/snapcraft#2244 restored it in commit 268272751. |