Commit Graph

1542 Commits

Author SHA1 Message Date
Lubomír Sedlář 716b2d521a Add support for customizing lorax options
The config file can now specify options for lorax per variant and arch.
This is needed for Fedora to set x86_64 images as bootable on mac.

The old config option `buildinstall_upgrade_image` was deprecated, as
the same can be specified via new `lorax_options`.

Documentation and tests are updated.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-08 12:47:21 +01:00
Lubomír Sedlář 4a96e8e313 Run lorax in separate dirs for each variant
Lorax fails when run on an existing non-empty directory. This patch runs
it in separate subdirectiories base on variant. Running with
buildinstall should not be changed at all.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-07 09:45:33 +01:00
Dennis Gilmore bdb1bcb35c Merge #84 `Allow specifying --installpkgs for lorax` 2015-12-04 19:41:28 +00:00
Dennis Gilmore 4a26b99a24 Merge #83 `Fix recently discovered bugs` 2015-12-04 19:39:49 +00:00
Dennis Gilmore 31fe85038b Merge #82 `indentation fixs correcting dvd creation` 2015-12-04 19:39:05 +00:00
Dennis Gilmore 77aca8a00a Merge #69 `Move messaging into cli options and simplify it` 2015-12-04 19:38:07 +00:00
Lubomír Sedlář cdec198b6d Start lorax for each variant separately
The buildinstall phase now starts lorax for each variant separately.
Running with buildinstall should not be affected in any way.

Only variants of type=variant are considered. The side-effect of this is
that if an architecture is only used by variants of other types, lorax
will not be called at all.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 15:19:12 +01:00
Lubomír Sedlář 94f519d01c Update lorax wrapper to use --installpkgs
The lorax wrapper class now understands the --installpkgs argument and
can use it to pass multiple package names to the command.

There is a simple test to make sure the commands includes all specified
options. A bug is fixed where the bug URL would not be correctly
included.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 15:19:12 +01:00
Lubomír Sedlář 791448cc32 Allow specifying which packages to install in variants xml
This patch updates the variants DTD and parsing to allow specifying
multiple build install packages for each variant.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 15:19:12 +01:00
Lubomír Sedlář b6d9b5632e Fix generating checksum files
This patch modifies how checksums are stored - it uses BSD-style
checksums.

The filename with the checksum can now be customized depending on actual
compose run and metadata. This required adding another option to the
checksumming phase. Documentation is updated and includes example for
creating names used in Fedora.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 10:54:09 +01:00
Lubomír Sedlář 539736a11e Use lowercase hashed directories
On case-insensitive filesystems it is not such a good idea to have
directories that only differ in case. Packages should be always split
into lowercased directories.

The test data is modified to include some packages starting with
uppercase letters. The example in code can be verified by running
`nosetests --with-doctest`.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-12-03 09:08:15 +01:00
Dennis Gilmore 290f8f6540 indentation fixs correcting dvd creation
getting the commands together to run the iso creation process was
incorrectly moved when jigdo creation was made optional, patch fixes
https://pagure.io/pungi/issue/77

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-02 13:00:06 -06:00
Dennis Gilmore e9699b7327 remove glibc32 from the runroot tasks
a workaround has been put in place on os's that need it. dnf errors
when a package is listed that is not available. breaking rawhide
composes.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-02 08:51:18 -06:00
Lubomír Sedlář bd8d814230 Move messaging into cli options
The messaging is not really part of compose settings. It is an
infrastructure part. As such, it should really be set up as part of
pungi invocation, not compose configuration.

The documentation is updated to reflect this. Some updates to the
documentation are done as well: listing messages about ISOs and minor
formatting updates.

