upgrade module

Author:Chris Warrick <chris@chriswarrick.com>
Copyright:© 2011-2019, Chris Warrick.
License:BSD (see /LICENSE or Appendix B.)

New in version

Changed in version 3.0.0: Class removed, its methods became module-level functions

Tools for performing upgrades of AUR packages.

Copyright:© 2011-2019, Chris Warrick.
License:BSD (see /LICENSE).

Gather a list of all foreign packages.

pkgbuilder.upgrade.list_upgradable(pkglist, vcsup=False, aurcache=None, ignorelist=None)[source]

Compare package versions and returns upgradable ones.

Changed in version 4.2.9.

pkgbuilder.upgrade.auto_upgrade(downgrade=False, vcsup=False, fetchonly=False, ignorelist=None)[source]

Human friendly upgrade question and output.

Returns packages — should be passed over to builder functions.