lp:~smoser/simplestreams

Owned by Scott Moser
Get this repository:
git clone https://git.launchpad.net/~smoser/simplestreams
Only Scott Moser can upload to this repository. If you are Scott Moser please log in for upload directions.

Branches

Name Last Modified Last Commit
cleanup/drop-tox-trusty-flake8 2019-01-07 20:06:35 UTC
Do not run flake8 during 'make test', remove 'trusty-flake8' tox env.

Author: Scott Moser
Author Date: 2019-01-07 19:56:10 UTC

Do not run flake8 during 'make test', remove 'trusty-flake8' tox env.

Previously 'make test' would run flake8. That meant that during
a package build a flake8 failure would cause package failure.

We do not really care about flake8 errors (primarily style) at that
point. Rather, upstream has picked versions of
flake8, pycodestyle, and pyflakes that it will ensure code is good with.

Along that same line, there is no need for the tox 'trusty-flake8'
environment which was present to catch those errors before a package
build on trusty.

The changes here mean that 'make test' won't run flake8. Note,
make can still be explicitly invoked with 'flake8' target.

ubuntu/devel 2019-01-07 19:41:39 UTC
update changelog

Author: Scott Moser
Author Date: 2019-01-07 19:41:39 UTC

update changelog

fix/fix-install-deps 2018-11-09 15:43:27 UTC
tools/install-deps: install enough deps for ./tools/build-deb to work.

Author: Scott Moser
Author Date: 2018-11-09 14:58:52 UTC

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.

ubuntu/trusty 2018-10-31 20:39:36 UTC
Add debian/README.source

Author: Scott Moser
Author Date: 2018-10-31 20:10:58 UTC

Add debian/README.source

master 2018-10-31 19:00:52 UTC
validate_image: Fix python2 i386 error, and show value in ValueError.

Author: Scott Moser
Author Date: 2018-10-31 19:00:52 UTC

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.

fix/python2-i386-validate_image 2018-10-31 18:45:02 UTC
validate_image: Fix python2 i386 error, change to TypeError, show value.

Author: Scott Moser
Author Date: 2018-10-31 18:28:44 UTC

validate_image: Fix python2 i386 error, change to TypeError, show value.

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.

Also change here to make this a TypeError that is raised.

feature/update-packaging 2018-10-31 16:26:32 UTC
lintian: fix lintian warnings and errors.

Author: Scott Moser
Author Date: 2018-10-31 15:54:35 UTC

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

bug/1790904 2018-10-30 21:09:00 UTC
Additional changes.

Author: Scott Moser
Author Date: 2018-10-30 21:09:00 UTC

Additional changes.

 - when calling glance.v1.create with size, pass in an integer rather
   than a string. code review shows that glance internally will convert
   to a string, but it makes more sense as an int.
 - download_image: change to return always return integer for size
   and md5sum for md5. If hook is not called, then md5 may not be
   checked and is just copied through. size is fixed.
 - adapt_source_entry: will contain a string for the size.
   this is generally consistent with other places that write strings
   to 'size' field in sstream data, although clients should not expect
   that.
 - validate_image: take a 'delete' flag and default to True.
   this makes testing easier. enforce that size is an integer.
 - tests: make a better FakeGlanceImages that stores things and deletes
   them.

bug/1790904-glance-v2 2018-10-30 21:09:00 UTC
Additional changes.

Author: Scott Moser
Author Date: 2018-10-30 21:09:00 UTC

Additional changes.

 - when calling glance.v1.create with size, pass in an integer rather
   than a string. code review shows that glance internally will convert
   to a string, but it makes more sense as an int.
 - download_image: change to return always return integer for size
   and md5sum for md5. If hook is not called, then md5 may not be
   checked and is just copied through. size is fixed.
 - adapt_source_entry: will contain a string for the size.
   this is generally consistent with other places that write strings
   to 'size' field in sstream data, although clients should not expect
   that.
 - validate_image: take a 'delete' flag and default to True.
   this makes testing easier. enforce that size is an integer.
 - tests: make a better FakeGlanceImages that stores things and deletes
   them.

fix/install-deps-apt-proxy 2018-07-26 16:51:19 UTC
tools/install-deps: respect proxy vars when calling apt.

Author: Scott Moser
Author Date: 2018-07-25 14:47:14 UTC

tools/install-deps: respect proxy vars when calling apt.

If this tool is called by non-root, it will sudo to call apt-get.
The change here is to respect (and pass along) http_proxy variables
to sudo when they are set.

fix/tools-install-deps-apt-update 2018-07-17 20:03:11 UTC
tools: fix bug in install-deps that stopped apt-get update from running.

Author: Scott Moser
Author Date: 2018-07-17 20:03:11 UTC

tools: fix bug in install-deps that stopped apt-get update from running.

Logic or shell bug in tools/install-deps meant that 'apt-get update'
was never run before installing packages.

feature/move-tools-to-git 2018-06-25 16:48:29 UTC
Move tools to git.

Author: Scott Moser
Author Date: 2018-06-25 16:38:28 UTC

Move tools to git.

This is just a replacement of bzr usage in tools/ with git.

112 of 12 results
This repository contains Public information 
Everyone can see this information.

Subscribers