[Yum-devel] [PATCH] Add downloadonly option to userconfirm download prompt.

James Antill james at fedoraproject.org
Tue Apr 23 15:31:55 UTC 2013

On Tue, 2013-04-23 at 11:00 -0400, Zdenek Pavlas wrote:
> >          # confirm with user
> >          if self._promptWanted():
> > -            if self.conf.assumeno or not self.userconfirm():
> > +            uc = None
> > +            if not self.conf.assumeno:
> > +                uc = _downloadonly_userconfirm(self)
> When using --downloadonly, I almost always use -y too.  This could
> be implicit.  When someone wants to review the transaction and THEN run
> downloadonly, he can now omit --downloadonly and answer 'd' to the prompt.

 That's what the patch does, no?

 I mean, I think we are thinking the same thing ... generally I run a
command, and think yeh I want to just download that stuff so hit 'n' and
then run it again with -y --downloadonly and now I can just hit 'd' at
the prompt instead.

 Or is there something else that I'm missing?

More information about the Yum-devel mailing list