The test_compose.sh script can now accept additional command line
options and pass them on to pungi-koji to simplify testing.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-27 10:35:08 +01:00
Lubomír Sedlář 496563aaef Load multilib configuration from local dir in development
It doesn't have to be installed during development.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-27 10:27:43 +01:00
Lubomír Sedlář ba8ae15eb1 Allow running scripts with any python in PATH
Instead of hardcoding /usr/bin/python in shebangs, use /usr/bin/env.
This allows Pungi to work with dependencies installed in virtualenv.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-27 08:38:47 +01:00
Dennis Gilmore 6f00f20b3d Merge #68 `Add support for sending messages` 2015-11-25 14:56:51 +00:00
Lubomír Sedlář 7ce5c76673 Send more messages in createiso phase
When phase starts, a message is sent with list of images that are going
to be built. As each images is finished (or fails), another message
announces that status.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-25 15:46:50 +01:00
Lubomír Sedlář 066855a039 Add ability to send messages about progress
With this patch, Pungi can invoke an arbitrary command on various
moments of the compose process. The invoked command can the decide on
what message to send (and using what messaging system).

The actual command is specified in the config file.

There is a script provided that sends the messages via fedmsg.

The documentation is updated to have details about the new config option
as well as the interface for the messaging script.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-25 15:46:50 +01:00
Lubomír Sedlář 129e654690 Compute checksums in ImageChecksumPhase
The phase goes through all images declared in image manifest, computes
their checksums, stores them in appropriate files and updates the
manifest so that it includes the actual checksums.

The documentation contains details about new configuration options.

The test suite now needs Python's mock package.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-24 09:36:22 +01:00
Lubomír Sedlář 660c8bc2b3 Remove computing checksums from phases
These phases were computing checksums for images:

 * buildinstall
 * createiso
 * image_build
 * live_images
 * product_img

In each phase the checksummed thing would ultimately end-up in image
manifest.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-24 09:36:19 +01:00
Lubomír Sedlář 359eb444e5 Move image checksum collecting to separate phase
The checksums are still generated in the ImageBuild and CreatISO phases,
but collecting of them into single file is moved from pungi-koji script
into a separate phase.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2015-11-24 09:36:13 +01:00
Dennis Gilmore 5ff5ffc259 compose.config is in self
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-10-28 21:18:15 -05:00
Daniel Mach 3897671190 Merge #60 `fix conditional deps (this can't be easily covered with unit tests; tested on huge package set using various in-place YUM hacks)` 2015-09-10 09:38:09 -04:00
Jon Disnard fd537e5070 Merge #61 `make jigdo optional (iii)` 2015-09-15 13:39:15 -05:00
Jon Disnard 2114369e9c Default True for configurable jigdo ISOs.
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
2015-09-15 13:23:54 -05:00
Daniel Mach 15811107bb gather: Check if txmbr.isDep is set for conditional deps. 2015-09-10 09:38:09 -04:00
Tomas Mlcoch 1d97ce5ea1 Add live_images option to live_images phase 2015-09-10 07:10:41 -04:00
Tomas Mlcoch b4fd280d80 Fix expected type of createrepo_checksum config option 2015-09-10 07:09:37 -04:00
Tomas Mlcoch 3df5a11a89 Fix KojiWrapper initialization in live_images phase 2015-09-09 03:40:30 -04:00
Tomas Mlcoch 02e55b67b3 Remove createiso phase's dependency on pkgset_koji_url config option 2015-09-09 03:40:29 -04:00
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
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
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 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
Adam Miller e8f4b7334e pull in gather.py patches from dmach for test compose 2015-06-10 10:03:57 -05:00
Lubos Kocman e3e60c75a2 fix incorrect reference to variable 'product_is_layered' 2015-06-07 18:28:08 +00:00
Dennis Gilmore 913494d889 update the package to be installed for productmd to python-productmd
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 10:55:10 -05: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
Daniel Mach ec7424395d Fix pungi -> pungi_wrapper namespace issue. 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 8d50f89e6e update arch manifest.add config order for productmd api call 2015-06-06 13:46:19 -05:00
Adam Miller 654ac5fbaa update for new productmd named args to rpms 2015-06-06 13:46:19 -05:00
Adam Miller dc9cfffbb9 fix pungi vs pungi_wrapper namespacing in method_deps.py 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
Adam Miller 5fa5fcdd06 Update compose, phases{buildinstall,createiso,gather/__ini__} to use correct productmd API calls 2015-06-06 13:45:48 -05:00
Dennis Gilmore 1d87fca380 fix up bad += from early test of implementing different iso labels
based on if there is a variant or not

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 16:33:54 -05:00
Dennis Gilmore ca17987de9 make sure we treat the isfinal option as a boolean when fetching it
It will make sure that we only pass --isfinal to lorax when it is
passed in on the CLI

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 15:14:39 -05:00
Dennis Gilmore f5eaa7326f 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

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 15:14:00 -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 f828850466 tell the scm wrapper to do an absolute import otherwise we hit a
circular dep issue and things go wonky

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-24 17:51:28 -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 ad18e21d1a fix up typo in getting arch for the lorax log file
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 12:20:44 -05:00
Dennis Gilmore 18d4d2ecf8 fix up the pungi logging by putting the arch in the log file name 2015-03-12 17:29:59 -05:00
Dennis Gilmore 07e90f0f96 change pypungi imports to pungi 2015-03-12 16:12:38 -05:00
Dennis Gilmore a3158ec144 rename binaries
rename the pungi binary to pungi-koji since it does is tasks in koji
rename pungi-gather to pungi as it is the standalone old pungi binary

