aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/command.py
Commit message (Collapse)AuthorAge
* command: Drop superfluous bracesGuido Günther2022-12-30
| | | | Make flake8 happy
* Be more specific about the type of errorGuido Günther2016-12-26
|
* Add simple helper to run from working copyGuido Günther2016-12-26
| | | | since running whatmaps/command.py doesn't work with python3
* flake8 cleanupsGuido Günther2016-12-15
|
* Allow to filter service by regular expressionsGuido Günther2016-09-23
|
* command: Use a distro instance instead of classGuido Günther2016-09-23
| | | | so we can invoke non-static and non-class methods
* Don't abort if we can't parse a single packageGuido Günther2016-09-23
| | | | | so far we would abort the whole operation, skip the unreadable packages instead and return with non-zero.
* whatmaps/command.py: flake8 cleanGuido Günther2016-09-23
|
* Add missing spaces in warningsGuido Günther2016-09-23
|
* Don't bail out if we can't find a package in apt's cacheGuido Günther2016-04-18
| | | | | Rather warn about it and continue so we get restarts for all other packages.
* Use python3 instead of python2Guido Günther2016-02-24
|
* Silence output if package list is emptyGuido Günther2015-05-28
|
* Fix service name parsing for systemd >= 215Guido Günther2014-12-28
| | | | | | | | | | | Newer systemd put a colored bullet point '●' in front of the service name output: # sudo systemctl status 971 ● libvirtd.service - Virtualization daemon ... Skip that.
* Log services to restart in apt pipeline tooGuido Günther2014-12-28
| | | | | All other code paths log this at debug level. We should to so too to get improved output when using unattended-upgrades.
* Abort early if we found a matchGuido Günther2014-07-14
| | | | | | Once we found a shared object that a process maps we don't need to continue with the other shared objects since one is enough to require a process restart.
* Add systemd supportGuido Günther2014-07-11
|
* Move find_services and find_pkgs out of main()Guido Günther2014-07-11
|
* Move detect_distro to DistroGuido Günther2014-07-01
|
* Fix informal messageGuido Günther2014-06-28
| | | | Packages don't map shared objects
* Remove unused importsGuido Günther2014-06-28
|
* Print userfriendly message if not rootGuido Günther2014-06-10
| | | | Closes: #751088
* Remove unused importsGuido Günther2014-06-10
|
* Use python3 friendly file modeGuido Günther2014-04-22
|
* Use print as functionGuido Günther2014-04-22
| | | | to make python3 happy
* Use loops instead of list comprehensionGuido Günther2014-04-22
| | | | since 2to3 would recommend this anyway
* Use 'in' instead of 'has_key'Guido Günther2014-04-22
| | | | which doesn't exit in Python3
* Use 'open' instead of 'file'Guido Günther2014-04-22
| | | | since the later doesn't exist in python3
* Split out and test RedHatDistroGuido Günther2014-04-21
|
* fixup! Split out and test DebianDistroGuido Günther2014-04-21
|
* Split out and test RpmPkgGuido Günther2014-04-21
|
* Split out and test DebianPkgGuido Günther2014-04-21
|
* Split out and test DebianDistroGuido Günther2014-04-21
|
* Split out and test PkgGuido Günther2014-04-20
|
* Split out and test DistroGuido Günther2014-04-20
|
* Split out and test ProcessGuido Günther2014-04-18
|
* Use entrypointGuido Günther2014-04-18