[Yum-devel] [PATCH] add support for saving out depsolved transactions and reloading them.
James Antill
james at fedoraproject.org
Wed Nov 3 19:29:18 UTC 2010
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
> have the deps pre-solved - cutting out a considerable amount of time searching
> for providers.
ACK. Although it'd be a nice addition to change:
> +
> + 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') % (load_file, len(base.tsInfo))]
load_ts to return the new txmbrs, so yum shell dtrt.
> + def needTs(self, base, basecmd, extcmds):
> + return False
Also this is wrong.
More information about the Yum-devel
mailing list