(2013/04/11 23:43), Joshua Cranmer 🐧 wrote:
On 4/11/2013 2:43 AM, ishikawa wrote:
Has anyone seen the problem of the patches to M-C portion of the
COMM-CENTRAL not accepted by Thunderbird TryServer because the patches
fail although linux32 and linux64 work as expected?

The bug is that the Windows try server is attempting to apply the patches 
twice, which, obviously, fails. The solution I
added (kudos to Mark Banner for originally coming up with it) was to add these 
lines to my push-to-try script:
   sed -i -e 's/--hgtool=[^ ]*/--apply-patches/' $ccrepo/build/client.py-args
   sed -i -e '/ALWAYS_RUN_CLIENT_PY/d' $ccrepo/mail/config/mozconfigs/win32/*

[ccrepo is a shell variable that refers to the root of the comm-central 
repository]


THANK YOU. I will try.

I need a small clarfication. The above sed commands need to be invoked on the 
try server.
Exactly what file is "push-to-try script"?
I mean which file should I change to include the above two lines so that they 
are invoked on
the TryServer after my job submission.

I have a patch below (as suggested in
https://wiki.mozilla.org/Thunderbird/Infrastructure/TryServer )
in my TB TrySEever Job submission. Presumably this can be omitted once I have 
the above two lines
that will take effect.

diff --git a/build/client.py-args b/build/client.py-args
--- a/build/client.py-args
+++ b/build/client.py-args
@@ -1,1 +1,1 @@
---hg-options='--time' --hgtool=../tools/buildfarm/utils/hgtool.py --skip-chatzilla --skip-comm --skip-inspector --skip-venkman --tinderbox-print
+--hg-options='--time' --apply-patches --skip-chatzilla --skip-comm 
--skip-inspector --skip-venkman --tinderbox-print

The name of the file to be modified or some try-server hooks or something
that I need to modify would be appreciated.
(Now it dawns on me that I may need to edit something on my TryServer account 
so that the above two lines
are changed before the TryServer kicks in...)


Now, does anyone know/suggest who should be contacted to have the web page description for Thunderbird TryServer submission updated? We need the community support for TB bug fixing and all that. And we need to ensure that
the basic document is up-to-date for that to take effect, correct?

I could come up with a replacement paragraph when I figure out all the details.

TIA



_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to