Commit Graph

136 Commits

Author SHA1 Message Date
Jesse Keating b2cf9776ea Rework how repodata gets generated for media.
Necessary as anaconda doesn't handle split metadata being on the
DVD anymore.
2008-01-22 14:44:14 -05:00
Jesse Keating 7de5f15356 use createrepo api 2008-01-21 17:09:02 -05:00
Jesse Keating 1402ef4414 - Always add the core comps group. 2007-12-17 15:12:25 -05:00
Jesse Keating b7b45d59c1 Change path to isomd5sum 2007-12-10 15:17:56 -05:00
Jesse Keating 5abaa9b226 Use a repoview cache.
Make sure the cache dirs exist before using them.
2007-12-10 14:14:06 -05:00
Jesse Keating fb6c4402a2 Enable a createrepo cache. 2007-12-08 10:42:31 -05:00
Jesse Keating 5e0fad1742 Prepare for release
Drop the f8 file, add a rawhide ks file.
2007-12-04 10:05:58 -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 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 3260c78f53 - Use downloadPkgs() from yum instead of a homebrew download function.
- Add a callback to show download progress
- Add a force option to _link, removes existing target file
2007-11-27 21:42:37 -05:00
Jesse Keating 8e5e261774 Enable TMPDIR again so that anconda-runtime working files go to the working dir. 2007-11-27 14:40:36 -05:00
Jesse Keating c60c9b443e Prep for release 2007-11-22 09:31:15 -05:00
Jesse Keating 47b32e3c2d Move the _link function to the __init__ of pypungi to be used by both gather and pungi.
Attempt to hardlink release note files instead of copy them. (helps preserve timestamps)
2007-11-07 19:44:12 -05:00
Jesse Keating 930f0f2667 Fix regets. 2007-10-29 16:26:42 -04:00
Jesse Keating 400ff52477 - Add java-development to the group set. 2007-10-23 17:20:01 -04:00
Jesse Keating 6119a75069 Add a cost to the media repo file. 2007-10-11 13:58:50 -04:00
Jesse Keating bd41b1c239 Update the log. 2007-10-02 08:30:46 -04:00
Jesse Keating 51d96f80e1 don't expire metadata from the media.repo 2007-09-26 14:58:34 -04:00
Jesse Keating 00487ea9c8 Pull in the optional virt stuff 2007-09-26 14:56:37 -04:00
Jesse Keating 835188ac2c - Fix location of media.repo file. 2007-09-25 21:26:59 -04:00
jkeating@localhost.localdomain c2d4e9ed34 Write out a repo file for the media 2007-09-18 15:12:31 -04:00
Jesse Keating 5fafe9c962 - Move the .composeinfo file into the directory we actually publish 2007-09-14 18:22:25 -04:00
Jesse Keating ee22bb65ae - Create repoview content in the tree 2007-09-14 17:48:56 -04:00
Jesse Keating 4cb9239814 Use url line in kickstart files as a repo 2007-09-12 16:42:06 -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 5af01719d3 Consolidate the download code (Mark McLoughlin)
Some whitespace fixes.
2007-09-12 10:08:04 -04:00
Jesse Keating 180564aadc Remove python2.5 needs (Mark McLoughlin) 2007-09-12 09:57:54 -04:00
Jesse Keating 0d888052c4 Fix a bug with file:// repos. 2007-09-11 18:18:46 -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 1357a05145 Fix issues with $basearch and mirrorlist usage. 2007-08-27 12:41:26 -04:00
Jesse Keating d5aea6b8b2 Add a ks file for composing Fedora 8 "Fedora" 2007-08-27 11:00:11 -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 c53ff26201 - Add support for $releasever in repo uris. 2007-08-27 10:33:28 -04:00
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