daps
daps copied to clipboard
DAPS does not update manifest files after changing translations flags in XML files
I just encountered the following behavior with daps version 2.4.0.-147.1:
Problem description
- ran
daps -d DC-SLE-HA-guide locdrop --def-file=DEF-SLE-HA-manuals - spotted a warning: 'The following files are not marked for translation: [...]
- added missing translation flag for two files with
docmanager -v set -T yes xml/ha_lb_haproxy.xml xml/ha_lb_lvs.xml - ran
git diffto check result and submitted the changes - re-ran the locdrop command and checked the resulting tarballs
- the tarballs 'translation-book.sleha_en.tar.bz2' and 'setfiles-book.sleha_en.tar.bz2' had changed their content according to the newly added flags for two files - the 2 files were now included in the 'trans' tarball and had been removed from the 'setfiles' tarball
- however the corresponding manifest files in both tarballs 'book.sleha_manifest_trans.txt' and ''book.sleha_manifest_notrans.txt' had not been rewritten and still contained the former contents
Expected behavior
- update manifest files in both tarballs accordingly
Steps to reproduce the behavior
- see above
NOTE: After removing the build directory and re-running the locdrop command, everything worked as expected (manifest files were up-to-date) but still this should be changed to work without cleaning the build directory, if possible.