Commit Graph

241 Commits

Author SHA1 Message Date
Lubomír Sedlář
6aede5be20 Require newer python-productmd 2017-01-18 15:14:14 +01:00
Lubomír Sedlář
b7b404a6e0 New upstream release 4.1.12 2017-01-18 14:42:22 +01:00
Lubomír Sedlář
e0249a029f Add patches for koji kerberos auth 2016-12-14 14:07:50 +01:00
Lubomír Sedlář
6f72597677 Backport patches for ostree installer
* Expose lorax's rootfs-size argument
 * Use dvd-ostree as type in metadata
2016-12-08 08:59:47 +01:00
Lubomír Sedlář
6db0406068 Add missing dependency on libguestfs-tools-c
also remove patches applied to tarball.
2016-11-21 08:09:38 +01:00
Lubomír Sedlář
a3ac81a977 Escape % sign in changelog
to silence rpmlint complaining about macro-in-%changelog.
2016-11-16 10:16:19 +01:00
Lubomír Sedlář
39a95b7f87 Simplify running tests
There is no need to run the tests both by setup.py and nose: it just
runs the same tests twice. Also, generating coverage data is useless and
it will not be visible anywhere anyway. This allows us to get rid of one
build requires.

Also we should first run unittests and only then build the data for
dummy compose: if the tests fail, we get the info earlier.
2016-11-16 10:15:40 +01:00
Lubomír Sedlář
2a2ed408b8 Backport upstream patches to fix running tests 2016-11-16 10:15:40 +01:00
Dennis Gilmore
2142ad1c05 add BR on tex(color.cfg)
rawhide split up things in texlive again. we need to add an extra BR

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-11-15 17:38:15 -06:00
Dennis Gilmore
1b20dce0c1 [ostree] Allow extra repos to get packages for composing OSTree repository
(qwan)
- pungi: Run in-process for testing (lsedlar)
- pungi: Only add logger once (lsedlar)
- pungi: Connect yum callback to logger (lsedlar)
- extra-files: Nice error message on missing RPM (lsedlar)
- compose: Drop unused argument (lsedlar)
- compose: Search all nested variants (lsedlar)
- ostree-installer: Capture all lorax logs (lsedlar)
- lorax-wrapper: Put all log files into compose logs (lsedlar)
- pungi: Fix reading multilib config files (lsedlar)
- pungi: Fulltree should not apply for input multilib package (lsedlar)
- pungi: Add tests for depsolving (lsedlar)
- Update ostree phase documentation (lsedlar)
- [ostree] Allow adding versioning metadata (qwan)
  (lubomir.sedlar)
- [ostree] New option to enable generating ostree summary file (qwan)
- pungi: Avoid removing from list (lsedlar)
- pungi: Allow globs in %multilib-whitelist (dmach)
- pungi: Exclude RPMs that are in lookaside (dmach)
- pungi: Fix excluding SRPMs (dmach)
- pungi: Speed up blacklist processing (dmach)
- Update tests to use ostree write-commit-id (puiterwijk)
- ostree: Use the write-commitid-to feature rather than parsing ostree logs
  (puiterwijk)
