Commit Graph

24 Commits (al_master)

Author SHA1 Message Date
Haibo Lin 3c72755814 Use pytest instead of nosetests
Nose has been in maintenance mode for the past several years
and pytest is a good replacement.

Other changes:
- Replace deprecated assertRegexpMatches with assertRegex
- Replace deprecated assertRaisesRegexp with assertRaisesRegex
- Replace deprecated SafeConfigParser with ConfigParser
- Force reinstall pytest and mock in tox virtualenv. This is because
  the globally installed packages may not work as expected(occured in
  jenkins job).

Signed-off-by: Haibo Lin <>
3 years ago
Lubomír Sedlář 2f05a71c61 Allow customizing nosetests command
In some environments there may not be a version of the command without a
version. In such case it's quite convenient to be able to specify what
is the actual name of the nosetests command.

Signed-off-by: Lubomír Sedlář <>
4 years ago
Lubomír Sedlář 90c60f8e64 Add script to orchestrate multiple composes
It may make sense to break a big compose into smaller chunks that can be
done independently. This script allows describing the smaller parts,
runs them with correct dependencies and arranges the result to look like
a single big compose.

All parts use the same koji event, that is either obtained from Koji, or
from command line argument.

Signed-off-by: Lubomír Sedlář <>
5 years ago
Lubomír Sedlář d3a2ceb8ce Extract only first version from specfile
When tagging a new version, rpm will give us the version twice, one for
main package and one for the -utils subpackage. We should only use the
first one (they should be the same anyway).

Signed-off-by: Lubomír Sedlář <>
7 years ago
Lubomír Sedlář d898f00d33 Create git tags without release
For upstream releases we should not need that level of granularity,
major.minor.patch version should be enough. This change will make the
tags simpler for consumers especially by removing the dist tag that adds
no value whatsoever.

Fixes: #407
Signed-off-by: Lubomír Sedlář <>
7 years ago
Lubomír Sedlář 5534fda192 Allow arbitrary arguments in make test
This can be helpful to enable additional nose plugin.

Signed-off-by: Lubomír Sedlář <>
7 years ago
Lubomír Sedlář 44d6f7d708 Update makefile targets for testing
Signed-off-by: Lubomír Sedlář <>
8 years ago
Daniel Mach a3d46f5393 Rewrite documentation to Sphinx. 8 years ago
Daniel Mach 81e935fe0e Fix test data, improve Makefile.
Previous test data was insufficient for proper testing.
Test compose runs and depsolving tests require precisely
set NVRs, dependencies, sub-packages, etc.
Using rpmfluff for these would be an overkill, it's better
to create RPMs directly from specs.
8 years ago
Daniel Mach f5c6d44000 Initial changes for Pungi 4.0. 9 years ago
Daniel Mach 03efbfd62b Add 'make log' command to print changelog for spec. 10 years ago
Jesse Keating ff70fea3ed Remove the MANIFEST file so that it gets created fresh each time 15 years ago
Jesse Keating 2688d1c397 Fix the Changelog target 15 years ago
Jesse Keating 2ddaea50a9 Fix output message from make archive, we do tar.bz2 not gz. 16 years ago
Jesse Keating 4b69164797 Update Makefile for git. Remove changelog, create it from git. 16 years ago
Jesse Keating 6d0d5e5839 prep for dist.
Use bzip2 (so trac can see it)
16 years ago
Jesse Keating d98fe83e7a Be verbose about what we clean 16 years ago
Jesse Keating 20d68be58d Add a install target to make (Trac #37) 17 years ago 8fa5b7eb85 Add a release target 17 years ago 64970b214c Merged in changes from Will 17 years ago 5d46c0c53b merge from jesse's branch 17 years ago 384608a671 Fix the makefile to not tag when making srpm
Add things to the changelog
17 years ago
jkeating@localhost.localdomain 0832f65fce New Make targets 17 years ago ccbd9bac63 Add a spec file and a make file to deal with it 17 years ago