there is scripts that expect pungi to be the old pungi, the new binary
is not yet in use, pungi-koji semes to make sense, open to better ideas
2015-03-12 13:15:29 -05:00
Brian C. Lane 320724ed98 Add the option to pass a custom path for the multilib config files
The default is /usr/share/pungi/multilib/, pass --multilibconf to
override this.

This also adds multilib.init() so that an import of multilib doesn't
immediately setup the classes.

(cherry picked from commit 234524296fd53871aed64690cf6a7d5849ca154a)
2015-03-12 11:40:23 -05:00
Brian C. Lane 13526d1c49 Call lorax as a process not a library
Doing this allows lorax to move to DNF (and Python3) without needing to
wait for pungi to be updated.
2015-03-12 11:29:58 -05:00
Brian C. Lane 9947c7e0cd Close child fds when using subprocess 2015-03-12 11:13:51 -05:00
Dennis Gilmore 64b6c8065c switch to BSD style hashes for the iso checksums 2015-03-12 10:16:09 -05:00
Dennis Gilmore 0633eb29d3 refactor to get better data into .treeinfo
for https://fedorahosted.org/rel-eng/ticket/6008 refacter how we deal
with the data that feeds into .treeinfo
Deprecate --name for --family
Deprecate --flavor for --variant
rather than using --name as the iso base name use the value of
family if there is a variant add it with a - as the seperator
2015-03-12 10:15:55 -05:00
Daniel Mach f116d9384f Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
Daniel Mach f5c6d44000 Initial changes for Pungi 4.0. 2015-02-10 06:47:16 -05:00
Jesse Keating 2cb4e338f7 Adjust layout, will help with using eclipse 2007-12-14 22:41:08 -05:00
Jesse Keating fa1fc86b8d Remove extra files from tarball 2007-12-10 18:29:15 -05:00
Jesse Keating eb3083c94a Third time's the charm... 2007-12-10 18:18:40 -05:00
Jesse Keating 1c76dd3722 Handle egg generation in the spec file. 2007-12-10 18:04:55 -05:00
Jesse Keating 302a5ab5db Prepare for release 2007-12-10 17:17:19 -05:00
Jesse Keating 0d2d9e55f5 Quiet down the selinux check. 2007-12-04 09:31:40 -05:00
Jesse Keating 8df58b56cb Bump version to 1.2.0
Allow our default flavor of '' to be used.
2007-12-03 13:49:11 -05:00
Jesse Keating a9c124e7e0 Only allow alphanumeric in flavor. 2007-12-03 11:56:03 -05:00
Jesse Keating 33a2ec8508 Check for selinux enforcing. Warn if it is. 2007-12-03 11:40:41 -05:00
Jesse Keating 67df99833a Do release notes first. 2007-12-02 23:02:51 -05:00
Jesse Keating dcf069a017 Fix logging during _ensuredir.
Some fixups for re-using dirs
2007-12-02 22:24:11 -05:00
Jesse Keating 6748133646 Support re-using existing destdirs better, with a --force option. 2007-12-02 14:31:26 -05:00
jkeating aef1db89aa Only check root when necessary. 2007-11-30 15:41:58 -05:00
Jesse Keating a09b885fd8 Flip the default for nosource. 2007-11-30 10:36:28 -05:00
Jesse Keating f499bc4f8d Add a split option to the iso creation function
Fix a SRPMS SRPMs typo
Handle source iso creation better
2007-11-29 17:46:58 -05:00
Jesse Keating 8733a990ec - Figure out number of isos on the fly, based on tree size
- Add command line option to disable creation of split media
- Remove -S -P options, as splittree and packageorder are now
called from createIsos, if needed.
2007-11-28 17:10:02 -05:00
Jesse Keating c60c9b443e Prep for release 2007-11-22 09:31:15 -05:00
Jesse Keating 7bf5e3d458 Print usage if we don't have a correct option. (Ticket #61) 2007-11-20 17:29:18 -05:00
Jesse Keating 930f0f2667 Fix regets. 2007-10-29 16:26:42 -04:00
Jesse Keating 53301b5313 Add eclipse 2007-10-27 12:17:39 -04:00
Jesse Keating 400ff52477 - Add java-development to the group set. 2007-10-23 17:20:01 -04:00
Jesse Keating 4b4a2d2f32 Prep for release. 2007-10-19 14:33:26 -04:00
Jesse Keating adbc4c787c prep for release. 2007-10-11 14:00:47 -04:00
Jesse Keating 6c4913c169 Make a release 2007-10-02 15:50:02 -04:00
Jesse Keating 5e467d0cb5 Make sure we are stuffing a string into the ConfigParser. 2007-10-02 08:29:11 -04:00
Jesse Keating ddab468b43 Make a release 2007-09-26 14:59:36 -04:00
Jesse Keating 835188ac2c - Fix location of media.repo file. 2007-09-25 21:26:59 -04:00
Jesse Keating 371c782b81 prep for release 2007-09-18 16:31:52 -04:00
Jesse Keating 93ad1c3f57 Release 1.1.0 2007-09-17 17:31:03 -04:00
Jesse Keating 788105f59b - Create a config class that can make using pungi modules easier. (Mark McLoughlin) 2007-09-12 14:36:28 -04:00
Jesse Keating 33d983e8b6 Fix a bug with default destdir
Add a man page
Move documentation into doc
2007-09-11 17:07:37 -04:00
Jesse Keating c88e50ee5e Fix creation of source isos.
Add source repo to kickstart file
End %packages section with %end per new pykickstart api
2007-08-30 16:56:08 -04:00
Jesse Keating ae78aea673 Default the flavor to blank. 2007-08-28 23:42:25 -04:00
Jesse Keating 0a029cbb14 Oops, wrong help output. 2007-08-27 16:59:31 -04:00
Jesse Keating 736951231e s/livecd-creator/pungi/. Stole that code a little /too/ well. 2007-08-27 14:21:14 -04:00
Jesse Keating b8457e64d5 1.0.0 release. Woohoo!
Remove dead config files.  No longer use an /etc directory.
2007-08-27 14:17:42 -04:00
Jesse Keating 54737ebb70 - Set arch using rpmUtils, and do it in /usr/bin/pungi 2007-08-27 10:39:12 -04:00
Jesse Keating a578d93a9e Add a rootcheck, stolen from livecd-creator 2007-08-26 19:48:49 -04:00
Jesse Keating b8b7d763f9 - Add a cache dir for pungi (/var/cache/pungi) and a cli option to override
- Fix some typos
- Handle cache dir not being on same file system
2007-08-26 19:44:38 -04:00
Jesse Keating 38ff3cef53 - Pass gather a ksparser object instead, needed for yum repos
and more advanced package handling.
- Use ksparser to get repo(s) from kickstart config.
- Don't rely upon a yum conf, do all setup ourselves.
2007-08-26 14:08:27 -04:00
Jesse Keating 0b3221eafa - Pass gather a ksparser object instead, needed for yum repos
and more advanced package handling.
2007-08-25 10:04:25 -04:00
Jesse Keating cc68ffa5d8 - Use a kickstart file as input now (for cdsize and package manifest)
- Turn pkglist into a pre-parsed package dictionary
- Arrange config setting logically
- Error out on usage if no config file passed
2007-08-25 08:56:16 -04:00
Jesse Keating 6feda08320 - Get group files out of configured repos and create a mashup
of the comps.  Filter it and make use of it when creating repos.
- Move _doRunCommand into pypungi/__init__.py so that it can be
  easily used by all modules.  Also pass in a logger for correct
  logging
- Quiet down creatrepo calls
2007-08-24 20:45:54 -04:00
Jesse Keating e1d532cfc0 - hard set product_path to 'Packages' 2007-08-24 09:41:06 -04:00
Jesse Keating c8beac9215 product_name -> name. KISS 2007-08-24 09:15:58 -04:00
Jesse Keating 54d3d6b809 - Remove a lot of configurable items and hard set them
- Move some items to cli flags only (part of moving to pykickstart)
2007-08-24 09:13:53 -04:00
Jesse Keating 4d270948dd Prep for release 2007-08-21 22:04:07 -04:00
Jesse Keating 0a7c6f4683 Fix indentation issue. 2007-08-16 10:03:13 -04:00
jkeating@localhost.localdomain 1f85a11293 Create a PungiBase class
Make Gather and Pungi subclasses of this base class
Adjust logging to use the facility in PungiBase
Adjust logging levels to be appropriate
Drop a note when the compose is finished.
2007-08-15 19:19:13 -04:00
Jesse Keating 1b1a81b2c7 - Create a new yum object for source downloads as yum
Fixes a problem where yum object resetting is not currently working
2007-08-01 16:38:57 -04:00
Jesse Keating 36c629a262 split createrepo to it's own call 2007-07-28 10:59:14 -04:00
Jesse Keating 7eff6de180 release 0.3.9 2007-07-24 12:43:08 -04:00
Jesse Keating d612ffdfb3 Release 0.3.8 2007-06-20 14:04:02 -04:00
Jesse Keating 1eb9ea938f prep for release and update comps file 2007-05-30 10:46:55 -04:00
Jesse Keating a300431630 When setting default cdsize, value must be string. 2007-05-25 18:56:09 -04:00
Jesse Keating 0e7a34a453 prep for dist 2007-05-25 14:30:13 -04:00
Jesse Keating 1dfca44ec1 Prep for release 2007-05-24 08:52:02 -04:00
Jesse Keating defce836a2 Prep for release 2007-05-24 02:06:33 -04:00
Jesse Keating 7baf239914 Prepare for release 2007-05-23 12:44:08 -04:00
Jesse Keating 784bf5ec41 Release 0.3.2 2007-05-21 12:08:30 -04:00
Jesse Keating a861bb2aaf - Handle config file missing better (jgranado) 2007-05-15 14:14:16 -04:00
Jesse Keating d7d904a135 fix comments in conf file 2007-04-06 08:02:00 -04:00
Jesse Keating 813d06d88f Update for 0.3.0 release 2007-04-02 17:19:19 -04:00
Jesse Keating eae5edcb56 Move relnotes up to buildinstall section; We want those files then. 2007-03-14 17:56:03 -04:00
Jesse Keating a3f74c1199 prep for 0.2.8 release 2007-03-10 00:08:13 -05:00
Jesse Keating 45a4b62308 First attempt at supporting kickstart package syntax in manifest files 2007-03-01 23:06:41 -05:00
Jesse Keating be069fc5f2 Update comps from test2
prep release
2007-02-28 14:08:07 -05:00
Jesse Keating c0c9d7bed7 prep for release 2007-02-21 16:48:08 -05:00
jkeating@reducto.boston.redhat.com c951061fe7 Prep for release 2007-02-21 09:34:23 -05:00
jkeating@reducto.boston.redhat.com 1e9d5392e6 Make cdsize a config option 2007-02-16 13:59:01 -05:00
jkeating@reducto.boston.redhat.com 5fa12944df Add a version to options.
Reorder options logically
Clean up some comments
2007-02-16 13:38:27 -05:00
jkeating@reducto.boston.redhat.com 528b566ec2 Fix a flaw with getting rid of comments in the manifest.
Make the code block to get the package list more readable
2007-02-15 21:37:30 -05:00
jkeating@reducto.boston.redhat.com 20af3a4988 Add support for comments in manifest 2007-02-15 18:17:23 -05:00
jkeating@reducto.boston.redhat.com 64970b214c Merged in changes from Will 2007-02-13 17:12:39 -05:00
wwoods@metroid.rdu.redhat.com 5d46c0c53b merge from jesse's branch 2007-02-13 11:06:35 -05:00
jkeating@reducto.boston.redhat.com e1242f1e74 Remove part of a bad patch. 2007-02-13 15:27:00 -05:00
jkeating@localhost.localdomain ec8b2ead8f - Add ability to define destdir on the cli to override conf file
- Clean up optionparse stuff, print usage if arg list is too small
2007-02-12 17:51:36 -05:00
jkeating@localhost.localdomain a8e2603055 Add runtime flags for doing specific stages of the compose 2007-02-12 17:07:37 -05:00
jkeating@reducto.boston.redhat.com 6142220517 Put the srpms under the flavor dir. 2007-01-29 16:06:08 -05:00
jkeating@reducto.boston.redhat.com 2b6f765f31 Add a flavor config option for output
Move some stuff further into the work dir
ensure that the workdir exists
2007-01-24 23:42:40 -05:00
jkeating@reducto.boston.redhat.com c6851db291 - Now use a manifest to determine what to pull in, not comps itself
- Add a minimal-manifest for test composes
- Add current F7 comps file for test composes
- Use some anaconda code to depsolve, gets better (and more common) results
2007-01-23 18:03:52 -05:00
jkeating@dhcp83-49.boston.redhat.com efdf2e6131 Add the ability to get release note files from release note packages. 2006-12-11 23:23:05 -05:00
jkeating@dhcp83-49.boston.redhat.com f376824c84 Enable the ability to pull down and make isos of srpms. 2006-12-09 20:48:08 -05:00
jkeating@dhcp83-49.boston.redhat.com f188205cf9 Add some default config options
Make use of them in various files
2006-11-20 09:52:27 -05:00
jkeating@harpoon.lab.boston.redhat.com 95f6a0b642 First pass at using a config file for options rather than CLI
Much churn, add a new config file.  Seems to still work
2006-11-17 18:01:10 -05:00
jkeating@harpoon.lab.boston.redhat.com 023ad1b0fb Shuffle things around so that dist-utils can be used. 2006-11-08 16:34:59 -05:00
jkeating@localhost.localdomain abd0a5524d Rearrange things so that they'll actually work together 2006-10-23 21:37:13 -04:00
jkeating@harpoon.lab.boston.redhat.com d3e8cff9ba Update the plan with new info and project layout.
Add a tests dir with some testing files.
2006-10-23 17:47:02 -04:00
jkeating@harpoon.lab.boston.redhat.com 123b31573e buildinstall does its own createrepo call, no need to do it twice 2006-10-24 00:46:05 -04:00
jkeating@localhost.localdomain 4d568ae728 Create pungi, the tool to run anaconda tools 2006-10-17 02:08:10 -04:00