~oddbloke/simplestreams/+git/simplestreams:ssgit

Last commit made on 2018-12-04
Get this branch:
git clone -b ssgit https://git.launchpad.net/~oddbloke/simplestreams/+git/simplestreams
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Branch information

Recent commits

de85bea... 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

b658624... by Scott Moser

Update packaging to include python3-simplestreams-openstack.

The python3-simplestreams-openstack package will include the
sstream-mirror-glance.

c9170f0... by Scott Moser

update sstream-mirror-glance to python3

179c7ed... by Scott Moser

Move sstream-mirror-glance from tools/ to bin/.

This executable will now be shipped via setup.py and ultimately as part of
python3-simplestreams-openstack.

There is a script wrapper added in tools/sstream-mirror-glance that will
print a warning, but allow any callers from that path to continue to work.

efb19f3... by David Ames

glance: Support Glance version 2.

OpenStack at Rocky has removed glance v1 entirely. V2 has been around
for some time.

This change updates simplestreams to use glance v2 when "non-legacy"
versions of the clients are used.

LP: #1790904

c883862... by Dan Watkins

Start indexing reintroduced bionic root.tar.xz (and manifest)

The root.tar.xz file has been brought back.

LP: #1585233