History log of /frameworks/webview/chromium/tools/merge_from_chromium.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
94addffe055d2df297d4cf6c981d13a6e0a62bbc 23-Aug-2013 Torne (Richard Coles) <torne@google.com> Merge scripts: support merging from Chromium releases.

Add support for merging from Chromium releases as well as from trunk.

Bug: 10152587
Change-Id: I34ed760d005c7e8c60d46a1ce36fa0167ae0c2fe
/frameworks/webview/chromium/tools/merge_from_chromium.py
3ec6f231ebe47f01e8fada97209d1b888d757615 05-Aug-2013 Torne (Richard Coles) <torne@google.com> Automerger: generate makefiles before checking licenses.

When an upstream third_party directory is removed, it may still exist in
our downstream checkout because of previously generated makefiles,
breaking the license checks. Fix this by splitting the license check
into a separate step, and doing it after makefile regeneration.

Change-Id: I871c22eda5954cdb643cac5b35783192ed61d3a7
/frameworks/webview/chromium/tools/merge_from_chromium.py
d52d6a84a5dc0ba5264915b2e1524f65d1841b3b 31-May-2013 Torne (Richard Coles) <torne@google.com> Merge scripts: add LASTCHANGE.blink.

Create build/util/LASTCHANGE.blink when merging, containing the last
version of Blink merged into third_party/WebKit. This is used to
generate version header files.

Change-Id: I3ddf5be9081d06541c48713db88a47ca0d37b33e
/frameworks/webview/chromium/tools/merge_from_chromium.py
3b1480d1d7d07cb989630cd5767f439dd3f5fabd 02-May-2013 Torne (Richard Coles) <torne@google.com> automerger: push archived revisions and fix a bug.

