<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/packages/brpm, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2020-07-24T17:59:49+00:00</updated>
<entry>
<title>fix brpm building</title>
<updated>2020-07-24T17:59:49+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2020-07-24T17:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=456fb55744a1acc6bd2f464b7656a9c33d0b7ac5'/>
<id>urn:sha1:456fb55744a1acc6bd2f464b7656a9c33d0b7ac5</id>
<content type='text'>
tools/read-dependencies:
  - Add  parameters --build-requires, --runtime-requires
  - Sort dependency output before printing

package/brpm
  - use --build-requires, --runtime-requires to separate build/vs runtime package reqs.

LP: #1886107</content>
</entry>
<entry>
<title>Move subp into its own module. (#416)</title>
<updated>2020-06-08T16:49:12+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-06-08T16:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3c551f6ebc12f7729a2755c89b19b9000e27cc88'/>
<id>urn:sha1:3c551f6ebc12f7729a2755c89b19b9000e27cc88</id>
<content type='text'>
This was painful, but it finishes a TODO from cloudinit/subp.py.

It moves the following from util to subp:
  ProcessExecutionError
  subp
  which
  target_path

I moved subp_blob_in_tempfile into cc_chef, which is its only caller.
That saved us from having to deal with it using write_file
and temp_utils from subp (which does not import any cloudinit things now).

It is arguable that 'target_path' could be moved to a 'path_utils' or
something, but in order to use it from subp and also from utils,
we had to get it out of utils.</content>
</entry>
<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>Make the RPM build use Python 3 (#190)</title>
<updated>2020-01-24T20:12:11+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-01-24T20:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c99cfb21164b24644fec56013449b2b1e3b54fb3'/>
<id>urn:sha1:c99cfb21164b24644fec56013449b2b1e3b54fb3</id>
<content type='text'>
* packages/brpm: switch to python3

No changes needed other than changing the shebang interpreter.

* pkg-deps.json: bump the redhat build dependencies to python36

CentOS 7 (our standard target for the COPR test builds) uses python3.6
as its default python3 interpreter, so let's bump the build dependencies
accordingly.</content>
</entry>
<entry>
<title>packages/brpm: Get proper dependencies for cmdline distro.</title>
<updated>2018-05-23T19:29:09+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-05-23T19:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=32c485bdc6e1eee0ad1d92dcd633a4e7ac9ac7a6'/>
<id>urn:sha1:32c485bdc6e1eee0ad1d92dcd633a4e7ac9ac7a6</id>
<content type='text'>
When invoked with '--distro=suse', the packages that would be
attempted for installation would be from redhat.  We just were not
pasing the args.distro through.  That is fixed here.
</content>
</entry>
<entry>
<title>pkg build ci: Add make ci-deps-&lt;distro&gt; target to install pkgs</title>
<updated>2017-06-14T02:13:34+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-06-07T23:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=744e648eaf6325758282ef23bffcc4194faa6bac'/>
<id>urn:sha1:744e648eaf6325758282ef23bffcc4194faa6bac</id>
<content type='text'>
This change adds a couple of makefile targets for ci environments to
install all necessary dependencies for package builds and test runs.

It adds a number of arguments to ./tools/read-dependencies to facilitate
reading pip dependencies, translating pip deps to system package names and
optionally installing needed system-package dependencies on the local
system. This relocates all package dependency and translation logic into
./tools/read-dependencies instead of duplication found in packages/brpm
and packages/bddeb.

In this branch, we also define buildrequires as including all runtime
requires when rendering cloud-init.spec.in and debian/control files
because our package build infrastructure will also be running all unit
test during the package build process so we need runtime deps at build
time.

Additionally, this branch converts
packages/(redhat|suse)/cloud-init.spec.in from cheetah templates to jinja
to allow building python3 envs.
</content>
</entry>
<entry>
<title>For upstream snapshot versions do not modify git-describe output.</title>
<updated>2016-08-08T21:52:24+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2016-08-08T17:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=48ec60ae19c749223cb58dcbdbf0ecb7343f2a31'/>
<id>urn:sha1:48ec60ae19c749223cb58dcbdbf0ecb7343f2a31</id>
<content type='text'>
For upstream version directly use the output of git-describe
(X.Y.Z-number.gHASH) rather than rather than changing it to
(X.Y.Z+number.gHASH).

The rpm version does not allow '-' in Version, so we create and use
rpm_upstream_version in the rpm spec file.  That is of format:
X.Y.Z+number.gHASH
</content>
</entry>
<entry>
<title>adjust tools and version information.</title>
<updated>2016-08-05T19:00:12+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2016-08-05T15:56:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=10f82bd474c5bc91b330beccd883da06b0014a99'/>
<id>urn:sha1:10f82bd474c5bc91b330beccd883da06b0014a99</id>
<content type='text'>
upstream snapshots are versioned in the format 'X.Y.Z+&lt;distance&gt;.g&lt;commit&gt;'
where X.Y.Z are major, minor, and micro.  Distance is number of commits
since last annotated tag, and commit is the git commit.

bddeb and brpm will now create and use the "upstream version" like above.

Things changed here:
 - tools/make-tarball
   update cloudinit/version.py to contain the full version
   support --output
   support '--long' to always create the long format version string.

 - bddeb:
   - use quilt debian source format
   - use read-version and long version in changelog.

 - brpm:
   - change to use read-version and upstream long version in the spec.
   - flake8 changes

 - tools/read-version
   - read version from git or from cloudinit/version.
   - provide --json output with more nicely formed data.
</content>
</entry>
<entry>
<title>Update build tools to work with git</title>
<updated>2016-08-03T20:00:52+00:00</updated>
<author>
<name>Lars Kellogg-Stedman</name>
<email>lars@redhat.com</email>
</author>
<published>2016-07-22T19:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=72d6adcb2e4cb5911f7809b89835965d4bf04476'/>
<id>urn:sha1:72d6adcb2e4cb5911f7809b89835965d4bf04476</id>
<content type='text'>
- Update HACKING.rst to include git instructions
- update MANIFEST.in and .gitignore to ignore git-related things
- replaced tarball generation scripts with git-based script
- have the spec files correctly identify themselves as cheetah templates
- make brpm work with git
</content>
</entry>
<entry>
<title>Avoid depending on argparse in 2.7 or greater</title>
<updated>2016-07-15T18:48:25+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2016-07-15T18:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=35b902c05711c8637999ad3fb72d5e04aae36dad'/>
<id>urn:sha1:35b902c05711c8637999ad3fb72d5e04aae36dad</id>
<content type='text'>
Its not needed since its a built-in for these
versions so we can just skip it for any newer
rpm building in the first place.

LP: #1603533</content>
</entry>
</feed>
