- 09 Oct, 2013 1 commit
-
-
thakis@chromium.org authored
scons hasn't been used in a long time. Also remove support for using make on Mac, it's no longer supported. All bots that were using make on mac are using ninja these days. BUG=305702 Review URL: https://codereview.chromium.org/26672003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@227778 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Oct, 2013 2 commits
-
-
sbc@chromium.org authored
The script would previously attempt to run the x86_32 version of ninja on 32-bit arches such as mips and arm rather than display the error message. This error showed up an ARM builder: /mnt/data/b/depot_tools/ninja: line 25: /mnt/data/b/depot_tools/ninja-linux32: cannot execute binary file Review URL: https://codereview.chromium.org/26490004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@227549 0039d316-1c4b-4281-b951-d872f2087c98
-
stuart@fivemicro.com authored
Previous code checked the exit status of 'echo' instead of 'read' to determine if the 'read' command had timed out. TEST=Create a mirror of depot_tools.git, git clone it, then run ./update_depot_tools, see prompt for changing the URL, wait at least 60 seconds and verify that you get the timeout message. R=maruel@chromium.org BUG= Review URL: https://codereview.chromium.org/25110004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@227427 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Oct, 2013 1 commit
-
-
dbeam@chromium.org authored
BUG=304943 Review URL: https://chromiumcodereview.appspot.com/26280004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@227348 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Oct, 2013 2 commits
-
-
rmistry@google.com authored
BUG=chromium:303433 Review URL: https://chromiumcodereview.appspot.com/25853003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@226774 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
The motivation for this CL is: When a project is turned on to use GitCheckout with try job verifiers, then the CQ crashes because of line 64 in http://src.chromium.org/viewvc/chrome/trunk/tools/commit-queue/pending_manager.py This is because revision can only be one of (None, int, unicode). This crash only happens when try jobs are used (which is why I did not see it before). This CL changes the return type to be unicode instead of string. Review URL: https://chromiumcodereview.appspot.com/25686005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@226743 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Oct, 2013 1 commit
-
-
marq@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/25808003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@226611 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Sep, 2013 2 commits
-
-
szager@chromium.org authored
When depot_tools fail to update right now all you get is Cannot rebase: You have unstaged changes. Please commit or stash them. As that is typically in a call to gclient it's far from obvious what could not be updated so add a line saying Failed to update depot_tools. to that. Linux and Mac already have a similar error message in their script file. BUG= R=szager@chromium.org Review URL: https://codereview.chromium.org/23619058 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@226002 0039d316-1c4b-4281-b951-d872f2087c98
-
tyoshino@chromium.org authored
This prevents private CLs to be automatically CC-ed to public mailing lists unintentionally. Review URL: https://chromiumcodereview.appspot.com/24257014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225925 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Sep, 2013 4 commits
-
-
thestig@chromium.org authored
BUG=298725 R=thakis@chromium.org Review URL: https://codereview.chromium.org/24919002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225756 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
The callee needs it to be a string so that it can be made part of HTTP request. However, in code using Rietveld it's useful to use non-string types for flags where Rietveld actually doesn't return strings (say booleans). One example is the commit flag, which is a boolean. BUG=291335 Review URL: https://chromiumcodereview.appspot.com/24846002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225748 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
It's impossible to sync by default on Windows and has been since this was added: https://www.google.com/search?q=chromium-dev+nag_max Most recently: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/CEpATyu9udc So, remove it. If someone needs it they can figure out a more targeted implementation. Keep --no-nag-max for backwards compat so that bot scripts won't fail out. I'll remove it from bot scripts after this has baked a while, and then come back and remove the option. R=iannucci@chromium.org Review URL: https://chromiumcodereview.appspot.com/24950002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225730 0039d316-1c4b-4281-b951-d872f2087c98
-
adam.treat@samsung.com authored
I have clang-format-3.3 installed and it appears to default to stripping one leading slash. BUG=294188 Review URL: https://chromiumcodereview.appspot.com/24217002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225705 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Sep, 2013 1 commit
-
-
sbc@chromium.org authored
This command shows the differences between local branch and the last patch uploaded to rietveld. The idea being that you can see what would be uploaded before you actually upload. This can useful when using 'git cl patch' to move changes between checkouts and working from more than one machine at once. Review URL: https://chromiumcodereview.appspot.com/24276008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225552 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Sep, 2013 1 commit
-
-
mmoss@chromium.org authored
This fixes an error if the branch already exists. Review URL: https://chromiumcodereview.appspot.com/24360009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225278 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Sep, 2013 2 commits
-
-
chrisphan@chromium.org authored
httplib chokes on concatenating the unicode string "url" and some bytecode in "data". BUG=169600 Review URL: https://chromiumcodereview.appspot.com/24172008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225058 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This is in order to support 'features' like got_revision for build systems unwilling to scrape the human-readable output of gclient in order to extract basic information :) R=agable@chromium.org, maruel@chromium.org BUG=265618 Review URL: https://chromiumcodereview.appspot.com/23753008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225046 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Sep, 2013 3 commits
-
-
phajdan.jr@chromium.org authored
This will replace the CQ one and allow it to stay in sync with Rietveld. For now I've only covered methods that CQ seems to touch. BUG=291335 Review URL: https://chromiumcodereview.appspot.com/24095007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224455 0039d316-1c4b-4281-b951-d872f2087c98
-
cyrille@nnamrak.org authored
This solves a problem with "os.rename" sometimes failing with an exception after cloning a dependency to a temporary directory. It's possible the dying git processes still hold a handle to the directory. Since gclient delete the temporary directory regardless of the success of the process, it results in a lot of GB downloaded for nothing. SafeRename solves this by retrying a few times if the renaming fails, sleeping one second every time to get other processes the time to release their lock on the directory. It gives up retrying after 15 times. BUG= R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/23875041 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224372 0039d316-1c4b-4281-b951-d872f2087c98
-
ikarienator@chromium.org authored
BUG=77248 Review URL: https://chromiumcodereview.appspot.com/12712002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224264 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Sep, 2013 3 commits
-
-
hinoka@google.com authored
We appear to be getting 403's when encountering errors other than mismatched credentials. The error message was originally hidden to avoid clutter, but it has become obvious that there are other transient errors hidden behind a 403. This change prints the original gsutil error message regardless of whether or not we enconter a 403 or 404. BUG= Review URL: https://chromiumcodereview.appspot.com/23484061 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224195 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Previously we would suggest owners for the whole CL, rather than just the files currently missing owner approval. R=maruel@chromium.org BUG=130978 Review URL: https://chromiumcodereview.appspot.com/23591064 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224183 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=iannucci@chromium.org BUG=23608 Review URL: https://chromiumcodereview.appspot.com/24135003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@224175 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Sep, 2013 1 commit
-
-
thakis@chromium.org authored
See the bug for how these were built. The linux binaries were built by thestig@chromium.org. The windows binary was built by scottmg@chromium.org. The mac binary was built by thakis@chromium.org This will hopefully fix http://crbug.com/247311 BUG=289947, 247311 Review URL: https://codereview.chromium.org/23523059/ git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222974 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Sep, 2013 5 commits
-
-
szager@chromium.org authored
BUG= R=vadimsh@chromium.org Review URL: https://codereview.chromium.org/23851027 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222830 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=maruel@chromium.org, thakis@chromium.org BUG=253589 Review URL: https://chromiumcodereview.appspot.com/23072039 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222801 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
I cannot reproduce the test failures in https://chromiumcodereview.appspot.com/24047003/ but I figure there must be a good reason tear_down_svn had this check so adding it to tear_down_git. Review URL: https://chromiumcodereview.appspot.com/23437029 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222785 0039d316-1c4b-4281-b951-d872f2087c98
-
deymo@chromium.org authored
This patch makes my_activity.py use the new REST API to access the list of gerrit changes. The client doesn't authenticate with the server, so only the public changes are shown. BUG=chromium:281695 TEST=Ran my_activity.py, shows changes&reviews and links work. Review URL: https://chromiumcodereview.appspot.com/24047003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222767 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
Disabling due to the unrelated presubmit failures in https://chromiumcodereview.appspot.com/24047003/. Review URL: https://chromiumcodereview.appspot.com/23619035 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222766 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Sep, 2013 1 commit
-
-
chrisphan@chromium.org authored
It seems to just work. R=dpranke@chromium.org BUG=23608 Review URL: https://chromiumcodereview.appspot.com/23766025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222431 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Sep, 2013 1 commit
-
-
rmistry@google.com authored
Tested with: * Unit tests have been added and they work. * I also tested end-to-end using a skiabot-test repository in https://skia.googlesource.com/ (it is hidden). CLs I tested with are: ** https://codereview.chromium.org/22797006/ : Add whitespace in file1 ** https://codereview.chromium.org/22815013/ : Remove whitespace from file1 ** https://codereview.chromium.org/22867025/ : Add new files in directories ** https://codereview.chromium.org/22901018/ : Edit file in directory and delete file in directory ** https://codereview.chromium.org/22918014/ : Add, Delete and Modify 3 files ** https://codereview.chromium.org/23360004/ : Add new files in new directories Note: * When committing GitCheckout uses the --author to specify the original author. The author flag takes in 'Firstname Lastname <email_addr>' but we do not know the Firstname and LastName of the original author, which is why the code here parses out the username from the email address and uses it. Eg: For email address xyz@example.com it passes in --author 'xyz <xyz@example.com>' * An example of the changes required in a project to use GitCheckout instead of SvnCheckout is in https://codereview.chromium.org/22859063/ Created to fix the following feature requests- https://code.google.com/p/chromium/issues/detail?id=261619 : Update the Chrome commit queue to push to src.git. https://code.google.com/p/skia/issues/detail?id=1593 : Add Git support to the Commit Queue. Review URL: https://chromiumcodereview.appspot.com/22794015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@221392 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Sep, 2013 1 commit
-
-
szager@chromium.org authored
These will come in handy when testing code that interacts with multiple gerrit servers (like chromite). BUG= R=vadimsh@chromium.org Review URL: https://codereview.chromium.org/23620021 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@221051 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Aug, 2013 1 commit
-
-
deymo@chromium.org authored
Added support for the internal and external gerrit short URLs. BUG=None TEST=Ran my_activity.py manualy. URLs work. Review URL: https://chromiumcodereview.appspot.com/23477012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@220340 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Aug, 2013 3 commits
-
-
phajdan.jr@chromium.org authored
This has been determined to work in a better, more predictable and robust way. BUG=none R=szager@google.com Review URL: https://codereview.chromium.org/22852017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219121 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
Since we already checked out all files that were touched in the revision to revert, it should just work[tm]. BUG=64643 R=agable@chromium.org, maruel@chromium.org, phajdan.jr@chromium.org TEST=tested manually that svn merge -r (without -N) reverts directory deletes Review URL: https://codereview.chromium.org/22814005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219094 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This makes it easier to type without using the shift-key, so an user can type 'git cl set-commit' and it'll find CMDset_commit. R=xusydoc@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22918019 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219054 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Aug, 2013 1 commit
-
-
kustermann@google.com authored
Review URL: https://chromiumcodereview.appspot.com/22886004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218239 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Update subcommand to support examples, always disable format_description and format_epilog and add colors when enabled. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22824018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218180 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Use the code in git_cl.py, since it was the more evolved. Add documentation and clean up the structure along the way. This makes it possible to easily reuse the generic subcommand handling code. As a first step, only git_cl.py is using it. Eventually, gclient and gcl could be switch over. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/23250002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218072 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Aug, 2013 1 commit
-
-
agable@chromium.org authored
Having "Description: u'Foo\nBUG=1234\nR=bar@chromium.org\nReview Url: baz'" is not actually that useful in my experience. I'd rather be able to easily read the final CL description that is being committed. Review URL: https://chromiumcodereview.appspot.com/23185006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@217834 0039d316-1c4b-4281-b951-d872f2087c98
-