Commit Graph

1260 Commits

Author SHA1 Message Date
Lubos Kocman
fd64bba4dd Merge #54 fix log_info for image_build (fails if image_build is skipped) 2015-09-07 15:41:27 +00:00
Lubos Kocman
3efd29e465 image_build: self.log_info -> self.compose.log_info 2015-09-07 15:41:27 +00:00
Dennis Gilmore
da0405a0f5 Revert "Added params needed for Atomic compose to LoraxWrapper"
This reverts commit 919a4fc619.
2015-09-04 12:12:36 -05:00
Dennis Gilmore
d982cd585f Revert "fix up if/elif in _handle_optional_arg_type"
This reverts commit 1373fe5178.
2015-09-04 12:12:28 -05:00
Jon Disnard
6e773f8676 Disable jigdo by default, saves a lot of time.
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2015-09-01 17:14:46 -05:00
Lubos Kocman
abb2ff1584 live_images: replace hardcoded path substition with translate_path() call
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-09-01 08:23:42 +00:00
Lubos Kocman
158d1834a6 live_images fix reference from koji to koji_wrapper
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-09-01 08:23:24 +00:00
Lubos Kocman
8e90a2a32a Add image-build support
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-09-01 08:03:34 +00:00
Lubos Kocman
4fb20198db Add translate path support. Useful for passing pungi repos to image-build
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-09-01 08:01:37 +00:00
Lubos Kocman
449b4e4c87 import duplicate import of errno from buildinstall
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-08-31 22:51:22 -05:00
Lubos Kocman
831352b2ea handle openning missing images.json (image-less compose re-run)
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2015-08-31 22:51:22 -05:00
Lubos Kocman
0e18ffcf31 compose: Add compose_label_major_version(). 2015-08-25 08:20:52 -04:00
Pavol Babincak
853c27d1be pungi-koji: Don't print traceback if error occurred.
If compose directory was created and logger setup properly traceback is
written in traceback.log. Otherwise traceback is printed on stdout.
2015-08-25 08:11:14 -04:00
Tomas Kopecek
9235844529 More detailed message for unsigned rpms. 2015-08-25 08:07:05 -04:00
Daniel Mach
ba9df6dc5e New config option: product_type (default is 'ga'); Set to 'updates' for updates composes. 2015-08-25 08:04:06 -04:00
Tomas Mlcoch
219af0c904 kojiwrapper: Add get_signed_wrapped_rpms_paths() and get_build_nvrs() methods. 2015-08-25 08:01:02 -04:00
Tomas Mlcoch
d9d9db3e5d live_images: Copy built wrapped rpms from koji into compose. 2015-08-25 07:57:51 -04:00
Tomas Mlcoch
df1415b3f5 kojiwrapper: Add get_wrapped_rpm_path() function. 2015-08-25 07:57:40 -04:00
Tomas Mlcoch
44ebf5eedc live_images: Allow custom name prefix for live ISOs. 2015-08-25 07:49:29 -04:00
Tomas Mlcoch
39c073abf9 Do not require enabled runroot option for live_images phase. 2015-08-25 07:48:19 -04:00
Tomas Mlcoch
ba39435bf6 Support for rpm wrapped live images. 2015-08-25 07:42:05 -04:00
Tomas Mlcoch
ea751bb119 Remove redundant line in variants wrapper. 2015-08-25 07:40:11 -04:00
Adam Miller
05e9bbab9c Merge #36 Add params needed for Atomic compose to LoraxWrapper 2015-08-18 15:50:16 -05:00
Adam Miller
1373fe5178 fix up if/elif in _handle_optional_arg_type 2015-08-18 15:50:16 -05:00
Adam Miller
919a4fc619 Added params needed for Atomic compose to LoraxWrapper
Add add_template, add_template_var, add_arch_template, and
add_arch_template_var to the call for lorax.get_lorax_cmd for the Atomic
ISO composes.

