Commit Graph

209 Commits (2738ae94c017f6eb1c7ba920a3ca887506fb8735)

Author SHA1 Message Date
anatoly techtonik cb70fbc9d1 composer: Fix `changed` status that always returns False
re.match in has_changed function never worked properly, because match
requires searched sequence to be present exactly at a start of processed
string, which is not the case here.
2016-12-08 11:32:19 -05:00
Mikolaj Chwalisz 5e9f16b206 opkg: fix package state detection 2016-12-08 11:32:19 -05:00
Paul Nicholson 8875d45632 Add missing __init__.py files for find_package() to work 2016-12-08 11:32:19 -05:00
Patrik Lundin 66cb7f1a37 openbsd_pkg: revert "changed" simplification.
module.exit_json() does not like when the "changed" variable contains a
match object:

TypeError: <_sre.SRE_Match object at 0x81e2ae58> is not JSON serializable
2016-12-08 11:32:18 -05:00
Patrik Lundin 98dcb3a006 Simplify logic by using required=True. 2016-12-08 11:32:18 -05:00
James Cammarata e7405643e1 Refactor openbsd package upgrade change to work more like yum/apt 2016-12-08 11:32:18 -05:00
Patrik Lundin 6aaf5eb1d6 openbsd_pkg: add upgrade argument.
Running the module with the argument "upgrade=yes" invokes an upgrade of
all installed packages.

While here clean up some comments.

Functionality requested by @qbit.
2016-12-08 11:32:18 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00
James Cammarata d4b117843a Copying snapshot of extras modules 2016-12-08 11:32:07 -05:00