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
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
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
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
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
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
c8e8f436b5
Remove leftover size comparison code snippit.
2007-05-25 18:50:37 -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
Jesse Keating
c0ab3ad59c
- Fix a logic flaw in the depsolving loop
2007-03-16 13:31:31 -04:00
Jesse Keating
aa0f72f352
Remove extra whitespace. (jwilson)
2007-03-15 16:40:01 -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
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
45a4b62308
First attempt at supporting kickstart package syntax in manifest files
2007-03-01 23:06:41 -05:00
Jesse Keating
2f3a891a5c
Fix gathering of srpms (thanks skvidal)
2007-02-26 13:06:31 -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
6ebb69628f
Fix indent
2007-02-15 16:25:52 -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
7883986e1d
Style fixes
2007-02-13 17:20:01 -05:00
wwoods@test158.test.redhat.com
bc1a73ace4
oops, forgot to check before removing
2007-02-12 16:29:19 -05:00
wwoods@test158.test.redhat.com
6e9172720a
avoid traceback after interrupted download
2007-02-12 15:57:58 -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
5749bcd8da
Minor speedup to short circuit depsolving
2007-02-06 22:53:43 -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
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
147ed75d9c
Rework the depsolving just a bit
...
We get a list out of the yum function, so
treat it as a list, don't just pick the first
package.
2007-01-24 16:27:28 -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