Commit Graph

29 Commits

Author SHA1 Message Date
Alexander Todorov
959589652b Execute bash tests for composer-cli
these are built on top of beakerlib and we use its internal
protocol to figure out the result without relying on the full
test runner that is tipically used inside of a RHEL environment!

Includes a disabled test snippet for Issue #460
2018-10-02 22:52:57 +02:00
Will Woods
10f2cde6bc Add etc/bash_completion.d/composer-cli
Here's a bash_completion file for composer-cli! It completes known
commands, subcommands, and flags, plus arguments to flags that take
arguments, and if you've got write access to the socket it'll also
autocomplete:

* source names for commands that need source names
* blueprint names for commands that take blueprint names
* compose uuids for commands that take compose uuids
  * intelligently only suggests appropriate uuids - e.g. only
    suggests uuids of running composes for "compose cancel"

NOTE: bash completion scripts are horrible and this is no exception.
Please forgive me.
2018-08-07 12:12:17 -07:00
Brian C. Lane
e7f9028fca Move lorax-composer and composer-cli argument parsing into modules
This allows sphinx-argparse to document them automatically.
2018-05-17 10:34:35 -07:00
Brian C. Lane
fb58277028 Add composer-cli and tests 2018-05-17 10:34:34 -07:00
Brian C. Lane
25e12f1971 Remove bin and sbin from nose
They are not packages and cannot be imported.
2018-05-17 10:34:34 -07:00
Alexander Todorov
5ab23e6567 Enable testing in Travis and collecting of coverage history
(cherry picked from commit 88139bcc03)
2018-05-16 10:52:39 -07:00
Brian C. Lane
fe83f251df make docs now also builds html
(cherry picked from commit 2ed8b7f86e)
2018-03-15 13:50:12 -07:00
Brian C. Lane
b3eb4fa8a4 Run the pylorax tests with 'make test'
Without a specific test directory it wasn't running the test(s), just
doing a coverage report.
2018-01-17 09:38:16 -08:00
Alexander Todorov
419b79e886 Add make test target and update .gitignore
also submit coverage report to Coveralls.io if environment is
configured
2017-10-13 18:58:17 +03:00
Brian C. Lane
e12f6b8ede Use Sphinx to generate manpages
Use make -C docs man to regenerate the manpages in docs/man/
2016-03-21 14:21:56 -07:00
Chris Lumens
a127bef9d7 Add a new makefile target that does everything needed for jenkins.
We should have as much of the logic of how the CI tests are run in source
control as possible, so that's what this target is for.  Besides this, jenkins
just runs a "git clean" first.
2015-07-21 16:24:21 -04:00
Brian C. Lane
7827ba112c Update spec for python3 and add subpackages for lmc
This updates things for python3, and adds 2 subpackages to pull in
dependencies needed by lmc when running with virt-install or --no-virt
with anaconda.
2015-05-15 17:11:20 -07:00
Brian C. Lane
1a92b1b05e Convert to using pocketlint for pylint rules
Also cleanup some warnings.
2015-05-15 17:11:20 -07:00
Brian C. Lane
f40dadf9be Added Sphinx Documentation
Run 'make docs' to update the apidocs.

Also moves the README.livemedia-creator and README.product into docs
as ReST documents. They will be installed in /usr/share/doc/lorax/
by the rpm package.
2015-04-09 09:29:56 -07:00
Brian C. Lane
c12c5f1e47 Add pylint testing
This adds pylint testing via make check, using the framework from
Anaconda. False positives can be added to
./tests/pylint/pylint-false-positives
2014-05-09 08:10:41 -07:00
Brian C. Lane
f90200348b Add a dist target that copies the archive to fedorahosted 2013-08-01 10:00:09 -07:00
Brian C. Lane
f9d06d42a5 Add manpage for lorax 2013-07-26 15:38:29 -07:00
Brian C. Lane
ff23dcb162 Add manpage for livemedia-creator 2013-07-26 15:37:52 -07:00
Brian C. Lane
14fa40556c Stop using /usr/bin/env (#987028) 2013-07-24 13:41:03 -07:00
Brian C. Lane
e87151c00e Change Makefile to produce .tgz 2013-02-28 12:11:05 -08:00
Brian C. Lane
7ba9fb4f16 New Version 19.0 2013-02-28 11:55:29 -08:00
Will Woods
94ff38ccfa give version.py its own makefile rule and .gitignore line 2011-10-24 19:01:21 -04:00
Martin Gracik
73fc20b165 Write the lorax verion in the .buildstamp (#689697)
(cherry picked from commit 4271e0fc02)

Conflicts:
	src/pylorax/buildstamp.py

Signed-off-by: Will Woods <wwoods@redhat.com>
2011-10-24 16:07:25 -04:00
Martin Gracik
3528812a3a Makefile updates 2010-12-08 14:16:13 +01:00
Martin Gracik
9c533a517f Update Makefile 2010-12-02 13:36:22 +01:00
Martin Gracik
e22457b09a Various initrd updates 2010-10-19 17:35:50 +02:00
Martin Gracik
45c5ef566c Experimental single initrd image 2010-10-12 18:32:35 +02:00
Martin Gracik
a4c638f132 New version 2010-02-23 14:20:05 +01:00
David Cantrell
5623014506 Write Makefile and correct problems in setup.py. 2008-10-04 19:51:17 -10:00