Feature #11198: Port complex shell scripts into Python
Port complex shell scripts shipped in /usr/local to Python
I don't think I want to merge this between 3.0~rc1 and 3.0, so I'll assume that "Target version = 3.0" means "I want to look into it between 3.0~rc1 and 3.0" so this can be merged in 3.2. So if we want (some of?) this in 3.0 final, please set target version to 3.0~rc1.
- Target version changed from Tails_3.0 to Tails_3.1
Our plan is to create one subtask per script, share the review work between anonym and I, and spread it over the next months, e.g. we would aim at tackling 1 script each for each Tails release cycle. anonym will create these tickets during the 3.1 cycle.
#20 Updated by segfault about 1 month ago
- Feature Branch changed from goodcrypto:feature/11198 to segfault:feature/11198
I started reviewing the portings done by goodcrypto. I cherry-picked some of the Python scripts, and updated them to include the modifications of the bash scripts since the initial portings. I also found and fixed some bugs and improved the code style a bit. The portings of goodcrypto are very close to the original bash scripts - which is convenient for reviewing, but sometimes results in unnecessary complex code, because some things could be done more elegantly in Python than in bash. This especially applies to the portings of the tailslib scripts, which I tend to reimplement at least partly (I already started with
Nevertheless, the porting was definitely a big effort, and I think it's shame that we didn't manage to use the results before (and give feedback to goodcrypto).
I pushed my preliminary results to the
feature/11198 branch in my gitlab repository (https://gitlab.com/segfault_/tails).