On (2013ๅนด04ๆ13ๆฅ 02:47), Jeff Hammel wrote:
On 04/11/2013 11:40 AM, Joshua Cranmer ๐ง wrote:
On 4/11/2013 1:33 PM, ISHIKAWA,chiaki wrote:
(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 locally wrote a shell script that I call "push-to-try" that
automatically does everything I need to do when pushing to try. One of its
features is automatically converting applied patches in the
mozilla-central repository to the applied patches. In effect, the actual
change you would need to do is delete "ALWAYS_RUN_CLIENT_PY=1" from the
mail/config/mozconfigs/win32/ files.
(I also have one of these scripts at http://k0s.org/mozilla/hg/MozillaTry ;
be careful, it will mess with your repo! I imagine there are probably dozens
of other one-offs to this end.)
I am impressed, and at the same time, overwhelmed at the scripts at the hg
repository.
Right now, all I do before submission, is
- make sure that I commit all the necessary changes locally,
- create the C-C local MQ entry for M-C changes I created, and
then add win32 change suggested by Joshua Cranmer, and
add trychooser option on top of them.
What do we need more?
(Any particular issues in your work flow?)
I suppose many people have created similar scripts.
TIA
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform