<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/packages/debian/rules.in, branch rolling</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2020-05-02T00:57:24+00:00</updated>
<entry>
<title>Adapt the package building scripts to use Python 3 (#231)</title>
<updated>2020-05-02T00:57:24+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-05-02T00:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=4d2684848722cb2d469ad4fa60999bf81cf7056e'/>
<id>urn:sha1:4d2684848722cb2d469ad4fa60999bf81cf7056e</id>
<content type='text'>
Since upstream cloud-init has dropped python2 support,
adapt remaining package build scripts and tools to python3 only

Changes:

* Do not template debian/rules as python3 is the only supported version
* Drop six from requirements.txt
* Makefile: drop everything related to Python 2
* run-container: install the CI deps only on ubuntu|debian
* read-version: update the shebang to use Python 3
* brpm: read_dependencies(): drop unused argument
* read-dependencies: switch to Py3 and drop the --python-version option
* pkg-deps.json: drop the Python version field and update the redhat deps
* pkg-deps.json: drop the unittest2 and contextlib2 renames
* Update RPM the spec file to use Python 3 when building the RPM
* bddeb: drop support for Python 2</content>
</entry>
<entry>
<title>Update version.version_string to contain packaged version.</title>
<updated>2018-05-22T20:06:41+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-05-22T20:06:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5446c788160412189200c6cc688b14c9f9071943'/>
<id>urn:sha1:5446c788160412189200c6cc688b14c9f9071943</id>
<content type='text'>
This modifies version.version_string to support having the package
build write the *packaged* version in with a easy replace.
Then, when cloud-init reports its version it will include the full
packaged version.

Also modified here are upstream package build files to get that done.

Note part of the trickery in packages/debian/rules.in was to avoid
the 'basic' templater consuming the '$variable' variable names.

LP: #1770712
</content>
</entry>
<entry>
<title>cmdline: add collect-logs subcommand.</title>
<updated>2017-09-15T19:46:02+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-09-12T16:27:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=e626966ee7d339b53d2c8b14a8f2ff8e3fe892ee'/>
<id>urn:sha1:e626966ee7d339b53d2c8b14a8f2ff8e3fe892ee</id>
<content type='text'>
Add a new collect-logs sub command to the cloud-init CLI. This script
will collect all logs pertinent to a cloud-init run and store them in a
compressed tar-gzipped file. This tarfile can be attached to any
cloud-init bug filed in order to aid in bug triage and resolution.

A cloudinit.apport module is also added that allows apport interaction.
Here is an example bug filed via ubuntu-bug cloud-init: LP: #1716975.

Once the apport launcher is packaged in cloud-init, bugs can be filed
against cloud-init with the following command:
  ubuntu-bug cloud-init

LP: #1607345
</content>
</entry>
<entry>
<title>upstart: do not package upstart jobs, drop ubuntu-init-switch module.</title>
<updated>2017-09-01T02:01:57+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-09-01T02:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fa266bf8818a08e37cd32a603d076ba2db300124'/>
<id>urn:sha1:fa266bf8818a08e37cd32a603d076ba2db300124</id>
<content type='text'>
The ubuntu-init-switch module allowed the use to launch an instance that
was booted with upstart and have it switch its init system to systemd and
then reboot itself. It was only useful for the time period when Ubuntu was
transitioning to systemd but only produced images using upstart.

Also, do not run setup with --init-system=upstart. This means that by
default, debian packages built with packages/bddeb will not have upstart
unit files included. No other removal is done here.
</content>
</entry>
<entry>
<title>Add profile.d script for showing warnings on login.</title>
<updated>2017-03-03T03:03:54+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-02-28T21:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=33518d7d62493c7d00e3792146399c9572abe915'/>
<id>urn:sha1:33518d7d62493c7d00e3792146399c9572abe915</id>
<content type='text'>
Z99-cloudinit-warnings.sh can be dropped into /etc/profile.d.
Warnings that are written to /var/lib/cloud/instance/warnings
will be displayed to the user on stderr when they log in.
</content>
</entry>
<entry>
<title>Z99-cloud-locale-test.sh: install and make consistent.</title>
<updated>2017-03-02T21:36:10+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-02-28T21:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=ce63e63d7aaf900bac4339503c5d79ff3bd03d18'/>
<id>urn:sha1:ce63e63d7aaf900bac4339503c5d79ff3bd03d18</id>
<content type='text'>
Modify upstream packaging to install this file, which was
already installed in ubuntu packaging.

Also, white space changes from tabs to spaces.  Very few things
in cloud-init are tabs now.

Lastly, remove the executable bit on this as ait is not necessary.
Scripts in /etc/profile.d do not have executable bit.
</content>
</entry>
<entry>
<title>drop modification of version during make-tarball, tools changes.</title>
<updated>2016-08-05T20:53:53+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2016-08-05T19:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=42bed116b411eb25ebd8368b2b4ed6c56ffd85e7'/>
<id>urn:sha1:42bed116b411eb25ebd8368b2b4ed6c56ffd85e7</id>
<content type='text'>
Modification of the tarball became problematic, as it meant that
any tool extracting source would find the orig source tarball different.
I found this unusable when trying to use 'gbp buildpackage'.

Other changes here are to better support using python3 or python2
for the build.  Makefile will try to call the right python version
and can be told which python to use.

read-version: by adding 'tiny_p' and avoiding the import of
cloudinit.util, we need less dependencies to run this.
</content>
</entry>
<entry>
<title>Apply pep8, pyflakes fixes for python2 and 3</title>
<updated>2016-03-04T06:45:58+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-04T06:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8092805079d011093724d87e9485e5bf79479a72'/>
<id>urn:sha1:8092805079d011093724d87e9485e5bf79479a72</id>
<content type='text'>
Update make check target to run pep8 and run pyflakes or pyflakes3
depending on the value of 'PYVER'.  This way the python3 build
environment does not need python2 and vice versa.

Also have make check run the 'yaml' test.

tox:  have tox run pep8 in the pyflakes
</content>
</entry>
<entry>
<title>fix packages/debian/rules.in</title>
<updated>2016-03-04T05:34:37+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-04T05:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=9b0cbf54a90d2434e2a93e34664646ee8638fc97'/>
<id>urn:sha1:9b0cbf54a90d2434e2a93e34664646ee8638fc97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tab in rules</title>
<updated>2016-03-04T05:18:51+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-04T05:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=ea5ffb88f2d3b5f55699955520012596de1d8af5'/>
<id>urn:sha1:ea5ffb88f2d3b5f55699955520012596de1d8af5</id>
<content type='text'>
</content>
</entry>
</feed>
