alkisgHi, how can I prevent launchpad from doing daily translation commits, when the only things that are changed are the headers that launchpad itself inserts, like "X-Launchpad-Export-Date: 2013-11-24 04:30+0000\n"?06:52
alkisgE.g. http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/revision/153206:52
wgrantalkisg: Hmm07:27
wgrantalkisg: It decides it has to rewrite all the POs because the POT has changed.07:27
wgrantBut I think the only change in the POT is this:07:27
wgrant"POT-Creation-Date: 2013-11-24 04:34+0000\n"07:28
alkisgwgrant: could you please also read my latest comment in https://answers.launchpad.net/launchpad/+question/220460 ?07:28
alkisgI think the problem is us, we don't know how to tell intltool to not change/delete ldm.pot when there are no changes at all07:28
alkisgI think that intltool should be clever enough to not change even the header, when there are no changes, but we don't know how to do that07:29
wgrantI wonder if Launchpad needs to detect that nothing has changed.07:30
wgrantOtherwise intltool will regenerate the same POT each time and not notice.07:30
wgrantBecause the old one isn't stored in the branch, so intltool can't see it to know that there are no updates.07:30
alkisgThat would be the ideal solution, yes, but gtv said in my launchpad question that it's hard to implement07:31
alkisgSo, maybe us putting back ldm.pot in the source tree and having intltool not update it when there are no changes, could be a good solution at least for this project...07:31
* alkisg unfortunately doesn't know how to do that :)07:32
wgrantSo, I have no idea how intltool works, I'm afraid.07:38
wgrantI don't know too much about translations stuff.07:38
wgrantIt's possible that you can fix it in your code.07:38
wgrantIdeally Launchpad would let you tell it to not attempt template generation, and just go with whatever's in the branch, but there's no way to do that today.07:39
alkisgHmm... I think that the ldm.pot that we had in the trunk was outdated, I wonder if committing a recent one would fix the issue07:40
alkisgI.e. it even had wrong source code lines for some translations there07:41
alkisgNot just its headers....07:41
wgrantHm, possibly.07:45
wgrantIt still leaves the issue that once it *does* diverge it'll resume committing every day, but it might fix it for now...07:46
wgrantBut again, I have no idea how intltool does things :(07:46
alkisgI think that if we leave ldm.pot in the branch, and manage to tell intltool to not remove it after build, then problem solved,07:46
alkisgi.e. launchpad will commit an updated ldm.pot on our source tree when there are actual changes, and stop committing both .pot and .po when there aren't any changes07:47
=== Vorpal is now known as an
=== an is now known as Vorpal

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!