summaryrefslogtreecommitdiff
path: root/packages/bddeb
AgeCommit message (Collapse)Author
2016-11-03Add coverage dependency to bddeb to fix package build.Scott Moser
When we added coverage to test-requirements, we need to add the mapping to package name. Without it there, bddeb complains that it cannot translate the dependency. Note, though, that the Makefile does not invoke nose with coverage. So we don't actually use that dependency.
2016-08-31bddeb: add --release flag to specify the release in changelog.Scott Moser
./packages/bddeb --release=xenial that will get you a changelog with Distribution of xenial rather than UNRELEASED.
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-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-03packages/bddeb: copy all files in packages/debian/Scott Moser
just copy all the files that are there. makes adding files easier.
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-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-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-23Modernise packaging, and allow multiple init system installation (based on ↵Dimitri John Ledkov
smoser pastebins).
2014-07-21add package info for bddeb/brpmScott Moser
2014-01-17more boto removal. move httpretty from 'Requires'Scott Moser
the Requires would get that string rendered into the package's Depends/Requires (rather than BuildDepends/BuildRequires). We should have BuildDepends/BuildRequires too, but since trunk's package builds do not run 'make test', this isn't a big deal. This also adds 'test-requires' for httpretty.
2013-12-13packages/bddeb: accept python-json-patch or python-jsonpatchScott Moser
debian bug 717916 renames python-json-patch to python-jsonpatch, so ubuntu cloud-images with cloud-init may not have python-json-patch. Just accept either one.
2013-09-25bddeb: depend on cloud-utils or cloud-guest-utilsScott Moser
saucy split cloud-utils into cloud-guest-utils and cloud-image-utils. The former is in the cloud image, the latter is not, and we actually need it for growpart which is in the former.
2013-07-29add 'pyserial' to bddeb and bdrpmScott Moser
2013-07-25add debian init scriptsScott Moser
These are debian's init scripts as taken from their trunk svn as of today. Thanks Juerg.
2013-07-25add --init-sytem to ./packages/bddebScott Moser
this way you can now do ./package/bddeb --init-system=sysvinit_deb
2013-07-24update dependencies for jsonpatchScott Moser
2013-03-26fix brpm and bddeb by knowing about 'python-requests'Scott Moser
2013-02-20Added arguments to packages/bddeb:Vlastimil Holer
-d pass through '-d' to debuild --no-cloud-utils don't depend on cloud-utils package (default: False) These are essential for building on Debian 6, because there are no python-mocker (build dependency) and cloud-utils (install dependency) in squeeze and squeeze-backports.
2012-11-13Even when using boto < 2.6 force the unlazying to occurScott Moser
It seems like its possible that boto 2.5.2 and below have the lazy loading metadata dictionary so as a precaution we will always take the hit of unlazying the metadata dictionary by traversing it which in the non-lazy dictionary case has no effect (its marginal). This also removes the need to check the boto version and the dependency on setup tools just for this case.
2012-11-13add dependency for 'pkg_resources'Scott Moser
2012-11-13sort PKG_MP entriesScott Moser
2012-07-16packages/bddeb: support building source packageScott Moser
This does a few things: * changes bddeb to copying out all files created during builddeb. * link to .dsc file * remove the '--no-sign' flag, replace that by '-us -uc' command line args * also know about debuild flag '-S'.
2012-07-16packages/bddeb: fix pep8 warnings. no other changes.Scott Moser
2012-07-10debian packaging: use X.Y.Z~bzrREVNO rather than X.Y.Z~REVNOScott Moser
The ubuntu packaging uses ~bzrREVNO, just be more like that.
2012-07-09Revert back to using cheetah + adjust resultant code + templatesJoshua Harlow
At this point there is a mixture of "double hash" cheetah comments and '#*' cheetah comments.
2012-07-09Get the debian package building working again.Joshua Harlow
Also, remove the pre-processing of debian/rules. instead use an environment variable. To build with sysvinit: $ INIT_SYSTEM=sysvinit ./packages/bddeb Note, debuild does complain with several errors on sysvinit building at the moment. Primarily about package installing into /etc/init.d.
2012-07-09rework packaging tools to find the right cloud-init topdirJoshua Harlow
This also fixes 'brpm' to address --init-system change that smoser made to setup.py before the large 'rework' merge.
2012-07-06Reworking these to look attempt to find the right parent directory, as well Joshua Harlow
as adjustments due to sysvinit rename.
2012-07-06setup.py: rename "daemon type" to "init system"Scott Moser
This brings with it other changes, and also makes an install install all of the requisite init files. (ie, cloud-init needs the -local and the non-local)
2012-07-041. Make the debian rules file a template (and pass in the daemon-type)Joshua Harlow
2. Adjust the bddeb to pass this in (as well as other output statement being added) 3. Adjust make-tarball to only archive the bzr versioned files (using --recursive)
2012-06-29packages/bddeb: fix broken bddebScott Moser
needed to import glob, and use os.symlink, not util.symlink. Also, here made the 'tar' verbose. if '-v' option given.
2012-06-29Add in the linking of the _all.deb with a symlink 'cloud-init_all.deb'Joshua Harlow
2012-06-261. Add 'verbose' options to both.Joshua Harlow
2. Fixup the debian building after util changes
2012-06-26Shrink these down by using the cloudinit utils.Joshua Harlow
2012-06-25Get these working again after the subdirectory and outputJoshua Harlow
format changes.
2012-06-25Get the new builddeb working and fix the rules fileJoshua Harlow
2012-06-25Coverting this to use the python utilsJoshua Harlow
2012-06-25Use move and not util copyJoshua Harlow
2012-06-25Use the new version extraction tool to get the current active version.Joshua Harlow
2012-06-251. Moving around the packages dir.Joshua Harlow
2. Adjusting the bddep shell script 3. Starting to add a brpm