Remove duplicate if statement for add_template_var in lorax wrapper
2015-08-18 15:47:41 -05:00
Daniel Mach
1089847cd7 Merge #24 Fix empty repodata when hash directories were enabled. 2015-07-24 18:18:03 -04:00
Daniel Mach
5238e1cc99 createrepo: Fix empty repodata when hash directories were enabled. 2015-07-24 18:18:03 -04:00
Dennis Gilmore
8b1d5ab9b2 4.0.2 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-24 12:39:14 -05:00
Daniel Mach
19a7394974 Fix treeinfo checksums. 2015-07-24 10:49:28 -04:00
Daniel Mach
5432d3fa74 Merge #23 fix treeinfo checksums 2015-07-24 10:49:28 -04:00
Dennis Gilmore
4dc7079bd2 add basic setup for making arm iso's
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-24 07:47:29 -05:00
Daniel Mach
0d8ad9a111 gather: Implement hashed directories.
Set 'hashed_directories = True' config option to enable the feature.
2015-07-24 04:40:55 -04:00
Daniel Mach
1f313b39ad createiso: Add createiso_skip options to skip createiso on any variant/arch. 2015-07-23 10:58:35 -04:00
Daniel Mach
b85307c683 Fix buildinstall for armhfp.
armhfp is not a valid RPM arch, it's only a tree arch or basearch.
Lorax requires valid RPM arch as --buildarch.
2015-07-22 13:00:36 -04:00
Daniel Mach
63338a9689 Fix and document productimg phase. 2015-07-22 12:57:39 -04:00
Daniel Mach
e80879a4fe Add armhfp arch tests. 2015-07-22 08:27:56 -04:00
Daniel Mach
ca5aeb3106 Document configuration options. 2015-07-10 07:47:29 -04:00
Daniel Mach
63c631a99b Add dependency of 'runroot' config option on 'koji_profile'. 2015-07-10 07:31:57 -04:00
Daniel Mach
72302bd98e Rename product_* to release_*.
CHANGE: Rename product_* config options to release_* for consistency with productmd.
ACTION: Rename product_name, product_short, product_version, product_is_layered to release_* in config files.
        Rename //variant/product to //variant/release in variants XML.
2015-07-09 06:58:30 -04:00
Daniel Mach
afa05021f0 Implement koji profiles.
CHANGE: pkgset_koji_url and pkgset_koji_path_prefix config options replaced with koji_profile.
ACTION: Add 'koji_profile = "<profile_name>"' (use "koji" for Fedora) to config files.
        You can safely remove and pkgset_koji_url and pkgset_koji_path_prefix from config files.
2015-07-09 04:57:27 -04:00
Daniel Mach
017bc76093 Drop repoclosure-%arch tests.
These tests frequently report false-positives,
because package set may contain broken dependencies,
while compose doesn't.
Removing the tests will also reduce compose time a bit.
2015-07-08 09:08:45 -04:00
Daniel Mach
6286e87d3b Config option create_optional_isos now defaults to False.
CHANGE: create_optional_isos config option now defaults to False.
ACTION: You can safely remove 'create_optional_isos = False' from config files.
2015-07-08 09:00:30 -04:00
Daniel Mach
90918dc34d Change createrepo config options defaults.
CHANGE: createrepo_c is config option now defaults to True.
ACTION: You can safely remove 'createrepo_c = True' from config files.
        Set 'createrepo_c = False' if you need legacy createrepo.

CHANGE: createrepo_checksum config option is now mandatory.
ACTION: Add 'createrepo_checksum = "sha256"' (or "sha") to config files.
2015-07-08 08:57:50 -04:00
Daniel Mach
a3d46f5393 Rewrite documentation to Sphinx. 2015-07-02 09:18:49 -04:00
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.
2015-06-25 08:02:57 -04:00
Daniel Mach
51cdd94379 Update GPL to latest version from https://www.gnu.org/licenses/gpl-2.0.txt 2015-06-25 07:50:03 -04:00
Dennis Gilmore
b53f2ba9bf 4.0.1 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-11 22:12:58 -05:00
Dennis Gilmore
11a80ddbda wrap check for selinux enforcing in a try except
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-11 22:04:35 -05:00
Adam Miller
e8f4b7334e pull in gather.py patches from dmach for test compose 2015-06-10 10:03:57 -05:00
Adam Miller
793e9f3d06 Add some basic testing, dummy rpm creation, and a testing README 2015-06-10 09:53:31 -05:00