- checks: Check for createrepo_c (lsedlar)
- checks: Update tests to not require python modules (lsedlar)
- Remove executable permissions on test scripts (puiterwijk)
- Add more require checks (puiterwijk)
- Fix package name for createrepo and mergerepo (puiterwijk)
- not using 'git -C path' which is not supported by git 1.x (qwan)
- pungi-koji: add option for not creating latest symbol link (qwan)
- Replace mount/umount with guestfsmount and 'fusermount -u' (qwan)
- config: Don't abort on deprecated options (lsedlar)
- metadata: Treeinfo should point to packages and repo (lsedlar)
- Send notification when compose fails to start (lsedlar)
- metadata: Stop crashing for non-bootable products (lsedlar)
- createiso: Do not split bootable media (lsedlar)
- doc: Fix a typo in progress notification example (lsedlar)
- Dump images.json after checksumming (lsedlar)
- metadata: Correctly clone buildinstall .treeinfo (lsedlar)
- createiso: Include layered product name in iso name (lsedlar)
- buildinstall: Only transform arch for lorax (lsedlar)
- iso-wrapper: Remove the class (lsedlar)
- config: Validate variant regular expressions (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-11-15 15:19:30 -06:00
Dennis Gilmore
020f1c9a88 pungi: Replace kickstart repo url (mark)
- ostree-installer: Reduce duplication in tests (lsedlar)
- ostree-installer: Generate correct volume ID (lsedlar)
- ostree-installer: Use ostree as type in filename (lsedlar)
- ostree: Use $basearch in repo file (lsedlar)
- config: Accept empty branch in SCM dict (lsedlar)
- Remove duplicated version from pungi script (lsedlar)
- use --new-chroot when making ostree's (dennis)
- Create git tags without release (lsedlar)
- Translate paths without double slash (lsedlar)
- Remove shebangs from non-executable files (lsedlar)
- Remove FSF address from comments (lsedlar)
- Update contributing guide (lsedlar)
- init: Remove keep_original_comps option (lsedlar)
- tests: Use unittest2 consistently (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-10-08 12:22:54 -05:00
Dennis Gilmore
d4fd082b9e add patch to enable use of --new-chroot for ostree tasks
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-29 09:27:04 -05:00
Lubomír Sedlář
99d8f1f309 Install man page as non-executable 2016-09-22 12:22:21 +02:00
Lubomír Sedlář
e72a0377cc Update upstream url
The tarballs are now hosted on Pagure.
2016-09-22 12:22:03 +02:00
Lubomír Sedlář
f2c6aeb93c Fix bogus dates in changelog
based on when the commits were made.
2016-09-22 12:21:04 +02:00
Dennis Gilmore
03ec580854 ostree_installer: Add --isfinal lorax argument (lsedlar)
- Recreate JSON dump of configuration (lsedlar)
- Merge #385 `Test and clean up pungi.linker` (dennis)
- Merge #390 `checksums: Never skip checksumming phase` (dennis)
- variants: Allow multiple explicit optional variants (lsedlar)
- checksums: Never skip checksumming phase (lsedlar)
- [linker] Remove dead code (lsedlar)
- [linker] Add tests (lsedlar)
- Dump original pungi conf (cqi)
- ostree: Add tests for sending ostree messages (lsedlar)
- Send fedmsg message on ostree compose finishg (puiterwijk)
- createrepo: Add option to use xz compression (lsedlar)
- Allow user to set a ~/.pungirc for some defaults (riehecky)
- metadata: Improve error reporting on failed checksum (lsedlar)
- extra-files: Write a metadata file enumerating extra files (jeremy)
- Merge #381 `Automatically generate missing image version` (dennis)
- Automatically generate missing image version (lsedlar)
- Add JSON Schema for configuration (lsedlar)
- Allow arbitrary arguments in make test (lsedlar)
- createiso: Report nice error when tag does not exist (lsedlar)
- Fix test data build script (lsedlar)
- [osbs] Add NVRA of created image into main log (lsedlar)
- [createiso] Remove unused script (lsedlar)
- Update doc about generating release value (lsedlar)
- Use label to populate image release (lsedlar)
- doc: Fix example for image_build (lsedlar)
- Ignore module imports not at top of file (lsedlar)
- Merge #367 `Remove unused imports` (dennis)
- [buildinstall] Fix cleaning output dir (lsedlar)
- Remove unused imports (lsedlar)
- Merge #360 `[osbs] Convert build_id to int` (dennis)
- Merge #361 `Fix config validation script` (dennis)
- Merge #365 `Make image test at end of compose less strict` (dennis)
- [test] Make image test at end of compose less strict (lsedlar)
- [iso] Fix check on failable ISO (lsedlar)
- Add full Pungi version to log output (lsedlar)
- Fix config validation script (lsedlar)
- [osbs] Convert build_id to int (lsedlar)
- [image-build] Get failable config from correct place (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-21 08:12:29 -05:00
Dennis Gilmore
a27fef4233 add missing BR
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-08-10 08:36:02 -05:00
Dennis Gilmore
5dca89821c the python3 script is now gone
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-08-10 07:56:04 -05:00
Dennis Gilmore
2eae39e3c9 [createiso] Use shell script for runroot (lsedlar)
- Merge #357 `Improve error messages for gathering packages` (dennis)
- [test] Only check bootability for images on x86_64 and i386 (lsedlar)
- Improve error messages for gathering packages (lsedlar)
- Merge #339 `Refactor failables, step 1` (dennis)
- Refactor failables (lsedlar)
- Stop setting release in OSBS phase (lsedlar)
- Merge #351 `Remove ambiguous imports` (dennis)
- [test] Correctly check bootable ISOs (lsedlar)
- Remove ambiguous imports (lsedlar)
- Merge #347 `Remove duplicate definition of find_old_composes.`
  (lubomir.sedlar)
- Merge #342 `Simplify naming format placeholders` (dennis)
- Merge #345 `createrepo: use separate logs for different pkg_type` (dennis)
- Remove duplicate definition of find_old_composes... (rbean)
- [createrepo] fix 'createrepo_deltas' option (qwan)
- createrepo: use separate logs for different pkg_type (lsedlar)
- Simplify naming format placeholders (lsedlar)
- Treat variants without comps groups as having all of them (lsedlar)
- Always generate rpms.json file (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-08-10 07:53:09 -05:00
Fedora Release Engineering
f93b794610 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 08:24:08 +00:00
Dennis Gilmore
5d394cbcf3 [scm] Add logging for exporting local files (lsedlar)
- [extra-files] Only copy files when there is a config (lsedlar)
- [extra-files] Refactoring (lsedlar)
- [extra-files] Skip whole phase if not configured (lsedlar)
- [extra-files] Copy files using existing function (lsedlar)
- [extra-files] Add tests (lsedlar)
- [osbs] Add a phase to build images in OSBS (lsedlar)
- Setup global log file before logging anything (lsedlar)
- [metadata] Correctly save final flag (lsedlar)
- Merge #326 `add missing dependencies` (dennis)
- [createiso] Add test for adding source iso to metadata (lsedlar)
- Merge #325 `Fix checking optional ISO images in test phase` (dennis)
- Merge #321 `Add support for top-level variant IDs with dashes.` (dennis)
- Merge #320 `images.json: Move src images under binary arches.` (dennis)
- add missing dependencies (nils)
- Fix checking optional ISO images in test phase (lsedlar)
- add lxml dependency (nils)
- images.json: Move src images under binary arches. (dmach)
- Add support for top-level variant IDs with dashes. (dmach)
- Fix PYTHONPATH usage in test_compose.sh. (dmach)
- [createiso] Enable customizing media reserve (lsedlar)
- [createiso] Add test for splitting media (lsedlar)
- [media-split] Remove commented-out code (lsedlar)
- [media-split] Simplify code (lsedlar)
- [media-split] Add code documentation (lsedlar)
- [media-split] Add unit tests (lsedlar)
- Add missing documentation (lsedlar)
- [buildinstall] Fix bad error message (lsedlar)
- Merge #309 `Add compatibility for Python 2.6` (dennis)
- Merge #293 `Add tests for generating discinfo and media.repo files` (dennis)
- Merge #287 `Use koji profiles to list RPMs in buildroot` (dennis)
- [ostree-installer] Put images to os/ directory (lsedlar)
- [ostree] Rename duplicated test (lsedlar)
- [util] Use koji profile for getting RPMs from buildroot (lsedlar)
- [util] Add test for getting list of buildroot RPMs (lsedlar)
- pungi-koji: fix up latest symlink creation (dennis)
- Use unittest2 if available (lsedlar)
- Stop using str.format (lsedlar)
- Stop using functools.total_ordering (lsedlar)
- The message attribute on exception is deprecated (lsedlar)
- [ostree] Rename duplicated test (lsedlar)
- [metadata] Simplify writing media.repo (lsedlar)
- [metadata] Add test for writing media.repo (lsedlar)
- [discinfo] Use context manager for file access (lsedlar)
- [metadata] Add tests for discinfo files (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-06-23 05:18:28 -05:00
Dennis Gilmore
647d654de9 [ostree-installer] Allow using external repos as source (lsedlar)
- [image-build] Allow using external install trees (lsedlar)
- Add type to base product for layered releases (lsedlar)
- Merge #303 `[ostree] Use unique work and log paths` (dennis)
- [ostree] Use unique work and log paths (lsedlar)
- [arch] Add mock rpmUtils module (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-24 16:46:57 -05:00
Dennis Gilmore
c6de2d8114 [ostree] Put variant name in ostree log dir (lsedlar)
- Merge #294 `[ostree] Initialize empty repo` (dennis)
- [util] Resolve git+https URLs (lsedlar)
- [ostree] Initialize empty repo (lsedlar)
- [test] Add checks for created images (lsedlar)
- Fix caching global ksurl (lsedlar)
- include tests/fixtures in manifest (dennis)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 21:00:11 -05:00
Dennis Gilmore
afad477505 add patch to fix caching global ksurl
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-06 16:30:19 -05:00
Dennis Gilmore
7668cbfc4d Merge #273 Deduplicate configuration a bit (dennis)
- Merge #280 `[createrepo] Use more verbose output` (dennis)
- Merge #283 `Pungi should log when it tries to publish notifications.`
  (dennis)
- [createiso] Add back running isohybrid on x86 disk images (dennis)
- [createiso] Remove chdir() (lsedlar)
- [pkgset] Fix caching RPMs (lsedlar)
- [createrepo] Use more verbose output (lsedlar)
- Pungi should log when it tries to publish notifications. (rbean)
- [pkgset] Use context manager for opening file list (lsedlar)
- [pkgset] Add tests for writing filelists (lsedlar)
- [pkgset] Simplify finding RPM in koji buildroot (lsedlar)
- [pkgset] Clean up koji package set (lsedlar)
- [pkgset] Add test for pkgset merging (lsedlar)
- [pkgset] Add tests for KojiPackageSet (lsedlar)
- [pkgset] Clean up Koji source (lsedlar)
- [pkgset] Add tests for Koji source (lsedlar)
- Add common global settings for images (lsedlar)
- Remove duplicated and dead code (lsedlar)
- [live-media] Add check for live_media_version option (lsedlar)
- [scm-wrapper] Remove unused method (lsedlar)
- [scm-wrapper] Report when file wrapper did not match anything (lsedlar)
- [scm-wrapper] Use context manager for managing temp dir (lsedlar)
- [scm-wrapper] Reduce code duplication in RPM wrapper (lsedlar)
- [scm-wrapper] Copy files directly (lsedlar)
- [scm-wrapper] Reduce code duplication (lsedlar)
- [scm-wrapper] Add tests for SCM wrappers (lsedlar)
- [ostree] Set each repo to point to current compose (lsedlar)
- [ostree-installer] Drop filename setting (lsedlar)
- Merge #269 `Improve logging of failable deliverables` (ausil)
- [ostree-installer] Fix example documentation (lsedlar)
- Improve logging of failable deliverables (lsedlar)
- [ostree-installer] Install ostree in runroot (lsedlar)
- [pkgset] Print more detailed logs when rpm is not found (lsedlar)
- [ostree-installer] Clone repo with templates (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-29 15:39:02 -05:00
Dennis Gilmore
f90d62ae71 add patch to install ostree in the ostree_installer runroot
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-12 11:16:08 -05:00
Dennis Gilmore
16b5af4640 add patch to print more info for missing rpms
- add patch to clone repo with extra lorax templates for ostree_installer

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-11 12:27:19 -05:00
Dennis Gilmore
684d9d06eb enable the compose test (dennis)
- [ostree-installer] Copy all lorax outputs (lsedlar)
- [ostree] Log to stdout as well (lsedlar)
- [ostree-installer] Use separate directory for logs (lsedlar)
- Merge #260 `Maybe fix ostree?` (ausil)
- [ostree-installer] Put lorax output into work dir (lsedlar)
- [ostree] Add test check for modified repo baseurl (lsedlar)
- [ostree] Move cloning repo back to compose box (lsedlar)
- [ostree] Mount ostree directory in koji (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-08 08:45:42 -05:00
Dennis Gilmore
08ace13139 make sure that the shebang of pungi-pylorax-find-templates is python3
Signed-off-by: Dennis Gilmore <dennis@ra.ausil.us>
2016-04-07 16:01:12 -05:00
Dennis Gilmore
bcae962ab3 Merge #257 [ostree] Enable marking ostree phase as failable (ausil)
- [ostree] Enable marking ostree phase as failable (lsedlar)
- [koji-wrapper] Initialize wrappers sequentially (lsedlar)
- [createiso] Simplify code, test phase (lsedlar)
- [createiso] Move runroot work to separate script (lsedlar)
- [ostree] Use explicit work directory (lsedlar)
- [ostree] Rename atomic to ostree (lsedlar)
- [ostree] Move cloning config repo to chroot (lsedlar)
- [ostree] Fix call to kobo.shortcuts.run (lsedlar)
- [atomic] Stop creating the os directory (lsedlar)
- [checksum] Add arch to file name (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ra.ausil.us>
2016-04-06 18:09:58 -05:00
Dennis Gilmore
32cfa08727 add some more ostree fixes
- add a bandaid for ppc until we get a proper fix

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-05 09:53:36 -05:00
Dennis Gilmore
8b2b243206 add upstream patches for bugfixes in ostree and checksums
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-04 09:04:54 -05:00
Dennis Gilmore
adf40673ba add the missing BuildRequires
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-01 09:58:43 -05:00
Dennis Gilmore
4c3b989ea6 install scripts (dennis)
- Merge #242 `Fix wrong file permissions` (ausil)
- Add a utility to validate config (lsedlar)
- [variants] Stop printing stuff to stderr unconditionally (lsedlar)
- Fix atomic/ostree config validations (lsedlar)
- [pungi-wrapper] Remove duplicated code (lsedlar)
- [checks] Add a check for too restrictive umask (lsedlar)
- [util] Remove umask manipulation from makedirs (lsedlar)
- Merge #240 `Filter variants and architectures` (ausil)
- Filter variants and architectures (lsedlar)
- Refactor checking for failable deliverables (lsedlar)
- [buildinstall] Do not crash on failure (lsedlar)
- Reuse helper in all tests (lsedlar)
- [atomic] Add atomic_installer phase (lsedlar)
- [ostree] Add ostree phase (lsedlar)
- [atomic] Add a script to create ostree repo (lsedlar)
- Merge #232 `Improve logging by adding subvariants` (ausil)
- Add compose type to release for images (lsedlar)
- [image-build] Add traceback on failure (lsedlar)
- [image-build] Use subvariants in logging output (lsedlar)
- [live-media] Use subvariants in logging (lsedlar)
- Add tracebacks to all failable phases (lsedlar)
- ppc no longer needs magic bits in the iso (pbrobinson)
- [buildinstall] Add more debugging output (lsedlar)
- [metadata] Stop crashing on empty path from .treeinfo (lsedlar)
- [checksums] Add label to file name (lsedlar)
- [buildinstall] Use customized dvd disc type (lsedlar)
- image_build: fix subvariant handling (awilliam)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-01 09:46:57 -05:00
Dennis Gilmore
46cb8521ac upstream 4.1.0 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-11 09:38:04 -06:00
Dennis Gilmore
007f2b8312 new tarball with upstream commits for test suite and pkgset
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-10 12:39:32 -06:00
Dennis Gilmore
4be067a4cd [init] Update documentation (lsedlar)
- [init] Iterate over arches just once (lsedlar)
- [init] Remove duplicated checks for comps (lsedlar)
- [init] Break long lines (lsedlar)
- [init] Don't overwrite the same log file (lsedlar)
- [init] Add config option for keeping original comps (lsedlar)
- Add tests for the init phase (lsedlar)
- [checks] Test printing in all cases (lsedlar)
- [checks] Reduce code duplication (lsedlar)
- [checks] Relax check for genisoimage (lsedlar)
- [checks] Remove duplicate msgfmt line (lsedlar)
- [checks] Relax check for isohybrid command (lsedlar)
- [checks] Add tests for dependency checking (lsedlar)
- [checks] Don't always require jigdo (lsedlar)
- [pkgset] Respect inherit setting (lsedlar)
- specify that the 4.0 docs are for 4.0.8 (dennis)
- [live-media] Support release set to None globally (lsedlar)
- include tests/fixtures/* in the tarball (dennis)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-10 10:30:21 -06:00
Dennis Gilmore
3406d96c6c add patch to allow livemedia_release to be None globally
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-09 08:49:58 -06:00
Dennis Gilmore
e615bfe447 Add README (lsedlar)
- [doc] Fix formatting (lsedlar)
- [createiso] Add customizing disc type (lsedlar)
- [live-images] Add customizing disc type (lsedlar)
- [buildinstall] Add customizing disc type (lsedlar)
- [buildinstall] Rename method to not mention symlinks (lsedlar)
- [gather] Fix documentation of multilib white- and blacklist (lsedlar)
- [paths] Document and test translate_path (lsedlar)
- [createrepo] Compute delta RPMS against old compose (lsedlar)
- [util] Add function to search for old composes (lsedlar)
- [live-media] Add global settings (lsedlar)
- [live-media] Rename test case (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-08 16:52:45 -06:00
Dennis Gilmore
8a1ae9f76c Limit the variants with config option 'tree_variants' (dennis)
- [createrepo-wrapper] Fix --deltas argument (lsedlar)
- [createrepo-wrapper] Add tests (lsedlar)
- [koji-wrapper] Retry watching on connection errors (lsedlar)
- [createrepo-wrapper] Refactor code (lsedlar)
- [paths] Use variant.uid explicitly (lsedlar)
- [createrepo] Add tests (lsedlar)
- [createrepo] Refactor code (lsedlar)
- [image-build] Fix resolving git urls (lsedlar)
- [testphase] Don't run repoclosure for empty variants (lsedlar)
- [live-images] No manifest for appliances (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-03 13:08:52 -06:00
Dennis Gilmore
8dfb543835 rebuild
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-26 10:29:44 -06:00
Dennis Gilmore
a103a7711f Merge branch 'master' into f23 2016-02-26 10:24:37 -06:00
Dennis Gilmore
a9e8d0717d push the 4.0 docs to a 4.0 branch (dennis)
- [live-images] Rename log file (lsedlar)
- [buildinstall] Use -dvd- in volume ids instead of -boot- (lsedlar)
- [buildinstall] Hardlink boot isos (lsedlar)
- [doc] Write documentation for kickstart Git URLs (lsedlar)
- [util] Resolve branches in git urls (lsedlar)
- [live-images] Fix crash when repo_from is not a list (lsedlar)
- [buildinstall] Don't copy files for empty variants (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-26 10:23:20 -06:00
Dennis Gilmore
6236834e75 we do not really need python2-configparser
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 12:57:49 -06:00
Dennis Gilmore
78ca0ae031 add missing BuildRequires to enable the test suites to run
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 12:42:17 -06:00
Dennis Gilmore
4cfe6613d7 [tests] Fix wrong checks in buildinstall tests (lsedlar)
- [tests] Use temporary files for buildinstall (lsedlar)
- [tests] Do not mock open for koji wrapper tests (lsedlar)
- Merge #179 `Update makefile targets for testing` (ausil)
- Update makefile targets for testing (lsedlar)
- [live-images] Set type to raw-xz for appliances (lsedlar)
- [live-images] Correctly create format (lsedlar)
- [tests] Dummy compose is no longer private (lsedlar)
- [tests] Move buildinstall tests to new infrastructure (lsedlar)
- [tests] Use real paths module in testing (lsedlar)
- [tests] Move dummy testing compose into separate module (lsedlar)
- [live-images] Create image dir if needed (lsedlar)
- [live-images] Add images to manifest (lsedlar)
- [live-images] Fix path processing (lsedlar)
- [live-images] Move repo calculation to separate method (lsedlar)
- [koji-wrapper] Fix getting results from spin-appliance (lsedlar)
- [live-images] Filter non-image results (lsedlar)
- [live-images] Rename repos_from to repo_from (lsedlar)
- [koji-wrapper] Add test for passing release to image-build (lsedlar)
- [live-images] Automatically populate release with date and respin (lsedlar)
- [live-media] Respect release set in configuration (lsedlar)
- [live-images] Build all images specified in config (lsedlar)
- [live-media] Don't create $basedir arch (lsedlar)
- Update tests (lsedlar)
- do not ad to image build and live tasks the variant if it is empty (dennis)
- when a variant is empty do not add it to the repolist for livemedia (dennis)
- [live-media] Update tests to use $basearch (lsedlar)
- [buildinstall] Don't run lorax for empty variants (lsedlar)
- Merge #159 `use $basearch not $arch in livemedia tasks` (lubomir.sedlar)
- Merge #158 `do not uses pipes.quotes in livemedia tasks` (lubomir.sedlar)
- Add documentation for signing support that was added by previous commit
  (tmlcoch)
- Support signing of rpm wrapped live images (tmlcoch)
- Fix terminology - Koji uses sigkey not level (tmlcoch)
- use $basearch not $arch in livemedia tasks (dennis)
- do not uses pipes.quotes in livemedia tasks (dennis)
- [live-images] Don't tweak kickstarts (lsedlar)
- Allow specifying empty variants (lsedlar)
- [createrepo] Remove dead assignments (lsedlar)
- Keep empty query string in resolved git url (lsedlar)
- [image-build] Use dashes as arch separator in log (lsedlar)
- [buildinstall] Stop parsing task_id (lsedlar)
- [koji-wrapper] Get task id from failed runroot (lsedlar)
- [live-media] Pass ksurl to koji (lsedlar)
- Merge #146 `[live-media] Properly calculate iso dir` (ausil)
- [live-media] Properly calculate iso dir (lsedlar)
- [image-build] Fix tests (lsedlar)
- add image-build sections (lkocman)
- [koji-wrapper] Add tests for get_create_image_cmd (lsedlar)
- [live-images] Add support for spin-appliance (lsedlar)
- [live-media] Koji option is ksfile, not kickstart (lsedlar)
- [live-media] Use install tree from another variant (lsedlar)
- [live-media] Put images into iso dir (lsedlar)
- [image-build] Koji expects arches as a comma separated string (lsedlar)
- Merge #139 `Log more details when any deliverable fails` (ausil)
- [live-media] Version is required argument (lsedlar)
- [koji-wrapper] Only parse output on success (lsedlar)
- [koji-wrapper] Add tests for runroot wrapper (lsedlar)
- [buildinstall] Improve logging (lsedlar)
- Log more details about failed deliverable (lsedlar)
- [image-build] Fix failable tests (lsedlar)
- Merge #135 `Add live media support` (ausil)
- Merge #133 `media_split: add logger support. Helps with debugging space
  issues on dvd media` (ausil)
- [live-media] Add live media phase (lsedlar)
- [koji-wrapper] Add support for spin-livemedia (lsedlar)
- [koji-wrapper] Use more descriptive method names (lsedlar)
- [image-build] Remove dead code (lsedlar)
- media_split: add logger support. Helps with debugging space issues on dvd
  media (lkocman)
- [image-build] Allow running image build scratch tasks (lsedlar)
- [image-build] Allow dynamic release for images (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 12:15:56 -06:00
Fedora Release Engineering
514ea85b36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:35:59 +00:00
Dennis Gilmore
711467be6f 4.0.4 release (dennis)
- Merge #123 `Live images: add repo from another variant` (ausil)
- Merge #125 `[image-build] Stop creating wrong arch dirs` (ausil)
- Toggle multilib per variant (lsedlar)
- [live-images] Code cleanup (lsedlar)
- [live-images] Add documentation (lsedlar)
- [live-images] Add repos from other variants (lsedlar)
- [image-build] Stop creating wrong arch dirs (lsedlar)
- Enable identifying variants in exception traces (lsedlar)
- Store which deliverables failed (lsedlar)
- scm.py: use git clone instead git archive for http(s):// (lkocman)
- Fix filtering of system release packages (lsedlar)
- Merge #114 `Use install tree/repo from another variant for image build`
  (ausil)
- Make system release package filtering optional (lsedlar)
- [image-build] Optionally do not break whole compose (lsedlar)
- [image-build] Refactoring (lsedlar)
- [image-build] Use repo from another variant (lsedlar)
- [image-build] Take install tree from another variant (lsedlar)
- Add missing formats to volumeid and image name (lsedlar)
- [image-build] Use single koji task per variant (lsedlar)
- Fix image-build modifying config (lsedlar)
- Fix missing checksums in .treeinfo (lsedlar)
- Don't crash on generating volid without variant (lsedlar)
- Merge #99 `Add option to specify non-failing stuff` (ausil)
- Add repo from current compose (lsedlar)
- Fix getting compose topdir in CreateImage build thread (lsedlar)
- Add option to specify non-failing stuff (lsedlar)
- Allow customizing image name and volume id (lsedlar)
- Fix notifier tests (lsedlar)
- Publish a url instead of a file path. (rbean)
- Add 'topdir' to all fedmsg/notifier messages. (rbean)
- Merge #75 `Start of development guide` (ausil)
- Merge #88 `Resolve HEAD in ksurl to actual hash` (ausil)
- Merge #87 `Add support for customizing lorax options` (ausil)
- Update fedmsg notification hook to use appropriate config. (rbean)
- we need to ensure that we send all the tasks to koji on the correct arch
  (dennis)
- Resolve HEAD in ksurl to actual hash (lsedlar)
- Add support for customizing lorax options (lsedlar)
- Run lorax in separate dirs for each variant (lsedlar)
- Merge #84 `Allow specifying --installpkgs for lorax` (ausil)
- Merge #83 `Fix recently discovered bugs` (ausil)
- Merge #82 `indentation fixs correcting dvd creation` (ausil)
- Merge #69 `Move messaging into cli options and simplify it` (ausil)
- Start lorax for each variant separately (lsedlar)
- Update lorax wrapper to use --installpkgs (lsedlar)
- Allow specifying which packages to install in variants xml (lsedlar)
- Add basic tests for buildinstall phase (lsedlar)
- Fix generating checksum files (lsedlar)
- Use lowercase hashed directories (lsedlar)
- indentation fixs correcting dvd creation (dennis)
- remove glibc32 from the runroot tasks (dennis)
- fix up the pungi-fedmesg-notification script name (dennis)
- Add overview of Pungi to documentation (lsedlar)
- Move messaging into cli options (lsedlar)
- Extend contributing guide (lsedlar)
- Load multilib configuration from local dir in development (lsedlar)
- Allow running scripts with any python in PATH (lsedlar)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-01-20 09:46:20 -06:00
Dennis Gilmore
a12462643c Merge #54 fix log_info for image_build (fails if image_build is skipped)
(lkocman)
- image_build: self.log_info -> self.compose.log_info (lkocman)
- Revert "Added params needed for Atomic compose to LoraxWrapper" (dennis)
- Revert "fix up if/elif in _handle_optional_arg_type" (dennis)
- Add image-build support (lkocman)
- Add translate path support. Useful for passing pungi repos to image-build
  (lkocman)
- import duplicate import of errno from buildinstall (lkocman)
- handle openning missing images.json (image-less compose re-run) (lkocman)
- compose: Add compose_label_major_version(). (lkocman)
- pungi-koji: Don't print traceback if error occurred. (pbabinca)
- More detailed message for unsigned rpms. (tkopecek)
- New config option: product_type (default is 'ga'); Set to 'updates' for
  updates composes. (dmach)
- kojiwrapper: Add get_signed_wrapped_rpms_paths() and get_build_nvrs()
  methods. (tmlcoch)
- live_images: Copy built wrapped rpms from koji into compose. (tmlcoch)
- kojiwrapper: Add get_wrapped_rpm_path() function. (tmlcoch)
- live_images: Allow custom name prefix for live ISOs. (tmlcoch)
- Do not require enabled runroot option for live_images phase. (tmlcoch)
- Support for rpm wrapped live images. (tmlcoch)
- Remove redundant line in variants wrapper. (tmlcoch)
- Merge #36 `Add params needed for Atomic compose to LoraxWrapper` (admiller)
- live_images: replace hardcoded path substition with translate_path() call
  (lkocman)
- live_images fix reference from koji to koji_wrapper (lkocman)
- fix up if/elif in _handle_optional_arg_type (admiller)
- Added params needed for Atomic compose to LoraxWrapper (admiller)
- Merge #24 `Fix empty repodata when hash directories were enabled. ` (dmach)
- createrepo: Fix empty repodata when hash directories were enabled. (dmach)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-09-08 22:11:43 -05:00
Dennis Gilmore
12f81c23f1 fix up doc selection
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-24 13:03:10 -05:00
Dennis Gilmore
521e80758a don't install the man pages
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-24 12:49:49 -05:00
Dennis Gilmore
d0b3003d73 Merge #23 fix treeinfo checksums (dmach)
- Fix treeinfo checksums. (dmach)
- add basic setup for making arm iso's (dennis)
- gather: Implement hashed directories. (dmach)
- createiso: Add createiso_skip options to skip createiso on any variant/arch.
  (dmach)
- Fix buildinstall for armhfp. (dmach)
- Fix and document productimg phase. (dmach)
- Add armhfp arch tests. (dmach)
- Document configuration options. (dmach)
- Add dependency of 'runroot' config option on 'koji_profile'. (dmach)
- Rename product_* to release_*. (dmach)
- Implement koji profiles. (dmach)
- Drop repoclosure-%arch tests. (dmach)
- Config option create_optional_isos now defaults to False. (dmach)
- Change createrepo config options defaults. (dmach)
- Rewrite documentation to Sphinx. (dmach)
- Fix test data, improve Makefile. (dmach)
- Update GPL to latest version from https://www.gnu.org/licenses/gpl-2.0.txt
  (dmach)
2015-07-24 12:41:20 -05:00
Dennis Gilmore
e956304625 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 17:59:07 +00:00
Dennis Gilmore
cd743220f1 wrap check for selinux enforcing in a try except (dennis)
- pull in gather.py patches from dmach for test compose (admiller)
- Add some basic testing, dummy rpm creation, and a testing README (admiller)
- pungi-koji: use logger instead of print when it's available (lkocman)
- fix incorrect reference to variable 'product_is_layered' (lkocman)
- pungi-koji: fix bad module path to verify_label() (lkocman)
- update the package Requires to ensure we have everything installed to run
  pungi-koji (dennis)
- update the package to be installed for productmd to python-productmd (dennis)
2015-06-11 22:15:22 -05:00
Dennis Gilmore
75d34a3c4f fix up accidental i
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 10:58:31 -05:00
Dennis Gilmore
1cd3e510d9 update docs now devel-4-pungi is merged to master, minor spelling fixes
(pbrobinson)
- Fix remaining productmd issues. (dmach)
- Revert "refactor metadata.py to use productmd's compose.dump for composeinfo"
  (dmach)
- Fix LoraxTreeInfo class inheritance. (dmach)
- Fix pungi -> pungi_wrapper namespace issue. (dmach)
- fix arg order for checksums.add (admiller)
- update for productmd checksums.add to TreeInfo (admiller)
- fix product -> release namespace change for productmd (admiller)
- update arch manifest.add config order for productmd api call (admiller)
- update for new productmd named args to rpms (admiller)
- fix pungi vs pungi_wrapper namespacing in method_deps.py (admiller)
- add createrepo_c Requires to pungi.spec (admiller)
- add comps_filter (admiller)
- refactor metadata.py to use productmd's compose.dump for composeinfo instead
  of pungi compose_to_composeinfo (admiller)
- Update compose, phases{buildinstall,createiso,gather/__ini__} to use correct
  productmd API calls (admiller)
- Use libselinux-python instead of subprocess (lmacken)
- Add README for contributors (admiller)
2015-06-07 10:54:17 -05:00
Dennis Gilmore
4dc0d87c9f fix up changelog
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 17:58:36 -05:00
Dennis Gilmore
d26d13ea7f +* Wed May 20 2015 Dennis Gilmore <dennis@ausil.us> - 4.0-0.8.20150520.gitff77a92
+- fix up bad += from early test of implementing different iso labels based on
+  if there is a variant or not (dennis)
2015-05-20 16:44:05 -05:00
Dennis Gilmore
296ada27f4 make sure we treat the isfinal option as a boolean when fetching it (dennis)
- if there is a variant use it in the volume id and shorten it. this will make
  each producst install tree have different volume ids for their isos (dennis)
- fix up productmd import in the executable (dennis)
- fixup productmd imports for changes with open sourcing (dennis)
- tell the scm wrapper to do an absolute import otherwise we hit a circular dep
  issue and things go wonky (dennis)
- include the dtd files in /usr/share/pungi (dennis)
- add missing ) causing a syntax error (dennis)
- fix up the productmd imports to import the function from the common module
  (dennis)
- fix up typo in getting arch for the lorax log file (dennis)
2015-05-20 15:28:52 -05:00
Dennis Gilmore
289d376c21 update the git snapshot to pick up some fixes 2015-03-14 12:27:19 -05:00
Dennis Gilmore
61e704d713 update Requires for rename of python-productmd 2015-03-13 14:27:36 -05:00
Dennis Gilmore
8e457455d6 fix up the pungi logging by putting the arch in the log file name (dennis)
- change pypungi imports to pungi (dennis)
- spec file cleanups (dennis)
2015-03-12 18:10:33 -05:00
Dennis Gilmore
b2b4563774 rename binaries (dennis)
- Add the option to pass a custom path for the multilib config files (bcl)
- Call lorax as a process not a library (bcl)
- Close child fds when using subprocess (bcl)
- fixup setup.py and MANIFEST.in to make a useable tarball (dennis)
- switch to BSD style hashes for the iso checksums (dennis)
- refactor to get better data into .treeinfo (dennis)
- Initial code merge for Pungi 4.0. (dmach)
- Initial changes for Pungi 4.0. (dmach)
- Add --nomacboot option (csieh)
2015-03-12 13:25:48 -05:00
Dennis Gilmore
31772f1b6e update git snapshot to switch to executing lorax since it is using dnf 2015-03-12 11:42:52 -05:00
Dennis Gilmore
9db07c2266 update to the pungi 4.0 dev branch 2015-03-12 11:06:06 -05:00
Dennis Gilmore
b11a8e5a90 switch to BSD style hashes for the iso checksums (dennis)
- refactor to get better data into .treeinfo (dennis)
- Add --nomacboot option (csieh)
2015-03-10 16:14:44 -05:00
Troy Dawson
fece330bbb initial import of pungi 3.0.12 to EPEL7 2014-12-26 14:02:20 -06:00
Dennis Gilmore
05c4c5e8ee Add support for --installpkgs (bcl)
- Add a cmdline option to set the lorax config file (bcl)
- Add python-lockfile requires and drop python-devel (bcl)
- Make our OS iso bootable on aarch64. (pjones)
- fix up typo (dennis)
- replace tabs with spaces (dennis)
2014-12-12 20:29:17 -06:00
Dennis Gilmore
0346c1cf4b add patch to fix whitespace errors 2014-09-30 22:13:06 -05:00
Dennis Gilmore
daa4217d1e Remove magic parameter to mkisofs (hamzy)
- Added option for setting release note files (riehecky)
2014-09-11 11:10:52 -05:00
Dennis Gilmore
d362b9ee20 make sure that the dvd/cd is using the shortened volumeid (dennis) 2014-07-31 06:10:49 -05:00
Dennis Gilmore
6474041367 fix up volume shortening substituions to actually work (dennis) 2014-07-31 04:27:32 -05:00
Dennis Gilmore
c4828c1405 implement nameing scheme from
https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy
  (dennis)
- implement shortening of the volumeid which has a 32 character limit (dennis)
2014-07-30 11:43:54 -05:00
Dennis Gilmore
0025ab2825 fix up some issues with --no-dvd and --workbasedir (dennis) 2014-07-23 11:22:46 -05:00
Dennis Gilmore
000c1ae939 add option to not make a dvd 2014-07-20 12:07:12 -05:00
Dennis Gilmore
9c45755e81 allow the base work directory to be configurable 2014-07-14 15:45:28 -05:00
Dennis Gilmore
8fe593e701 Don't emit media labels with spaces in them. (pjones) 2014-07-09 01:32:15 -05:00
Dennis Gilmore
4ecb1c7636 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:33:33 -05:00
Dennis Gilmore
fafa6ac1b9 add missing requires on python-lockfile 2014-05-01 14:37:12 -05:00
Dennis Gilmore
c313a94b93 Use a lockfile around things that modify the cachedir. (rbean)
- Improve logging for missing srpms. (rbean)
- honour the --nosource option (dennis)
- support ppc64le in pungi (hamzy)
- Add configurable compression type to pungi (default to xz) (rbean)
2014-04-29 16:31:46 -05:00
Dennis Gilmore
73161cefb4 revert to the old way of doing versioning as the change in 3.01 did not work 2013-10-31 20:23:53 -05:00
Dennis Gilmore
5f7a677e97 fix typo in call to __version__ (Dennis Gilmore) 2013-10-31 19:08:16 -05:00
Dennis Gilmore
0d61b243c6 Add 'make log' command to print changelog for spec. (Daniel Mach)
- Implement %prepopulate config section as an additional package input. (Daniel Mach)
- Don't automatically apply fulltree on input multilib packages. (Daniel Mach)
- Implement %multilib-blacklist and %multilib-whitelist config sections. (Daniel Mach)
- Turn off fulltree for multilib packages. (Daniel Mach)
- Return package flags: input, fulltree-exclude, langpack, multilib, fulltree (Daniel Mach)
- Exclude srpms from conditional deps. (Daniel Mach)
- Improve greedy methods: none, all, build. (Daniel Mach)
- Add .gitignore. (Daniel Mach)
- Add 'yaboot' multilib method. (Daniel Mach)
- Drop pulseaudio-utils from runtime whitelist (Daniel Mach)
- Remove packages which are in lookaside repos from regular repos. (Daniel Mach)
- Print repoid to make clear from which repo a package came. (Daniel Mach)
- Don't pull conditional deps in when --nodeps is used. (Daniel Mach)
- Multilib fix - consider only *.so* libs which are also listed in Provides. (Daniel Mach)
- Fix --nodeps by setting Pungi.is_resolve_deps according to config. (Daniel Mach)
- Add test_arch.py. (Daniel Mach)
2013-10-31 13:45:05 -05:00
Dennis Gilmore
395d50eff4 apply patches from Daniel Mach
- make sure we only use mac support on x86_64
- make sure deltarpm is disabled
2013-08-20 11:49:12 -05:00
Dennis Gilmore
145e011a83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 00:31:40 -05:00
Dennis Gilmore
6b0062c67a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 12:31:58 -06:00
Dennis Gilmore
7a2cae5aa8 strip groups from comps not listed in the kickstart
- fix ppc64 runtime installation (#888887)
- dont make isos on arm
- include ppc64 checksums (#888517)
2012-12-22 02:28:01 -06:00
Dennis Gilmore
e2681fb169 ppc64p7 support
- update locations for ppc files for image composition bz#849731
- add 32 bit arm arches
2012-08-31 00:48:42 -05:00
Dennis Gilmore
4d4a18c1be ppc64p7 support
- update locations for ppc files for image composition bz#849731
- add 32 bit arm arches
2012-08-31 00:47:23 -05:00
Dennis Gilmore
0c2f1048db Aug 31 2012 Dennis Gilmore <dennis@ausil.us> - 2.12-1
- ppc64p7 support
- update locations for ppc files for image composition bz#849731
- add 32 bit arm arches
2012-08-31 00:46:52 -05:00
Dennis Gilmore
af87ed7873 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 22:35:26 -05:00
Dennis Gilmore
f9814be8bc add patch for bz#816315
- upstream 2.11 release
2012-05-03 16:18:16 -05:00
Dennis Gilmore
22c38caa0d upstream 2.11 release 2012-04-16 15:01:41 -05:00
Dennis Gilmore
8ffc69450c drop all the patches merged into upstream 2.10 release 2012-02-09 18:09:27 -06:00
Dennis Gilmore
4bc5e8bfb4 has the Packages dir for consistency between Fedora and Everything trees 2012-02-09 09:16:13 -06:00
Dennis Gilmore
040cd22fa6 add patch from will woods for yaboot on ppc 2012-01-31 06:24:30 -06:00
Dennis Gilmore
2859b66cf7 Merge branch 'f16'
Conflicts:
	pungi.spec
2012-01-30 12:47:16 -06:00
Dennis Gilmore
a0bd6f07f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:19:13 -06:00
Will Woods
4a29e2a96e Add wwoods patches for ppc/treebuilder 2011-10-27 15:53:41 -04:00
Dennis Gilmore
7c348dedab bump to 2.9 2011-07-27 11:55:13 -05:00