Commit Graph

148 Commits

Author SHA1 Message Date
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
Jesse Keating
a0562d7c20 - Use yum's built in conditional handling for things from comps
- Do excludes before group handling.
2007-03-15 13:35:05 -04:00
Jesse Keating
938113eebe Use yum's built in exclude handling 2007-03-15 13:29:57 -04:00
Jesse Keating
e2c43c0a93 - Do things faster/smarter if we've only asked for one disc 2007-03-14 17:57:09 -04:00
Jesse Keating
876cb98ba7 - correctly capture errors from subprocess 2007-03-13 22:16:39 -04:00
Jesse Keating
1c45ac7daf - log the rpm2cpio stuff for release notes 2007-03-13 20:36:48 -04:00
Jesse Keating
9986ab582a - Call createrepo ourselves for the tree, not buildinstall's job 2007-03-07 17:53:53 -05:00
Jesse Keating
4e8d70bf9f - Convert from commands to subprocess for things we call out
Next I will fix up the logging
2007-03-07 14:42:33 -05:00
Jesse Keating
7e155b84e1 - Make the list we hand off to yum to search for as unique as we can 2007-03-02 11:33:01 -05:00
Jesse Keating
be44e2527d Fix various typos, work around a yum api bug, strip the manifest lines right, log more output 2007-03-02 10:24:03 -05:00
Jesse Keating
be069fc5f2 Update comps from test2
prep release
2007-02-28 14:08:07 -05:00
Jesse Keating
2f3a891a5c Fix gathering of srpms (thanks skvidal) 2007-02-26 13:06:31 -05:00
jkeating@reducto.boston.redhat.com
f60b531ee9 Don't use TMPDIR with buildinstall for now 2007-02-21 16:12:31 -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
8ceceaf811 Update the changelog 2007-02-16 13:38:47 -05:00
jkeating@reducto.boston.redhat.com
fba101d3fc Put yum temp stuff in workdir 2007-02-16 09:37:52 -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
090eebdcf8 More logging fixes; add pydoc info to functions 2007-02-15 14:17:39 -05:00
jkeating@localhost.localdomain
ddd183386c Logging patch from jbowes 2007-02-14 17:33:07 -05:00
jkeating@reducto.boston.redhat.com
a8cd5699bb add stuff to changelog 2007-02-13 17:22:22 -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
384608a671 Fix the makefile to not tag when making srpm
Add things to the changelog
2007-02-13 15:43:21 -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@localhost.localdomain
0832f65fce New Make targets 2007-02-12 16:50:02 -05:00
jkeating@reducto.boston.redhat.com
8b1b9b36eb Add support for globbing in manifest
Redo how we find packages making use of a better yum call
Add warning output for unmatched packages in the manifest
2007-02-08 20:25:41 -05:00
jkeating@reducto.boston.redhat.com
2c5642e3d7 - Don't use 'returnSimple' anymore, deprecated in yum api 2007-02-06 13:54:06 -05:00
jkeating@reducto.boston.redhat.com
8a7700a4a1 yum bestPackagesFromList takes an arch argument. Fixes ppc64 bug 2007-02-06 13:51:53 -05:00
jkeating@reducto.boston.redhat.com
130e7576fa Make isodir an object (wwoods) 2007-02-03 16:19:41 -05:00
jkeating@reducto.boston.redhat.com
50bc32037e Make bugurl optional 2007-02-03 15:53:47 -05:00
jkeating@reducto.boston.redhat.com
cec173adfe Hey guess what? implantmd5 alters the iso, so sha1sum must be done after that. 2007-01-30 10:26:48 -05:00
jkeating@reducto.boston.redhat.com
05868a33ac - add bugurl config option for anaconda betanag
prepare for release
2007-01-29 16:11:16 -05:00
jkeating@reducto.boston.redhat.com
6d3ace4529 Fix the ppc booting; clean up srpm split output
refresh comps file
2007-01-29 15:20:49 -05:00
jkeating@reducto.boston.redhat.com
8bdd7bc404 Change the changelog to reflect reality
add stuff to the spec
2007-01-25 13:08:43 -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
44f250d56e Remove dupe lines 2007-01-24 18:14:41 -05:00
jkeating@reducto.boston.redhat.com
da72aa8bbd Grr, update the changelog you dolt. 2007-01-23 18:35:07 -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
5e762d8c15 Forgot to commit the changelog from earlier 2007-01-23 17:43:46 -05:00
jkeating@dhcp83-49.boston.redhat.com
cf42e18b51 Add the changes thus far 2006-12-13 22:04:56 -05:00
jkeating@dhcp83-49.boston.redhat.com
f3f8e80cc2 Add a conf for source 2006-12-11 23:47:41 -05:00
jkeating@dhcp83-49.boston.redhat.com
cdc176ddc1 Add whats been going on 2006-12-11 23:24:52 -05:00
jkeating@dhcp83-49.boston.redhat.com
7b20c21512 Update the changelog with a lame entry 2006-12-09 22:06:55 -05:00
jkeating@harpoon.lab.boston.redhat.com
e7f61f4dea Add what I did to the Changelog 2006-11-22 15:56:04 -05:00
jkeating@harpoon.lab.boston.redhat.com
a309607186 Add changes thus far 2006-11-08 16:36:21 -05:00
jkeating@harpoon.lab.boston.redhat.com
cbb78e7318 Mark changes for today 2006-11-07 23:13:53 -05:00
jkeating@harpoon.lab.boston.redhat.com
87712433df add changes for yesterday in 2006-11-07 00:29:14 -05:00
jkeating@harpoon.lab.boston.redhat.com
e281c3fd27 Add changes sofar today 2006-11-06 16:34:20 -05:00
jkeating@harpoon.lab.boston.redhat.com
c7a08948bf hey, a changelog 2006-11-01 17:56:17 -05:00