[Yum-devel] [PATCH 2/4] big change for having gpgcakeys

2010-12-23 Thread Seth Vidal
The idea is you define a gpgcakey for repo. This is the key that once you import will let you import everything else automatically. If you have a cakey defined then when yum goes to import any other key it will look for a .asc detached signature for that key. if that signature is from the cakey

[Yum-devel] [PATCH 4/4] when we setup our repo dirs - if we're not root use the gpgdir-ro options

2010-12-23 Thread Seth Vidal
--- docs/yum.conf.5 |8 yum/repos.py|2 +- yum/yumRepo.py |7 +-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/yum.conf.5 b/docs/yum.conf.5 index ff10251..0281f1a 100644 --- a/docs/yum.conf.5 +++ b/docs/yum.conf.5 @@ -658,6 +658,14 @@ option (a

[Yum-devel] [PATCH 3/4] when importing a gpgkey - write out a -ro version of the gpgdir for non-root users to use also setup the difficult-to-grok gpgoptions necessary to make a readonly GNUPGHOME wor

2010-12-23 Thread Seth Vidal
change setCacheDir() so it can take an alternative prefix and so we don't set a prefix then assume something else entirely --- yum/misc.py | 37 - 1 files changed, 32 insertions(+), 5 deletions(-) diff --git a/yum/misc.py b/yum/misc.py index e539c27..4ac419e

[Yum-devel] [PATCH 1/4] - add default 'has_sig' and 'valid_sig' keys to the keyinfo dicts - if the thing we get back is valid gpg but has no sigs then sigs will be an empty list :( - make sure we hand

2010-12-23 Thread Seth Vidal
--- yum/misc.py | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/yum/misc.py b/yum/misc.py index 4fa5ed9..7dffe70 100644 --- a/yum/misc.py +++ b/yum/misc.py @@ -431,6 +431,8 @@ def getgpgkeyinfo(rawkey, multiple=False): 'timestamp': key.public_key

Re: [Yum-devel] [yum-utils] package-graph

2010-12-23 Thread Panu Matilainen
On Wed, 22 Dec 2010, seth vidal wrote: On Sun, 2010-12-19 at 00:54 +0100, Pierre-Yves wrote: On Sat, 2010-12-18 at 19:09 +0200, Panu Matilainen wrote: How about just adding a dot output mode to repoquery? Something like --tree-format=[tree|dot] and defaulting tree (feel free to pick a better n