Commit Graph

13 Commits

Author SHA1 Message Date
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 a621cdc5c5 Need to import shutil in order to use it. 2007-11-21 09:17:14 -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 28c0eca953 Make base pungi class inherit from object, this makes things
better on older pythons.  (toshio)
2007-09-12 10:16:08 -04:00
Jesse Keating 180564aadc Remove python2.5 needs (Mark McLoughlin) 2007-09-12 09:57:54 -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 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 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 6612ec39ba Move the stream handler to be in the named loggers, not the root logger
This prevents double messages to the stream coming from Pungi.
2007-08-17 09:14:18 -04:00
Jesse Keating 55d398b5b4 set a proper format for the console output 2007-08-15 22:14:09 -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
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