0
Commit Graph

30 Commits

Author SHA1 Message Date
scheib@chromium.org
887c918bce Add bisect-builds.py help text discussing revisions.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12223102

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181996 0039d316-1c4b-4281-b951-d872f2087c98
2013-02-12 20:30:31 +00:00
ikarienator@chromium.org
09c58da837 Update the help text of bisect-builds.py tool.
This change is to update the help text to indicate that the tool supports reversed good/bad revision range.

BUG=none
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11772002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175384 0039d316-1c4b-4281-b951-d872f2087c98
2013-01-07 21:30:17 +00:00
enne@chromium.org
eadd95d47a Make tools/bisect_builds.py handle reversed bad/good revision ranges
BUG=none

Review URL: https://codereview.chromium.org/11266025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165781 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-02 22:42:09 +00:00
vitalybuka@chromium.org
e29c08c582 Don't crash on corrupted archive and allow user to continue bisect with different builds.
BUG=NONE
NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/10917277

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157192 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-17 20:50:50 +00:00
vitalybuka@chromium.org
801fb650ca Skip bad/good even for oficial builds.
Fixed bad > good check, it worked as string comparison when for any build type it's int or four ints.
No prompt if bad/good option ommited, just fall back to possible min/max. User always can provide them in command line. So options were redundant but increased code complexity.

BUG=none
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10704213

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147707 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-20 20:13:50 +00:00
vitalybuka@chromium.org
b29058326a Changed official builds URL.
New one has more builds.



BUG=none
TEST=none
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10779004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147533 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-19 21:28:43 +00:00
vitalybuka@chromium.org
c2540d5014 Fixed index type in GetOfficialBuildsList.
BUG=131332


Review URL: https://chromiumcodereview.appspot.com/10536022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140715 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-06 07:02:08 +00:00
asvitkine@chromium.org
53bb6347f4 Add option (u)nknown to bisect-builds.py.
This is useful when the revision being tested has some other problem that prevents testing the original issue.

BUG=none
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/10459050

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139967 0039d316-1c4b-4281-b951-d872f2087c98
2012-06-01 04:11:00 +00:00
anantha@chromium.org
d0149c5cb7 Modified the bisect script to work for official Chrome builds.
Review URL: https://chromiumcodereview.appspot.com/10408045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139374 0039d316-1c4b-4281-b951-d872f2087c98
2012-05-29 21:12:11 +00:00
thakis@chromium.org
9fc175ca47 Let bisect_builds print links that show more than 100 webkit revisions.
BUG=129418
TEST=none
NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/10434013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138683 0039d316-1c4b-4281-b951-d872f2087c98
2012-05-24 01:15:42 +00:00
dbeam@chromium.org
3d6d9f8443 [tools] : is a reserved character and shouldn't be used in a query parameter,
but mainly I can't click links spit out by bisect-builds.py in gnome-terminal.
http://www.ietf.org/rfc/rfc2396.txt (sec 3.4)

R=estade@chromium.org
BUG=None
TEST=%3A instead of : and dbeam is happy when he clicks links.
NOTRY=true

Review URL: http://codereview.chromium.org/10119002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132750 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-18 05:55:13 +00:00
dmazzoni@chromium.org
05ff3fddcd Clarify output from bisect-builds so that it's more clear what the
bad revision range is.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10083029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132695 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-17 23:24:06 +00:00
dbeam@chromium.org
5e93cf16b3 [tools] Add --times option to bisect-builds.py
R=rsesek@chromium.org,maruel@chromium.org
TEST=script still works, -t/--times works as expected, no stack when (q)uitting.


Review URL: http://codereview.chromium.org/9232057

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119558 0039d316-1c4b-4281-b951-d872f2087c98
2012-01-28 02:16:56 +00:00
maruel@chromium.org
cb155a802b Fix python scripts in src/tools/
Make sure that:
- shebang is only present for executable files
- shebang is #!/usr/bin/env python
- __main__ is only present for executable files
- file's executable bit is coherent

Also fix EOF LF to be only one.

TBR=timurrrr@chromium.org
BUG=105108
TEST=

Review URL: http://codereview.chromium.org/8678023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111960 0039d316-1c4b-4281-b951-d872f2087c98
2011-11-29 17:25:34 +00:00
thakis@chromium.org
ecaba01e64 bisect_builds: Don't print '()' after every completed download.
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8395015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107301 0039d316-1c4b-4281-b951-d872f2087c98
2011-10-26 05:33:28 +00:00
thakis@chromium.org
946be758f0 bisect_build: Restore Python 2.5 compatibility.
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8391021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107239 0039d316-1c4b-4281-b951-d872f2087c98
2011-10-25 23:34:21 +00:00
thakis@chromium.org
b2fe7f24c7 bisect_builds: Also print the corresponding webkit revision range.
BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8391018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107225 0039d316-1c4b-4281-b951-d872f2087c98
2011-10-25 22:58:31 +00:00
rsesek@chromium.org
bd5ac7c4d2 chmod +x src/tools/bisect-builds.py
BUG=none
TEST=./src/tools/bisect-builds.py

