[06:52] <alkisg> Hi, 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] <alkisg> E.g. http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/revision/1532
[07:27] <wgrant> alkisg: Hmm
[07:27] <wgrant> alkisg: It decides it has to rewrite all the POs because the POT has changed.
[07:27] <wgrant> But I think the only change in the POT is this:
[07:28] <wgrant> "POT-Creation-Date: 2013-11-24 04:34+0000\n"
[07:28] <alkisg> wgrant: could you please also read my latest comment in https://answers.launchpad.net/launchpad/+question/220460 ?
[07:28] <alkisg> I 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 all
[07:29] <alkisg> I 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 that
[07:30] <wgrant> I wonder if Launchpad needs to detect that nothing has changed.
[07:30] <wgrant> Otherwise intltool will regenerate the same POT each time and not notice.
[07:30] <wgrant> Because the old one isn't stored in the branch, so intltool can't see it to know that there are no updates.
[07:31] <alkisg> That would be the ideal solution, yes, but gtv said in my launchpad question that it's hard to implement
[07:31] <alkisg> So, 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:32]  * alkisg unfortunately doesn't know how to do that :)
[07:38] <wgrant> So, I have no idea how intltool works, I'm afraid.
[07:38] <wgrant> I don't know too much about translations stuff.
[07:38] <wgrant> It's possible that you can fix it in your code.
[07:39] <wgrant> Ideally 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:40] <alkisg> Hmm... I think that the ldm.pot that we had in the trunk was outdated, I wonder if committing a recent one would fix the issue
[07:41] <alkisg> I.e. it even had wrong source code lines for some translations there
[07:41] <alkisg> Not just its headers....
[07:45] <wgrant> Hm, possibly.
[07:46] <wgrant> It still leaves the issue that once it *does* diverge it'll resume committing every day, but it might fix it for now...
[07:46] <wgrant> But again, I have no idea how intltool does things :(
[07:46] <alkisg> I 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:47] <alkisg> i.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 changes