This change modifies the logic in the pacman module to only append the '-u' flag to the pacman command if sysupgrade is explicitly set to True. This prevents the pkg.installed state from triggering a full system upgrade by default on Arch Linux systems.
* Updating the pkg beacon to fire the events when there are upgrades to packages, but also when watched packages are installed or removed. Breaking out the logic for listing pkgs from context into a separate function to aid in testing. Updating tests to ensure context is not used when use_context option to list_pkgs is False. saltstack/salt-enhancement-proposals#39
* Adding changelog file
* Converting tests to pytest.
* removing self from tests.pytests.unit.modules.test_yumpkg.test_pkg_hold_tdnf
* swapping global variables for pytest fixtures.
* Running pre-commit manually against salt/modules/pkgng.py salt/modules/freebsdpkg.py