Open vollmond08 opened 6 months ago
hey @vollmond08 thanks for reporting, just checked the code, and you are right, the cleanup works only in the scope of a single source. I will open an internal ticket to address this. can't say when it will be done yet.
thanks a lot, will be waiting for resolving or new info
HI team,
We are also facing an issue with this behavior.
When we define multiple sources in the same config file and try to do a cleanup, it deletes keys from every source file and keeps those present in the last source file.
The reason behind this is that phrase push cleanup
generates individual upload IDs for each source file mentioned config.
We should introduce a kind of flag that creates only one upload ID per config file; in that case, it won't delete the keys from other source files.
Good morning, can you help me, please? Regarding these PRs: https://github.com/phrase/phrase-cli/issues/22 https://github.com/phrase/openapi/pull/518
Looks like if I have project with several sources then
phrase push --wait --cleanup
should work, but it doesn't.For testing purposes I created project with 2 sources. So first uploading doesn't wait for second uploading and deletes
spa.test2.footer1
key but shouldn't because it still needed in second source. @jablan mention you, hope you don't mind