Review URL: http://codereview.chromium.org/7634032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96978 0039d316-1c4b-4281-b951-d872f2087c98
2011-08-16 18:15:34 +00:00
szager@chromium.org
468a977513 Restored download progress, and cleaned up terminal messages.
BUG=
TEST=

Review URL: http://codereview.chromium.org/7606001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96027 0039d316-1c4b-4281-b951-d872f2087c98
2011-08-09 18:42:00 +00:00
szager@google.com
afe3066f4d Use threads to download builds in the background.
Review URL: http://codereview.chromium.org/7493016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94810 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-30 01:05:52 +00:00
jbates@chromium.org
de00d5bf4b If good..bad range is all before or after the recent build cutoff, use the appropriate server.
If good..bad straddles the recent build cutoff, test out the oldest recent build. If that build is good, bisect only recent builds from build.chromium.org. If that build is bad, bisect only old builds.

BUG=89974
TEST=(1) run bisect-builds.py with defaults; (2) accept default good/bad args; when chrome starts, close it and specify good; verify that further downloads come from build.chromium.org domain. Repeat (1) and (2); specify bad; verify that further downloads come from commondatastorage.googleapis.com.

Review URL: http://codereview.chromium.org/7468020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93432 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-21 17:43:41 +00:00
jbates@chromium.org
3ff00b717f This change adds a --recent option to bisect-builds that tells it to use the build.chromium.org/f/chromium build listings which have much better granularity, but only 2-3 months of history.
One minor bug was also fixed that caused bisect-builds to report a bigger revision range than necessary.

BUG=82421

Review URL: http://codereview.chromium.org/7461012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93257 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-20 21:34:47 +00:00
szager@chromium.org
60ac66e3cb If the good/bad test can be written as a predicate function (e.g., by parsing stdout/stderr), then bisect_builds.py can be imported from a separate script and run non-interactively.
Review URL: http://codereview.chromium.org/7329005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92857 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-18 16:08:25 +00:00
thakis@chromium.org
1960edd57c bisect-builds: It's linux64, not linux-64.
It looks like this changed accidentally in http://codereview.chromium.org/6995117

BUG=none
TEST=Run `bisect-builds.py -a linux64` as suggested by the help output. Works again.


Review URL: http://codereview.chromium.org/7294023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91309 0039d316-1c4b-4281-b951-d872f2087c98
2011-07-01 16:53:52 +00:00
rsesek@chromium.org
183706d96a bisect-builds.py: Use Google Common Data Storage instead of build.chromium.org.
The continuous archive's index file appears to be incomplete/problematic for
some platforms and revision ranges, so go back to just using directory lists
via the CDS API.

This also cleans up the code by using a PathContext object rather than a slew of
global variables to format/create the various URLs.

BUG=85498
TEST=See bug.

Review URL: http://codereview.chromium.org/6995117

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88658 0039d316-1c4b-4281-b951-d872f2087c98
2011-06-10 13:06:22 +00:00
rsesek@chromium.org
20105cf8e2 bisect-builds.py: Use "win" instead of "xp" to fix Windows bisecting.
BUG=none
TEST=./tools/bisect-builds.py -a win

Review URL: http://codereview.chromium.org/6994012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84816 0039d316-1c4b-4281-b951-d872f2087c98
2011-05-10 18:16:45 +00:00
rsesek@chromium.org
4082b18dc4 bisect-builds.py: Use the continuous archive, rather than the snapshots.
This will allow people to bisect back until 2008 on Windows and 2009 for Linux
and Mac, rather than just the last ~1000 revisions.

BUG=none
TEST=bisect-builds.py works as before, but with a larger archive history

Review URL: http://codereview.chromium.org/6788015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83774 0039d316-1c4b-4281-b951-d872f2087c98
2011-05-02 20:30:17 +00:00
avi@chromium.org
4fa63dc75c Fix the "unzipping" typo that's been driving me crazy.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6349061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73565 0039d316-1c4b-4281-b951-d872f2087c98
2011-02-03 00:58:08 +00:00
chase@chromium.org
0724746462 Convert build.chromium.org URLs to new URL format.
BUG=none
TEST=scripts keep working

Review URL: http://codereview.chromium.org/5961009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70143 0039d316-1c4b-4281-b951-d872f2087c98
2010-12-24 07:45:56 +00:00
evan@chromium.org
5b242f1026 Rename build/build-bisect.py to tools/bisect-builds.py.
I always have trouble finding this tool because of its weird name
and place.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70110 0039d316-1c4b-4281-b951-d872f2087c98
2010-12-23 22:53:34 +00:00