[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787846: Please accept --upgradeable as synonym for --upgradable



On Thu, Aug 13, 2015 at 09:30:37PM +0200, Julian Andres Klode wrote:
> Control: tag -1 pending
> 
> On Fri, Jun 05, 2015 at 09:01:09AM -0700, Josh Triplett wrote:
> > Package: apt
> > Version: 1.0.9.10
> > Severity: normal
> > 
> > apt list accepts --upgradable, but not --upgradeable.  However,
> > elsewhere apt uses both interchangeably, and uses the latter in named
> > options:
> > 
> > ~$ grep -i upgradeable /etc/cron.daily/apt
> > #  APT::Periodic::Download-Upgradeable-Packages "0";
> > #  APT::Periodic::Download-Upgradeable-Packages-Debdelta "1";
> > DownloadUpgradeableInterval=0
> > eval $(apt-config shell DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages)
> > eval $(apt-config shell Debdelta APT::Periodic::Download-Upgradeable-Packages-Debdelta)
> >    [ $DownloadUpgradeableInterval -eq 0 ] &&
> > # download all upgradeable packages (if it is requested)
> > DOWNLOAD_UPGRADEABLE_STAMP=/var/lib/apt/periodic/download-upgradeable-stamp
> > if [ $UPDATED -eq 1 ] && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $DownloadUpgradeableInterval; then
> >         update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
> > # auto upgrade all upgradeable packages
> > ~$ grep -i upgradable /etc/cron.daily/apt
> >         debug_echo "download upgradable (success)"
> >         debug_echo "download upgradable (error)"
> >     debug_echo "download upgradable (not run)"
> > 
> > 
> > So, please consider accepting both spellings for "apt list", and please
> > consider auditing usage of the two throughout apt.
> > 
> 
> OK. I added the alias.

Thank you!

- Josh Triplett


Reply to: