[patch 0/4] Some miscellanous pungi patches

2007-08-31 Thread Mark McLoughlin
Hi, What follows are a few miscellanous patches for pungi. There's nothing major here. The one I'm most interested in is the third patch which adds new API to make it easier for other programs to use pypungi.gather. Cheers, Mark. -- -- Fedora-buildsys-list mailing list Fedora-b

[patch 1/4] Remove Python 2.5 usage

2007-08-31 Thread Mark McLoughlin
An empty list of base classes wasn't allowed before Python 2.5 so remove it since it seems to be the only Python 2.5 feature being used. Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi/pypungi/

[patch 2/4] Fix local repository handling

2007-08-31 Thread Mark McLoughlin
Fix a clear typo in the way local repositories are handled. The path to the package returned by getPackage() is "repo" and it is this that should be copied to /var/cache/pungi Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi/p

[patch 3/4] Re-factor package download code

2007-08-31 Thread Mark McLoughlin
There are two copies of the package downloading code. Trivially merge them to ease maintenance. Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi/pypungi/gather.py === --- pungi.orig/pypungi/gather.py +++ pungi/p

[patch 4/4] Add a Config class

2007-08-31 Thread Mark McLoughlin
In order to use the gather module outside of pungi itself, you need to pass it a valid config object. To make that easier, this patch moves the config object definition from pungi into pypungi. Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi

Re: [patch 0/4] Some miscellanous pungi patches

2007-08-31 Thread Mark McLoughlin
Hey, Oh, yes, I forgot to say ... pungi/share/comps-cleanup.xml seems to be missing from the repo and the 1.0.2 doesn't seem to have been pushed to the repo either? Cheers, Mark. -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/l

Re: [patch 1/4] Remove Python 2.5 usage

2007-08-31 Thread Mark McLoughlin
On Fri, 2007-08-31 at 09:24 -0700, Toshio Kuratomi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > An empty list of base classes wasn't allowed before Python 2.5 so > > remove it since it seems to be the only Python 2.5 feature being > > used. > > What version of python are you tak

Re: [patch 1/4] Remove Python 2.5 usage

2007-09-01 Thread Mark McLoughlin
Hi Jesse, On Fri, 2007-08-31 at 19:23 -0400, Jesse Keating wrote: > Curious what you're attempting to do with pungi on a < python2.5 > platform... I'm certainly not thinking about backwards compat when > developing future versions of pungi to compose future versions of > Fedora... Basica

Re: [patch 4/4] Add a Config class

2007-09-03 Thread Mark McLoughlin
Hi, Here's a version of this patch which applies against the latest upstream repo. Cheers, Mark. Index: pungi/pungi === --- pungi.orig/pungi +++ pungi/pungi @@ -13,14 +13,13 @@ # Foundation, Inc., 59 Temple Place - Suite 330,

[patch 0/3] Support repo priorities

2007-09-03 Thread Mark McLoughlin
Hi, If you want to compose a tree from multiple repositories and, for example, you want a repository's contents to take precendence over other packages, then you need some way to prioritize repos. e.g. if you "forked" Fedora, changed the kernel and wanted to build a tree consisting

[patch 1/3] Enable yum plugins

2007-09-03 Thread Mark McLoughlin
cific configuration - add the code for handling repo priorities into pungi - add the code for handling repo priorities into yum itself Note, it would most likely make sense for e.g. anaconda and livecd-creator to also handle priorities, so this isn't just and issue for pungi Signed-off-by: Mark

[patch 2/3] Support repository priorities

2007-09-03 Thread Mark McLoughlin
Support yum repository priorities supplied through kickstart. Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi/pypungi/gather.py === --- pungi.orig/pypungi/gather.py +++ pungi/pypungi/gather.py @@ -117,6

[patch 3/3] Add a --prioritize option

2007-09-03 Thread Mark McLoughlin
-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Index: pungi/pypungi/gather.py === --- pungi.orig/pypungi/gather.py +++ pungi/pypungi/gather.py @@ -47,7 +47,7 @@ class PungiYum(yum.YumBase): pass class Gather(pypungi.Pun

[PATCH] Add anaconda-runtime to the package list for buildinstall

2008-04-21 Thread Mark McLoughlin
. Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> --- src/bin/pungi.py |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/bin/pungi.py b/src/bin/pungi.py index 91ca403..bcbe6fd 100755 --- a/src/bin/pungi.py +++ b/src/bin/pungi.py @@ -77,6 +77,10 @@ de