~ajkavanagh/simplestreams:bug/1802407

Last commit made on 2019-01-07
Get this branch:
git clone -b bug/1802407 https://git.launchpad.net/~ajkavanagh/simplestreams
Only Alex Kavanagh can upload to this branch. If you are Alex Kavanagh please log in for upload directions.

Branch merges

Branch information

Name:
bug/1802407
Repository:
lp:~ajkavanagh/simplestreams

Recent commits

2423d4d... by Alex Kavanagh

Update tests following review comments

c9d83b3... by Alex Kavanagh

Add tests for the changes made to add SSL to the keystone auth

5d1cda9... by Alex Kavanagh

Add .tox to .gitignore

fb56cd0... by Alex Kavanagh

Add SSL support to simplestreams/openstack.py

This change enables the openstack integration to connect to https
OpenStack endpoints by using the OS_CACERT environement variable.

LP: #1802407

21c5bba... by Dan Watkins

Add 'ubuntu' alias to CURRENT_LTS.

This indicates the best "ubuntu" option available to users if they have
no other preference.

3122a85... by Dan Watkins

tenv: Put topdir/bin before topdir/tools in PATH

This means that the bin/sstream-mirror-glance Python script (rather than
the tools/sstream-mirror-glance shell script that redirects to the
Python script) comes first in PATH.

693795b... by Scott Moser

tools/install-deps: install enough deps for ./tools/build-deb to work.

Basic goal here is to have this work:
   ./tools/install-deps build && ./tools/build-deb

Changes:
a.) fix a bug parsing debian/control (it would miss 'debhelper')
b.) install fakeroot explicitly, otherwise 'debuild' wont work.
c.) install with --no-install-recommends. This just gets less stuff
    and means we're more explicit about dependencies.
d.) write the command being executed for 'apt-get install' to stderr.

d7c0f48... by Scott Moser

packaging: Fix to collect sstream-mirror-glance from usr/bin, not bin.

sstream-mirror-glance was being put into /bin rather than /usr/bin.
The other executables (sstream-mirror and such) are in /usr/bin.

6e9a452... by Scott Moser

validate_image: Fix python2 i386 error, and show value in ValueError.

On python 2 and i386 (32 bit), os.stat will return a long.
There, we see that:
   isinstance(os.path.getsize("/etc/passwd"), int) == False
Where as on python 3 or 64 bit arch, the above is True.

That would cause validate_image to raise a ValueError and tests to fail.

43f845c... by Scott Moser

lintian: fix lintian warnings and errors.

 - package-uses-deprecated-debhelper-compat-version: change to 9
   9 is what is in 16.04 (and 12.04), so stick with that for now.
 - build-depends-on-build-essential-package-without-using-version:
   drop the make dependency.
 - ancient-python-version-field: no need to specify X-python-version
   or X-python3-version any more.
 - ancient-standards-version: move debian/control Standards-Version to 4.2.1
 - priority-extra-is-replaced-by-priority-optional:
   replace extra with optional