Commit Graph

119 Commits

Author SHA1 Message Date
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
f074a600de Use a better method to get the ks method into a repo.
Requires a newer version of pykickstart, indicate such in the spec.
2007-09-12 17:38:01 -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
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
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
72fdba8821 Unused code snippit 2007-08-27 17:12:32 -04:00
Jesse Keating
1357a05145 Fix issues with $basearch and mirrorlist usage. 2007-08-27 12:41:26 -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
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
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
cfdfdbbabe Fix a typo. Only supply logger once. 2007-08-24 21:08:13 -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
c8beac9215 product_name -> name. KISS 2007-08-24 09:15:58 -04:00
Jesse Keating
27d0a9808f Fix a tab/space issue 2007-08-21 22:11:08 -04:00
Jesse Keating
2221c0fb66 Remove commented code that is not needed anymore. Yay! 2007-08-21 12:42:33 -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
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
7aea97468c workdir is defined in the parent PungiBase class 2007-08-16 15:43:58 -04:00
Jesse Keating
3abfe92500 Fix indent issue. We're not done downloading packages at each and every package (: 2007-08-16 14:16:48 -04:00
Jesse Keating
25fa13f329 Drop some hints as to when we're done with various tasks 2007-08-16 10:02:43 -04:00
Jesse Keating
a83f26efbd Only log debug output if there is content to log 2007-08-15 22:14:46 -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
Jesse Keating
9cb130eb8d Create a subclass of yum to work around logging fun 2007-08-08 23:50:33 -04:00
Jesse Keating
33a542f60b We set debuglevel when creating the yum object. 2007-08-08 10:25:51 -04:00
Jesse Keating
24cb8d04cf Make Gather() no longer a subclass of yum
Create an 'ayum' object to manipulate
rename source yum object to 'syum'
2007-08-08 10:08:47 -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
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
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
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
c8e8f436b5 Remove leftover size comparison code snippit. 2007-05-25 18:50:37 -04:00
Jesse Keating
69bf86d8a6 Better handle CD size variable (float vs string and comments) 2007-05-25 14:28:38 -04:00
Jesse Keating
804be3f018 Use a packages checksum to validate cached download
Using a package size is not good enough, fails to see
a changed gpg sig.
2007-05-24 02:06:25 -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