Re: [Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread James Antill
On Wed, 2010-11-03 at 17:00 -0400, seth vidal wrote: > On Wed, 2010-11-03 at 15:29 -0400, James Antill wrote: > > > > + > > > +try: > > > +base.load_ts(load_file) > > > +except yum.Errors.YumBaseError, e: > > > +return 1, [to_unicode(e)] > > > +

Re: [Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread seth vidal
On Wed, 2010-11-03 at 21:41 +0200, Ville Skyttä wrote: > On Wednesday 03 November 2010, Seth Vidal wrote: > > > users with systems in relative, or precise, lockstep, to pass around a .ts > > .ts here > > > +def save_ts(self, filename=None, auto=False): > > +"""saves out a transaction

Re: [Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread seth vidal
On Wed, 2010-11-03 at 15:29 -0400, James Antill wrote: > > + > > +try: > > +base.load_ts(load_file) > > +except yum.Errors.YumBaseError, e: > > +return 1, [to_unicode(e)] > > +return 2, [_('Transaction loaded from %s with %s members') % > >

Re: [Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread Ville Skyttä
On Wednesday 03 November 2010, Seth Vidal wrote: > users with systems in relative, or precise, lockstep, to pass around a .ts .ts here > +def save_ts(self, filename=None, auto=False): > +"""saves out a transaction to .yumts file to be loaded later""" .yumts here > +if not f

Re: [Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread James Antill
On Wed, 2010-11-03 at 15:09 -0400, Seth Vidal wrote: > This saves a considerable amount of time if you find you have to deal with > gpg keys, between updates. It is also flexible enough that it could allow > users > with systems in relative, or precise, lockstep, to pass around a .ts file and > ha

[Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.

2010-11-03 Thread Seth Vidal
This saves a considerable amount of time if you find you have to deal with gpg keys, between updates. It is also flexible enough that it could allow users with systems in relative, or precise, lockstep, to pass around a .ts file and have the deps pre-solved - cutting out a considerable amount of ti