platypush/platypush
Fabio Manganiello 429658e7c8
Refactored PackageManager classes.
Instead of having a custom `get_installed` callable field, with
replicated code for each package manager, the field has now been
promoted to a class method containing the common logic, and the
instances now expect a `list` field (base command to list the installed
packages using the specified package manager) and a `parse_list_line`
callback field (to extract the base package name given a raw line from
the command above).

Also, we shouldn't run the list command if we're running within a Docker
context - the host and container environments will be different.
2023-08-28 01:26:19 +02:00
..
app Added --device_id command line option. 2023-08-17 23:16:24 +02:00
backend Added git a required manifest dependency when needed. 2023-08-20 21:19:15 +02:00
bus Using a single constant for DEFAULT_REDIS_QUEUE. 2023-08-13 22:20:16 +02:00
commands Large refactor + stability fixes for the external process control logic. 2023-08-15 11:12:21 +02:00
common Better documentation for the Redis server + LINT fixes. 2023-08-02 22:17:11 +02:00
config Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
context Format string typo fix 2023-06-30 23:07:00 +02:00
cron Added wait_stop method to the entities engine and cron scheduler. 2023-08-14 23:49:47 +02:00
entities Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
event Removed dependency from prctl. 2023-07-23 19:17:30 +02:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
install Added default_os field to PackageManagers enum elements. 2023-08-20 21:21:37 +02:00
message Removed dependency from prctl. 2023-07-23 19:17:30 +02:00
migrations Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
platydock Refactor/documentation round for platydock. 2023-08-22 02:49:05 +02:00
platyvenv platyvenv should generate (and document) a run.sh helper script. 2023-08-27 23:20:03 +02:00
plugins Added git a required manifest dependency when needed. 2023-08-20 21:19:15 +02:00
procedure Major LINT fixes 2021-04-05 00:58:44 +02:00
process Large refactor + stability fixes for the external process control logic. 2023-08-15 11:12:21 +02:00
runner Use sys.executable rather than 'python' to launch the application. 2023-08-19 12:40:57 +02:00
schemas Disk I/O stats are not always available and should therefore be optional. 2023-04-23 22:25:24 +02:00
user LINT/format fixes. 2023-04-25 10:36:27 +02:00
utils Refactored PackageManager classes. 2023-08-28 01:26:19 +02:00
__init__.py Added get_default_pid_file utility method. 2023-08-14 10:47:25 +02:00
__main__.py The __main__ function should take no arguments. 2023-08-17 01:35:39 +02:00
cli.py Added --device_id command line option. 2023-08-17 23:16:24 +02:00
logger.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00