Commit Graph

20 Commits

Author SHA1 Message Date
Lubomír Sedlář 2113b6475c [metadata] Add tests for discinfo files
This tests writing and reading them.

Also, it makes sure the description for layered products is correct:
there was a missing space.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-23 18:34:04 +02:00
Lubomír Sedlář 385f0e950c Add type to base product for layered releases
Default value is "ga", can be overwritten by `base_product_type` config
option.

Fixes: #305
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-05-23 14:12:23 +02:00
Lubomír Sedlář f5897eccbb [metadata] Stop crashing on empty path from .treeinfo
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-03-16 15:24:37 +01:00
Lubomír Sedlář 454363fba8 Allow specifying empty variants
The variants.xml file can list a variant with is_empty="true" and no
groups. If such variant is found, not package gathering will be run for
it, and no repos will be created.

This only makes sense for a variant that will have some other
deliverables like live media or images.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-02-16 15:08:15 +01:00
Lubomír Sedlář a1384b60f4 Fix missing checksums in .treeinfo
The images listed in the file are obtained from .treeinfo files created
during buildinstall phase. However, the files are not stored directly in
buildinstall dir `work/$arch/buildinstall/` but in variant subdirectory
`work/$arch/buildinstall/$variant`.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-01-06 13:36:44 +01: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
Daniel Mach 19a7394974 Fix treeinfo checksums. 2015-07-24 10:49:28 -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
Lubos Kocman e3e60c75a2 fix incorrect reference to variable 'product_is_layered' 2015-06-07 18:28:08 +00:00
Daniel Mach fd8cd62e79 Fix remaining productmd issues. 2015-06-06 13:46:20 -05:00
Daniel Mach 6b34cb98d2 Revert "refactor metadata.py to use productmd's compose.dump for composeinfo"
This reverts commit 40b8ccb3acdc7dd869e4aa32f1ad672ff01bd0ea.
2015-06-06 13:46:19 -05:00
Daniel Mach 977ad66995 Fix LoraxTreeInfo class inheritance. 2015-06-06 13:46:19 -05:00
Adam Miller f633c04497 fix arg order for checksums.add 2015-06-06 13:46:19 -05:00
Adam Miller cc48f6522a update for productmd checksums.add to TreeInfo 2015-06-06 13:46:19 -05:00
Adam Miller 989b018090 fix product -> release namespace change for productmd 2015-06-06 13:46:19 -05:00
Adam Miller 59ca987233 refactor metadata.py to use productmd's compose.dump for composeinfo
instead of pungi compose_to_composeinfo
2015-06-06 13:45:48 -05:00
Dennis Gilmore 771ed2efcb fixup productmd imports for changes with open sourcing
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-24 17:55:56 -05:00
Dennis Gilmore d337c34b2a fix up the productmd imports to import the function from the common module
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 12:21:27 -05:00
Dennis Gilmore 07e90f0f96 change pypungi imports to pungi 2015-03-12 16:12:38 -05:00
Daniel Mach f116d9384f Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00