summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)Author
2016-08-05adjust tools and version information.Scott Moser
upstream snapshots are versioned in the format 'X.Y.Z+<distance>.g<commit>' 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.
2016-08-03Update build tools to work with gitLars Kellogg-Stedman
- 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
2016-07-15Avoid depending on argparse in 2.7 or greaterJoshua Harlow
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
2016-06-30Fixs missing/unpacked rpm filesJoshua Harlow
These new files were not getting picked up during packaging (and they need to, otherwise rpm building fails). - 66-azure-ephemeral.rules - cloud-init-generator
2016-06-10Refactor a large part of the networking code.Joshua Harlow
Splits off distro specific code into specific files so that other kinds of networking configuration can be written by the various distro(s) that cloud-init supports. It also isolates some of the cloudinit.net code so that it can be more easily used on its own (and incorporated into other projects such as curtin). During this process it adds tests so that the net process can be tested (to some level) so that the format conversion processes can be tested going forward.
2016-06-10Add unittest2 to builder listJoshua Harlow
2016-06-07allow others to sign dsc with --signuser for packages/bddebChristian Ehrhardt
2016-05-25packages/bddeb: fix to know about packages flake8 and hackingScott Moser
2016-03-18debian packaging: adjust build-depends for xenialScott Moser
python3 support was moved out of pyflakes into python3-pyflakes. Adjust the package to build on trusty where python3-pyflakes was not present and also on xenial where it is. Note, this does mean that sbuild now requires '--resolve-alternatives'. That is how it is used on launchpad but is not the default in sbuild.
2016-03-04Apply pep8, pyflakes fixes for python2 and 3Scott Moser
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
2016-03-04fix packages/debian/rules.inScott Moser
2016-03-04fix tab in rulesScott Moser
2016-03-04remove debug set -xScott Moser
2016-03-04postinst/preinst: cleanup old multi-user.target enabled filesScott Moser
also, actually enable the services. now this will have them enabled in the cloud-init.target.
2016-03-03packages/bddeb: copy all files in packages/debian/Scott Moser
just copy all the files that are there. makes adding files easier.
2016-03-03support nocheck in building.Scott Moser
2016-03-03packages/debian: make trunk packaging closer to ubuntuScott Moser
The big difference is using: ${python3:Depends} or ${python:Depends} rather than explicitly listing the dependencies (via template ${requires}). which means we get paths of /usr/lib/python3/dist-packages/.. rather than /usr/lib/python3.5/dist-packages/.. when built on xenial. Additionally it seems we no longer need this strange line. # Because setup tools didn't copy data...
2016-03-03make package build run testsScott Moser
2015-07-22mounts: support reliably detecting and using Azure ephemeral disksScott Moser
Azure's ephemeral disks are not guaranteed to be assigned the same name by the kernel every boot. This causes problems on ~2% of Azure instances, and can be fixed by using udev rules to give us a deterministic path to mount; this patch introduces those udev rules and modifies the Azure data source to use them. Changes to a couple of config modules were also required. In some places, they just needed to learn to dereference symlinks. In cc_mounts this wasn't sufficient because the dereferenced device would have been put in /etc/fstab (rather defeating the point of using the udev rules in the first place). A fairly hefty refactor was required to separate "is this a valid block device?" from "what shall I put in fstab?". LP: #1411582
2015-07-22packages/debian/control.in: add depends on iproute2Scott Moser
tests (specifically DataSourceOpenNebula) runs 'ip' which comes from iproute2.
2015-07-21Add udev rules for Azure ephemeral disks.Daniel Watkins
And install them in the Debian packaging.
2015-06-05packages/debian/control.in: mention recommends of gdiskScott Moser
some of the partitioning code in 'disk_setup' module needs sgdisk. In the future that could move to using sfdisk also but for now we do need sgdisk for this.
2015-05-19packages/brpm: fix for oauth library nameScott Moser
brpm was broken when change from oauth to oauthlib.
2015-04-08Correcting the pkg-name to 'oauthlib' from 'oauth'Surojit Pathak
'make rpm' for 'redhat' distro was failing, as the requirement for dependency was not found, otherwise.
2015-03-03packages/debian: move software-properties-common to recommends, add eatmydataScott Moser
2015-02-10make bddeb work with python3 or python2Scott Moser
painful, and not perfect, but at this point the output builds on a vivid system python2 (bddeb --python2) or python3. * remove use of cheetah by bddeb in favor of builtin renderer * add '--python2' flag to bddeb and knowledge of python 2 and python3 package names. * read-dependencies can now read test-requirements also. * differenciate from build-requirements and runtime requirements.
2015-02-09fix copyright messageScott Moser
2015-01-21Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
2014-11-25Update with trunk and resolve conflictsJoshua Harlow
2014-10-17Use TODO.rst instead of removing itJoshua Harlow
2014-10-17Ensure the files/dirs are retainedJoshua Harlow
2014-10-17More spec file tweaksJoshua Harlow
- Use _libexecdir for the helper binaries - Use _sharedstatedir instead of /var/lib - Ensure _libexecdir/${name} exists
2014-10-17Include the systemd config filesJoshua Harlow
2014-10-13Show the spec file contentJoshua Harlow
2014-10-13Fix the rpm building (currently broken)Joshua Harlow
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-07-24test: make selinux test skipped if selinux not available.Scott Moser
Also, in debian packaging depend on it (so it wont skip there).
2014-07-24remove duplicate entry in control.inScott Moser
2014-07-24merge from trunkScott Moser
2014-07-24bddeb: do not sign by defaultScott Moser
instead of making the common use case need to pass '-us -uc', make the less common use case pass '--sign'.
2014-07-24default bddeb to building both systemd and upstartScott Moser
2014-07-24Yeah, tests pass now.Dimitri John Ledkov
2014-07-23moreDimitri John Ledkov
2014-07-23use override targetsDimitri John Ledkov
2014-07-23Use nosetests and absolute importsDimitri John Ledkov
2014-07-23Use testsDimitri John Ledkov
2014-07-23fix upDimitri John Ledkov
2014-07-23fix upsDimitri John Ledkov
2014-07-23Modernise packaging, and allow multiple init system installation (based on ↵Dimitri John Ledkov
smoser pastebins).
2014-07-21add package info for bddeb/brpmScott Moser