import urllib
from common_includes import *
-import push_to_trunk
+import push_to_candidates
PUSH_MESSAGE_RE = re.compile(r".* \(based on ([a-fA-F0-9]+)\)$")
# TODO(machenbach): Update the script before calling it.
if self._options.push:
self._side_effect_handler.Call(
- push_to_trunk.PushToCandidates().Run, args)
+ push_to_candidates.PushToCandidates().Run, args)
class AutoPush(ScriptsBase):
# The git revision on the branch.
"revision_git": git_hash,
# The cr commit position number on master.
- "bleeding_edge": master_position,
+ "master_position": master_position,
# The same for git.
- "bleeding_edge_git": master_hash,
+ "master_hash": master_hash,
# The branch name.
"branch": branch,
# The version for displaying in the form 3.26.3 or 3.26.3.12.
from common_includes import *
import merge_to_branch
from merge_to_branch import *
-import push_to_trunk
-from push_to_trunk import *
+import push_to_candidates
+from push_to_candidates import *
import chromium_roll
from chromium_roll import ChromiumRoll
import releases
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" "
"origin/candidates"), "push_hash\n"),
Cmd("git log -1 --format=%s push_hash",
- "Version 3.22.5 (based on bleeding_edge revision r22622)\n"),
+ "Version 3.22.5 (based on abc)\n"),
URL("https://chromium-build.appspot.com/p/chromium/sheriff_v8.js",
"document.write('g_name')"),
Cmd("git status -s -uno", "", cwd=chrome_dir),
Cmd("git new-branch v8-roll-push_hash", "", cwd=chrome_dir),
Cmd("roll-dep v8 push_hash", "rolled", cb=WriteDeps, cwd=chrome_dir),
Cmd(("git commit -am \"Update V8 to version 3.22.5 "
- "(based on bleeding_edge revision r22622).\n\n"
+ "(based on abc).\n\n"
"Please reply to the V8 sheriff c_name@chromium.org in "
"case of problems.\n\nTBR=c_name@chromium.org\" "
"--author \"author@chromium.org <author@chromium.org>\""),
{
"revision": "345",
"revision_git": "hash_345",
- "bleeding_edge": "",
- "bleeding_edge_git": "",
+ "master_position": "",
+ "master_hash": "",
"patches_merged": "",
"version": "3.22.3",
"chromium_revision": "3456:4566",
"revision": "123",
"revision_git": "hash_123",
"patches_merged": "",
- "bleeding_edge": "",
- "bleeding_edge_git": "",
+ "master_position": "",
+ "master_hash": "",
"version": "3.21.2",
"chromium_revision": "",
"branch": "3.21",
"revision": "234",
"revision_git": "hash_234",
"patches_merged": "abc12",
- "bleeding_edge": "",
- "bleeding_edge_git": "",
+ "master_position": "",
+ "master_hash": "",
"version": "3.3.1.1",
"chromium_revision": "",
"branch": "3.3",