~racb/git-ubuntu:snapcraft-regression

Last commit made on 2023-06-20
Get this branch:
git clone -b snapcraft-regression https://git.launchpad.net/~racb/git-ubuntu
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Branch information

Name:
snapcraft-regression
Repository:
lp:~racb/git-ubuntu

Recent commits

fe21a9f... by Robie Basak

snap.sh: run snapcraft with sudo

A regression in snapcraft causes it to start failing with:

    Sorry, an error occurred in Snapcraft:
    [Errno 13] Permission denied: '/etc/apt/keyrings'

We run snapcraft with --destructive-mode. Presumably it used to use
sudo.

A workaround is to just run the whole thing with sudo ourselves.

See also my upstream report:
https://github.com/snapcore/snapcraft/issues/4225

1209559... by Robie Basak

snap.sh: do not generate gpg subkeys

snapcraft regressed in that it now rejects apt signing keys that have
subkeys. This is reported upstream, but the easiest thing to do for now
is work around by not generating them. This diverges from gpg's default,
but subkeys are not needed for apt signing keys anyway.

See my upstream reports:

https://github.com/snapcore/snapcraft/issues/4224
https://github.com/canonical/craft-archives/issues/83

8f0d8e5... by Steve Langasek

Initial support for 'gu-build' wrapper that wraps dpkg-buildpackage

This should eventually become a git-ubuntu subcommand once namespace is agreed

fd5eb67... by Steve Langasek

make the gu-build exit code match that of dpkg-buildpackage

d9c71e9... by Steve Langasek

drop stray unused variable left over from development

a4debcd... by Steve Langasek

Use the dowload cache for tarballs

Passing an empty cache dir to the launchpad download method pollutes the
working directory, causing the subsequent dpkg-buildpackage to fail.
Sidestep this bug and just use the tested code path instead.

d3dd3a3... by Robie Basak

doc: add keyring

c5d9196... by Robie Basak

doc: howtos on individual pages

5d891a9... by Steve Langasek

mk-build-deps doesn't like version 0

[rbasak] This seems like a bug in mk-build-deps. Filed
https://bugs.debian.org/1037016, but committing this as a workaround.

5a87133... by Steve Langasek

Only append -v option if the target branch's version is in our changelog

Otherwise, dpkg-genchanges feeds the entirety of debian/changelog into the
changes file, which is not what we want.