~wgrant/snapcraft/+git/github:colcon-strip-env

Last commit made on 2020-08-26
Get this branch:
git clone -b colcon-strip-env https://git.launchpad.net/~wgrant/snapcraft/+git/github

Branch merges

Branch information

Name:
colcon-strip-env
Repository:
lp:~wgrant/snapcraft/+git/github

Recent commits

845c0b0... by Chris Patterson

colcon v2 plugin: don't strip env for stage-runtime-dependencies

HTTP proxy settings are being lost.

- Remove the `-i` argument to `env`, there are no longer variables
  that must be filtered, allow all of the build-time environment
  variables through. This will include http(s)_proxy once the
  run scripts include it (shipped separately).

- Remove parameters to `stage-runtime-dependencies` which can just
  be picked up from the environment now, after removing `-i` from
  `env`.

- Remove PATH from env list as it no longer needs to be passed
  through explicitly, it is in the run script.

Signed-off-by: Chris Patterson <email address hidden>

c23eda2... by Chris Patterson

requirements: pin setuptools devel requirement (#3261)

Signed-off-by: Chris Patterson <email address hidden>

7c50ed2... by Chris Patterson

tools: update setuptools in environment-setup (#3260)

Signed-off-by: Chris Patterson <email address hidden>

31731cc... by Chris Patterson

plugins v2: use repo.Repo not repo.Ubuntu in colcon (#3257)

References to repo.Ubuntu break on non-Ubuntu systems on import.

Signed-off-by: Chris Patterson <email address hidden>

fbd93aa... by Chris Patterson

build providers: honour http proxy settings for snapd (#3251)

Configure snapd with the proxy settings configured by the user
for http_proxy and https_proxy. Do this on each launch so
that any changes in configuration passed are applied.

Update env-passthrough tests to use developer debug and
enable experimental extensions now that http proxy affects
snapd operation.

Signed-off-by: Chris Patterson <email address hidden>

f9019e4... by Chris Patterson

remote build: use requests.get() instead of urlopen() (#3255)

A step towards standardizing on requests library.

When combined with PR #3252:
Fixes SNAPCRAFT-1ZK

Signed-off-by: Chris Patterson <email address hidden>

6a4aa6f... by Chris Patterson

snapcraft: use system certificates by default for https requests (#3252)

The `requests` library relies on `certifi` library for CA
certificates, unless the use overrides REQUESTS_CA_BUNDLE
environment variable to point to a different certificate
bundle.

Since there is no way for the user to tell certifi to use
the host certificates, unless using the OS distribution
patched package), have snapcraft always set
REQUESTS_CA_BUNDLE to the host SSL certificates, if they
exist in the usual Debian/Ubuntu location.

Log the setting to debug.

Note that this approach does allow the user to override
this default setting of REQUESTS_CA_BUNDLE with their own.

Signed-off-by: Chris Patterson <email address hidden>

Co-authored-by: Sergio Schvezov <email address hidden>

3ff97cf... by Sergio Schvezov

cli: implement list-tracks (#3250)

Signed-off-by: Sergio Schvezov <email address hidden>

a97fb5c... by Chris Patterson

tests: restrict colcon / ros2-foxy test to amd64 & arm64 (#3254)

Requires splitting the task yaml to its own config.

Bump test time to 30m as well because the arm64 test may take
longer than the usual 15 or so minutes.

Signed-off-by: Chris Patterson <email address hidden>

0466a26... by Chris Patterson

meta: detailed warnings for resolution of commands (#3219)

Better detail what command changes are happening and indicate why.
A little refactoring to make this possible in a fairly clean way.

Other than logging, there shouldn't be functional changes.

Signed-off-by: Chris Patterson <email address hidden>