DietPi-Software | Add LazyLibrarian#7747
DietPi-Software | Add LazyLibrarian#7747JappeHallunken merged 25 commits intoMichaIng:devfrom JappeHallunken:dev-jappe
Conversation
|
Thank you very much! Yes I think it is good to consequently use I also use I just invited you as collaborator, wondered this was not the case yet. So you can trigger installation tests: https://github.com/MichaIng/DietPi/actions/workflows/dietpi-software.yml I just triggered them, but currently the pipeline is blocked by image builds: https://github.com/MichaIng/DietPi/actions/runs/17899904481 |
remove trailing space Co-authored-by: MichaIng <micha@dietpi.com>
removed empty line
* init * simple test install for lazy librarian * corrected software id * correct user and download for lazy lib * fix pip command * add service for lazylibrarian * fix permissions * fix uninstall * added lazylibrarian to dietpi-services * changed pip install to G_EXEC_OUTPUT=1 bc pip install can take a while * Update dietpi/dietpi-software remove trailing space Co-authored-by: MichaIng <micha@dietpi.com> * Update dietpi-software removed empty line --------- Co-authored-by: MichaIng <micha@dietpi.com>
* init * simple test install for lazy librarian * corrected software id * correct user and download for lazy lib * fix pip command * add service for lazylibrarian * fix permissions * fix uninstall * added lazylibrarian to dietpi-services * changed pip install to G_EXEC_OUTPUT=1 bc pip install can take a while * Update dietpi/dietpi-software remove trailing space Co-authored-by: MichaIng <micha@dietpi.com> * Update dietpi-software removed empty line --------- Co-authored-by: MichaIng <micha@dietpi.com>
There was a request for LazyLibrarian since Readarrr will not be maintained anymore, see https://dietpi.com/forum/t/readarr-has-been-retired-what-about-lazylibrarian-instead/24105/6
I chose to use python venv and install
python3-venvand place the environment in the data folder/mnt/dietpi_userdata/lazylibrarian/env.So in the end we can just remove the whole home folder for uninstall and get rid of everything (except for the package python3-venv).
I dunno it this is the way you like to go, since no other dietpi app uses python3-venv as far as I can tell.
But maybe it's a good idea to seperate different python apps in the future anyways, so maybe you could make it a default dependency for python installations?
I also chose at some point to use
G_EXEC_OUTPUT=1for the pip installation command.With the default behaviour (just to use G_EXEC) the user could get the impression the installation is stuck, because it takes a while even on my RPi 3.
I tested this on:
RPi 3 Model B (aarch64)
DietPi v9.17.2 (dev)
Debian 13.1 (trixie)
Linux TestPi3B 6.12.47+rpt-rpi-v8