Closed blattms closed 6 months ago
Nice, thanks for this script! I wonder if it should be put in a different folder than the python scripts? Maybe we could move the python scripts to a new folder scripts/python
? Then we could create a new folder scripts/bash
or scripts/other
, or whatever, and put this script there? This is because the python scripts include helper files like pyproject.toml
and poetry.lock
and the src
folder (because this is Python project directory and should be kept separate from scripts/files that does not belong to the Python project).
so it is maybe best if you first move the python scripts and then I adapt this PR.
if you first move the python scripts
@blattms Yes of course. See #147.
scripts/text-diff.sh is totally unpolished and might fail in various occasions. Still, it rather handy to detect and review differences made to the text in a subdocument.
Arguments are the PR number and the base name of the changed file. It will checkout main, convert the file to txt and store it as basename_old.txt in /tmp. Then it will checkout the PR, convert the updated document to txt in file /tmp/basename.txt. Execute diff on those two files and start liberoffice with the main file.