Should allow us to move update_translations and its helper scripts to another directory.
Details
- Reviewers
pino - Group Reviewers
Localization - Maniphest Tasks
- T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository
Partially tested locally.
After this is merged and Scripty nightly run is complete, we should check the logs at https://logs.l10n.kde.org/ for potential errors.
Diff Detail
- Repository
- R883 Subversion
- Lint
Lint Skipped - Unit
Unit Tests Skipped
There is still a problem with referencing the subdirs file from non-standard directories. I will fix that in another iteration because SVN reviews are nightmare, let me merge this one first.
I would like to merge this before migrating to Git to minimize the transition period, see https://phabricator.kde.org/T4803#208462
There are various issues here:
- we are touching even branches that are dead or in maintenance mode, which means an high risk of issues
- the same 4 lines of patterns is repeated over and over
- the way to get the directory of a script is overly verbose, using realpath is way easier/faster...
Even considered the above, what is the actual use case for these intrusive changes?
All the scripts assume that there is a structure like:
- l10n
- templates
- scripts
- lang1
- lang2
- langN
so even if scripts is moved away from SVN, the simple way to move this work again is to symlink the directory with the scripts as new scripts subdirectory.
Roughly the same was done in https://invent.kde.org/sysadmin/l10n-scripty/-/commit/6bad01a4aea8cb4c43ba57a904c1c882ebc4fbe9 , abandoning this patch.