When we push a merge successfully, also push a new ref under
refs/archive/chromium-* with the revision number. This allows specific
past merge points to be checked out across all chromium_org/* projects
correctly. We were also incorrectly using git push -f even for pushing
to master-chromium, which could cause downstream changes to be lost;
instead of using -f just specify the + prefix on the refs we want to
allow non-fast-forward updates.

Change-Id: Ide846f2213228b721f90db544f33be268f47759b
/frameworks/webview/chromium/tools/merge_from_chromium.py
1f39fd6f96da9ebacdf3462306f3aef6dec2ec0b 30-Apr-2013 Torne (Richard Coles) <torne@google.com> Merge tool: pass "all" to gyp_webview.

In preparation for changing gyp_webview to only generate makefiles for
one platform by default, pass it "all" from the merge script to tell it
to generate all of them. It currently doesn't use its arguments so this
is safe.

Change-Id: I6d6b020fc009dbcd78e353fde9ca0ae3cc4c5945
/frameworks/webview/chromium/tools/merge_from_chromium.py
c6fd5b4baea9c6c5bbf28635152ce7f9a5ef89ef 19-Apr-2013 Torne (Richard Coles) <torne@google.com> Merge script: fix function reference.

Need to refer to GetCommandStdout with a qualified name now that the
calls are not in merge_common.

Change-Id: Icf613d263a81338b656738fb679526dc78e577fd
/frameworks/webview/chromium/tools/merge_from_chromium.py
09ead754abd2cfcffea54040b1c9ac98db8af834 19-Apr-2013 Torne (Richard Coles) <torne@google.com> Merge tool: update merge_to_master for new projects.

merge_to_master needs just one trivial change to actually do the merge
correctly. To make pushing work, we stop sharing the implementation of
PushToServer between the two scripts as they are increasingly different
and the sharing is just making it harder to understand.

Change-Id: Ib04d6e2f6621c98a72ad157ba7ed6238d542bf5a
/frameworks/webview/chromium/tools/merge_from_chromium.py
4465da421aa5ee3d2f6a016b961c301040f0fa23 16-Apr-2013 Torne (Richard Coles) <torne@google.com> Update merge script to use new local-mirrored repos.

We have local mirror branches of chromium and webkit now; use these in
the merge script instead of fetching directly from upstream, and push
the full history specifically to the history projects.

Change-Id: I6a222cbf1a305408efe8096c2a8b7d7ea2f889dc
/frameworks/webview/chromium/tools/merge_from_chromium.py
3977434d5c3aafc00eaae0d2e78fa8ddd72536f3 09-Feb-2013 Bo Liu <boliu@google.com> Add --sha1 option to merge_from_chromium.py

The tot bot polls one of the Chromium git branches and can provide the
exact sha1 to the merge script to match up information such as
blamelists. This is the first step to making making this happen.

Change-Id: I85a768198902ba7961b60382a00ff59b9226d137
/frameworks/webview/chromium/tools/merge_from_chromium.py
cb12295daa313fcefcfff1681c30f3fe935e762e 19-Feb-2013 Torne (Richard Coles) <torne@google.com> Merge tool: change commit message.

When removing directories according to the known_issues list, change the
commit message to refer to them as "unwanted" instead of "incompatible"
as we are now going to use this list to also prune code/headers that we
don't want to depend on inadvertantly.

Change-Id: I67feda171350f545b17d5023f48a9ff888c60731
/frameworks/webview/chromium/tools/merge_from_chromium.py
a611c7e365068e2130b6de87b2b14e3b75ae1d4e 01-Feb-2013 Bo Liu <boliu@google.com> Add option to get the svn HEAD revision

Not directly querying the svn server using svn info because we are
tracking the git-svn mirror which may be minutes behind.

Instead use existing parsing logic to get the svn revision from git.
Need to add a quiet option since it was printing out a log message.

Change-Id: Ib4e556916e75f3c2fab8b645b430f306d1268733
/frameworks/webview/chromium/tools/merge_from_chromium.py
4098e8316ddaa5b20fd8f97438fd063a5468db0e 08-Jan-2013 Torne (Richard Coles) <torne@google.com> Merge scripts: add missing log message.

The message about generating makefiles got lost at some point, so
failures at this stage look like they are caused by the generation of
LASTCHANGE (the previous message). Restore the message to make this
clearer.

Change-Id: Id152c3f4850b9d8a19ae797548326423bfe72e4a
/frameworks/webview/chromium/tools/merge_from_chromium.py
d2a42d0b062f4c9bb4c3fefc80cde98350b5974e 08-Jan-2013 Torne (Richard Coles) <torne@google.com> Merge scripts: detect no changes to merge case.

Add a new option to merge_from_chromium to use in a script, which
specifies an exit code to use when there were no changes to merge.
Defaults to 0 (success) as that's the current behaviour.

Change-Id: I9a155b5f03beef4cd343f1fd9d0d74f6322ed98c
/frameworks/webview/chromium/tools/merge_from_chromium.py
9fb672be51066b51a372885377cc0eff78e1a34c 07-Jan-2013 Torne (Richard Coles) <torne@google.com> Merge script: add an option to just retrieve LKGR.

Add a command line option that just prints the current LKGR, for scripts
to use.

Change-Id: I5b38bf10b88f65e81f2995fccb8375d4b9cccb78
/frameworks/webview/chromium/tools/merge_from_chromium.py
72724a6d44b1f9ebc7e122045a72f3502185844d 18-Dec-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: fix stringification error.

The exception needs to be explicitly converted to a string before it can
be concatenated.

Change-Id: Ie18a55480e5c16233fc9967f4000039ca21cc422
/frameworks/webview/chromium/tools/merge_from_chromium.py
2735b74c930c17d39cb6510c0c2c0a43df1d181a 14-Dec-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: preserve the gyp errors.

We were accidentally throwing away the gyp output when converting the
exception into a TemporaryMergeError; copy the output into the new
exception.

Change-Id: I1e9361000ec14fdeec9c831393655474e97d0d14
/frameworks/webview/chromium/tools/merge_from_chromium.py
862edb04ee66c65ce977d9b14b8809aad40749ac 12-Dec-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: allow automation to be smarter.

1) Use a branch with the revision number in the name, so that if
something goes wrong we can try again at a later revision without
overwriting the previous branch, in case someone wants to look at it.

2) Split out the code to retrieve LKGR into a separate function that can
be reused, so we don't have to try and do the merge before discovering
there is nothing new.

3) Introduce a new exception, TemporaryMergeError, which specifically
identifies problems that may be fixable by just retrying the merge with
a later revision. Use git reset --hard to clean up broken states when we
are going to raise this.

Change-Id: Ib32a4c211447abeb3daefa5fcc61360e13f704fc
/frameworks/webview/chromium/tools/merge_from_chromium.py
9536a5e5660bc0745d1f5f2f6a6468fa53ffa639 04-Dec-2012 Bo Liu <boliu@google.com> Add --svn_revision=HEAD to merge from tip of tree

Change-Id: Ieed83a3be148cb5725d25dd668398cedca27200c
/frameworks/webview/chromium/tools/merge_from_chromium.py
bda7cff5dd92725ba000fe95d9434f81a7af486e 29-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: support pushing via a temporary branch.

Push to a temporary branch first in order that the server has already
got a copy of all our objects when we push to the real branch, in an
effort to reduce skew between repositories. Move Push into a seperate
function also, so that it can be called from other scripts without
needing to duplicate the branch configuration.

Change-Id: I8eec01db5d0e1439e391b185b7250bbc23c3e3e3
/frameworks/webview/chromium/tools/merge_from_chromium.py
5d65b76f6747f51bb623d00205aca85581ad4d91 29-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: use logging instead of print.

To make it easier to reuse the merge functionality, output using logging
instead of printing to stdout, and configure logging to behave the same
as print normally would by default.

Change-Id: I780675c2fa01640f45e001535158587090f4dff3
/frameworks/webview/chromium/tools/merge_from_chromium.py
2efbabe43f012ff9c06c78fc19fae49421a4d356 23-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: merge from LKGR by default.

Fetch the last known good revision from the Chromium waterfall and use
it as the default revision to merge to. Fix the svn->git revision
conversion to use the earliest match, not the latest, as this is almost
always correct.

Also, rename Snapshot without an underscore as we're going to reuse it.

Change-Id: Idd0c9db40ca6b7212c6bbcca6046bf7b09ff3259
/frameworks/webview/chromium/tools/merge_from_chromium.py
b4b2d8eafdf00e50598aa9305317bd691bd471ad 23-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: remove url/branch parameters.

If the URL or branch changes it's likely the script will need to be
modified anyway; hardcode it instead of taking it as a parameter. This
makes it easier to reuse the functions in this script from another
script.

Change-Id: If77aca9120ed9f925a67677e232d41684308fa1c
/frameworks/webview/chromium/tools/merge_from_chromium.py
14ac2c8d49fa1f5f12e6a80af93f1c50312d80a8 23-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: implement an unattended mode.

Split pushing into a separate step instead of prompting to do it
immediately, and replace --autopush with an --unattended mode switch
that removes all prompts for user interaction.

Change-Id: Id32789eb36232afce99945e97e83ff772bc1b9cd
/frameworks/webview/chromium/tools/merge_from_chromium.py
82c98161b9cd8e8f94e00d89b6fd56540473b3d4 22-Nov-2012 Torne (Richard Coles) <torne@google.com> Merge scripts: clean up and refactor.

Fix many lint errors, and generally tidy up the scripts and make them
easier to follow.

Change-Id: Ice94798218c6765eb86faea80d787036470efafd
/frameworks/webview/chromium/tools/merge_from_chromium.py
5568eda06be15d573395eaba779d62c09f6f96f1 19-Nov-2012 Torne (Richard Coles) <torne@google.com> Update merge script for multi-arch.

We're going to have different makefiles for different target
architectures. Update the merge script to reflect this. Invoke the
existing gyp_webview script rather than duplicating its logic here.

Change-Id: I5451c6df16d1180f37f76b4c1d779e2c64a72e45
/frameworks/webview/chromium/tools/merge_from_chromium.py
cadf645507c329e0f5d7fbb67d9311cfa26ac638 16-Nov-2012 Torne (Richard Coles) <torne@google.com> Update merge with new repos/license info.

1) Add smhasher repository back to the merge list as it's used by the
latest version of ANGLE.

2) Known-incompatible license list has moved to "known_issues" module.

Change-Id: I3c955d1f93244cc8e7ca636a270eb8c4c91a6c5b
/frameworks/webview/chromium/tools/merge_from_chromium.py
1c263f2b522bcb9159547d14f9f57abac46967c7 30-Oct-2012 Torne (Richard Coles) <torne@google.com> Merge tool: refactor reusable code.

The merge-to-master tool will need to reuse some of the code in the
merge-from-chromium tool. Refactor it into a separate module. No
functional changes.

The tool has also been renamed to merge_from_chromium as underscores are
the convention for python module names.

Change-Id: I87a4b4def579364c51b3b03ad993a66d33fdd7ea
/frameworks/webview/chromium/tools/merge_from_chromium.py