Commit Graph

99 Commits

Author SHA1 Message Date
Jesse Keating 5c70f43906 Move arch setup to __init__.py so that it is done if
gather is not used.
2007-08-27 10:02:03 -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 666fb84064 Use native pykickstart for %packages handling. 2007-08-26 14:42:59 -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 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 9c757202c2 Get group data from the repos instead of our own comps file.
Update ToDo with status and remove things that don't belong
2007-08-24 13:50:05 -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 af625b2b9c Add a source config for Fedora spins 2007-08-23 12:59:11 -04:00
Jesse Keating 823e578ff0 Hurray for line feed. 2007-08-21 12:47:40 -04:00
Jesse Keating c7e5e94eac - Rework how source rpms are pulled in
Always pull in 'src' packages, filter when not needed
2007-08-21 12:40:44 -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 829f90aa5f When reising an error, print the error too.
bump for release
2007-07-28 11:02:20 -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 cabdee9e92 - Add a few more desktopy things to manifest 2007-07-24 09:40:49 -04:00
Jesse Keating 14e3a3922b Always log stdout before checking for stderr output 2007-07-20 16:59:09 -04:00
Jesse Keating 8dd1c2aa93 - Don't quote things passed to mkisofs, not a shell 2007-07-20 14:40:32 -04:00
Jesse Keating 6e819ae0f1 Add memtest86+ to manifest 2007-07-06 13:02:00 -04:00
Jesse Keating 7a16c58d83 Create a little package sack out of dep providers to grab just the newest ones 2007-06-19 22:19:19 -04:00
Jesse Keating 7c88b058e1 Point to the right manifest file in pungi.conf 2007-06-13 18:04:20 -04:00
Jesse Keating 51b7c6d81a Don't use flavor for a log file if no flavor set (Trac #48) 2007-06-13 18:03:29 -04:00
Jesse Keating a5fdee3d55 An empty list doesn't equate to None. Who knew (:
Fixes broken dep logging
2007-06-11 20:45:32 -04:00
Jesse Keating d507bed1b2 Use universal newlines in getting process output (Trac #44) 2007-06-11 14:59:18 -04:00
Jesse Keating 02539d5d9e Enable the source repo in yum configs (Trac #47) 2007-06-11 14:56:43 -04:00
Jesse Keating 20d68be58d Add a install target to make (Trac #37) 2007-06-11 14:37:35 -04:00
Jesse Keating a300431630 When setting default cdsize, value must be string. 2007-05-25 18:56:09 -04:00
Jesse Keating c8e8f436b5 Remove leftover size comparison code snippit. 2007-05-25 18:50:37 -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 565938526e - Commit config files used for producing Fedora 7
- Default pungi.conf file to using Fedora 7 stuff
2007-05-23 11:20:17 -04:00
Jesse Keating ff9fdd4a21 Forgot to commit these with the last change 2007-05-21 12:05:36 -04:00
Jesse Keating 0225de1248 - Shorten 'development' to 'devel' in default config, more space for mkisofs 2007-05-15 14:10:20 -04:00
Jesse Keating 176f7ea5ef pkgobj.packagesize is now an int, not a str. 2007-05-15 13:29:30 -04:00
Jesse Keating 59ce91800b - Apply sparc patches (spot) 2007-05-15 13:06:34 -04:00
Jesse Keating df3900d944 Don't quote ISO label, not running mkisofs in shell 2007-05-15 11:37:37 -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 0a0bbe6688 Fix source iso building 2007-03-26 10:39:46 -04:00
Jesse Keating d2c9c76a55 Rescue fix from Prarit 2007-03-22 17:48:41 -04:00
Jesse Keating ba6c7b1ae8 Specify flavor for buildinstall 2007-03-22 14:01:26 -04:00
Jesse Keating c0ab3ad59c - Fix a logic flaw in the depsolving loop 2007-03-16 13:31:31 -04:00
Jesse Keating 003ceaa7be - Change how depsolving is done
- Get all potential matches for a dep, instead of our 'best'
    our 'best' may not be the same as install time best.
  - Remove anaconda code, use direct yum functions to get deps
  - Use a True/False flag to depsolve instead of iterating over
    a dict.
  - Log what packages are being added for which reasons.

- Also fix a think-o with the false negative unmatched workaround.
2007-03-15 16:25:57 -04:00
Jesse Keating 23e40be9ee - Work around false positive 'unmatched' packages (globs are fun) 2007-03-15 14:25:24 -04:00
Jesse Keating 997c6bdf15 Get all potential matches for deps, let install time figure
the best one to use.

Remove code stolen from anaconda as it isnt needed anymore.
This may bloat the compose, but we need the multiarch stuff
and potential matches so that install time can figure out what
to use.
2007-03-15 14:17:53 -04:00