Hey all, weareusing Mojito from ~1y, today when I try to push I received:
[..EDITED..] Running, task id: 84384 Asset content has not changed (84384) Done Unexpected error, see logs for more information
Looking into logs I see:
2019-03-18 22:17:26.014 ERROR 1 --- [_MisfireHandler] o.s.s.quartz.LocalDataSourceJobStore : MisfireHandler: Error handling misfires: Couldn't retrieve trigger: No record found for selection of Trigger with key: 'DYNAMIC.repositoryStatisticJob_15' and statement: SELECT * FROM QRTZ_SIMPLE_TRIGGERS WHERE SCHED_NAME = 'scheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?
Anyone have can help me tobetter understand what's wrong?
SPRING_APPLICATION_JSONto pass all the conf as a JSON object instead of having multiple environment parameters
mojito import -r Demoor
mojito tm-import -r Demo, but none of them worked.
Hi @Victor515 . The
import command is the best way to bootstrap repository from already localized files (https://www.mojito.global//docs/guides/import-localized-files/).
Assuming you have XLIFF like here: https://www.mojito.global//docs/refs/mojito-file-formats/#xliff-example, you can do:
mojito repo-create -n xliffImport -l es-ES mojito push -r xliffImport mojito import -r xliffImport
tm-import is supposed to be used with files that are generated using
tm-export command (mostly use to do project maintenance). There is little configuration that can be done and there isn't really an option to import standalone TMs.
--git-diffbut ended up not using it so far and I'm thinking about removing it. The idea is indeed to not send the file to the server if there are no change. You can also ignore part of the diff. it is useful when working with files generated by an extractor like gettext. Even if the strings are the same, the file will be different because of the created timestamp that changes. What I don't like about
--git-diffis that it is dependent on the SCM and thinking more about it there are probably better way to do that.