[Yum-devel] Re: take two: protect-packages plugin

2007-06-21 Thread Matthew Miller
Also, Sveta says: wait, don't send that yet, change this: confdir = conduit.confString('main','confdir') if not confdir: confdir = /etc/sysconfig/ to confdir = conduit.confString('main','confdir','/etc/sysconfig') . Which I *will* take credit for, because I'm the one that

Re: [Yum-devel] take two: protect-packages plugin

2007-06-21 Thread James Antill
On Thu, 2007-06-21 at 10:46 -0400, Matthew Miller wrote: if os.access(confdir + /protected-packages, os.R_OK) : protectedlist.append(confdir + /protected-packages) if os.access(confdir + /protected-packages.d, os.R_OK): protectedlist.extend(glob.glob(confdir +

Re: [Yum-devel] take two: protect-packages plugin

2007-06-21 Thread Matthew Miller
On Thu, Jun 21, 2007 at 12:13:30PM -0400, James Antill wrote: This seems really indirect, did I miss the messages for why we don't just have a foo.d directory (and confdir be it, defaulting to: /etc/sysconfig/yum-protect-packages.d). Mostly because the .d directory was a suggestion after the

Re: [Yum-devel] take two: protect-packages plugin

2007-06-21 Thread Matthew Miller
On Thu, Jun 21, 2007 at 01:07:01PM -0400, Matthew Miller wrote: if protectedlist: for f in protectedlist: for line in open(f).readlines(): line = string.strip(line) if (line and line[0] != # and line not in opts.override

Re: [Yum-devel] Re: take two: protect-packages plugin

2007-06-21 Thread Tim Lauridsen
Matthew Miller wrote: Also, Sveta says: wait, don't send that yet, change this: confdir = conduit.confString('main','confdir') if not confdir: confdir = /etc/sysconfig/ to confdir = conduit.confString('main','confdir','/etc/sysconfig') . Which I *will* take credit for,

[Yum-devel] yum 3.2.1 released

2007-06-21 Thread seth vidal
Hi everyone, After a fair bit of painful release testing I just put up yum 3.2.1. It fixes a bunch of bugs from 3.2.0 and some iterative improvements. some examples: - fixes to the depsolving to get it much more correct than it was in 3.2.0 - catch errors from yum-updatesd more gracefully -

[Yum-devel] Have yum revert to stable releases?

2007-06-21 Thread Erin Spiceland
Hi, I recently set my system to update from the development repos, but I would like to revert my system back to all stable releases now. How would I accomplish this? Thanks! Erin ___ Yum-devel mailing list Yum-devel@linux.duke.edu

Re: [Yum-devel] Have yum revert to stable releases?

2007-06-21 Thread seth vidal
On Thu, 2007-06-21 at 22:05 -0400, Erin Spiceland wrote: Hi, I recently set my system to update from the development repos, but I would like to revert my system back to all stable releases now. How would I accomplish this? you will have to reinstall. Rolling back isn't a reliable operation