Commit Graph

27 Commits (f2d7d6b518c393c553bb3161fb27a51b3d4e0609)

Author SHA1 Message Date
ilevy@chromium.org 38c4426ca4 Fix gclient "skip update on certain commands", again
Not all developers have =~ support in bash, apparently.
Switching to standard globbing.

R=tapted
TBR=maruel

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166867 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
ilevy@chromium.org 7e37d7ebc1 Fix update exclusions for gclient
Regex matched substrings, so 'gclient', and 'gclient g' were
excluded.

TBR=maruel@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166799 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
ilevy@chromium.org 3addce3094 Exclude some gclient commands from auto-update
In an effort to make some local commands faster, I propose we
exclude them from network dependent update step.

R=maruel@chromium.org
BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166793 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
maruel@chromium.org 3abe79b9f4 Enable PYTHONDONTWRITEBYTECODE=1 as much as possible.
Since we clobber the .pyc, it's not useful to generate them in the first place.

R=dpranke@chromium.org
BUG=
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@103066 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
bradnelson@google.com 28e0e9408d Changing entry points to use cygwin python (as gyp will now fall back on
hermetic python).


BUG=http://code.google.com/p/gyp/issues/detail?id=178
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75768 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
bradnelson@google.com cca5582619 Unconditionally run gclient.bat on cygwin, as gyp doesn't work right when
run through cygwin python anymore (and fails subtlety).

BUG=None
TEST=None
RS=pkasting

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@72718 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
maruel@chromium.org 3bb0d6fa0b Change shebangs to allow the tools to be used out of the box without modification
on system that don't hard code bash's path.

For example, BSD's bash lives in /usr/local/bin on freebsd & openbsd.

Patch contributed by Sevan Janiyan (venture37 at gmail)

TEST=didn't break ubuntu users
BUG=none

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@66124 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
scottbyer@chromium.org 7526fe3b28 A refactoring left cygwin busted.
Create an update_depot_tools.bat file to use for updated when on cygwin, and
properly call it from the update_depot_tools shell script and gclient batch
files.

BUG=none
TEST=gclient sync and git cl work again on cygwin.  Can also turn echo on in update_depot_tools.bat to verify updating working correctly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@63234 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
msb@chromium.org 2a94904744 Isolate depot_tools update into a separate script.
Also, modify git-cl to also update depot_tools. Otherwise, the git-cl
script never gets updated for folks that only use git-cl but
not gclient. This fixes a bug ChromiumOS developers are currently seeing
where there git-cl checkout is still pointing to src.chromium.org
and not git.chromium.org.

BUG=none
TEST=Verified that git-cl help and gclient help work.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@62948 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
msb@chromium.org d065eccd01 gclient: update git-cl whenever git-cl is run and not when gclient is run
Rather than updating git-cl whenever gclient is invoked, update it
whenever git-cl is invoked.

In the chromium-os workflow, folks often run git-cl but rarely run gclient.
This results in folks running an older git-cl which may not
have the latest features/fixes.

TEST=

Tested that git-cl is updated when it is stale, git-cl is cloned when it doesn't exist and is not updated when DEPOT_TOOLS_UPDATE=0

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52236 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
nasser@codeaurora.org e42a1939f1 Fix for git-svn rebase bug
git-svn rebase will always output 'Current branch <> is up-to-date' when the
branch is up-to-date, even if you pass the --quiet flag(s). This change
specifically squelches that message.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37696 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 8d4c15c3ba Change to a git repo before checking git-svn version
TEST=none
BUG=none
R=maruel

Patch contributed by Nasser <nasser@codeaurora>

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35817 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 8dd7cc5c2e git svn --version doesn't work when called outside a git checkout.
TEST=none
BUG=none
TBR=nasser

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35800 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org f3909bf2d3 Check for the existence of git before running commands.
Checks in the gclient wrapper and when running any gclient git command.

TEST=none
BUG=none

Patch contributed by Nasser <nasser@codeaurora>

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35762 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
thestig@chromium.org 6df3334ceb Mark depot_tools scripts as bash scripts.
BUG=13668
TEST=none
Review URL: http://codereview.chromium.org/203075

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@26262 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
chase@chromium.org cabf2adf7b Replace git-try stub with actual git-try script.
BUG=none
TEST=none
TBR=maruel
Review URL: http://codereview.chromium.org/173246

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@24060 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
sky@chromium.org 2191458515 Gets gclient to work in emacs again.
Also fixes bug where gclient fails because options isn't defined.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19498 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 717e1ce5a8 Use git svn rebase instead of git svn fetch & git svn merge
TEST=none
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19277 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 522ca09c54 Reapply 18633 that was reverted in 18634 because bootstrap/gclient.sh was not found.
Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.

The difference with 18633 is that it leaves bootstrap/gclient.sh along. I'll remove it in a month or so to not break anyone in the meantime.

TEST=none
BUG=none
TBR=evan
Review URL: http://codereview.chromium.org/129001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18637 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 0a3488a5a8 Revert 18633
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18634 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 25a8081d37 Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.
TEST=none
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18633 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 775a79c5f0 It seems it helps on certain cygwin setup.
Ah cygwin...

Patch contributed by cmp@google.com

TBR=nsylvain
TEST=none
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18613 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org beffe1267d Fix parameter mangling.
TEST=none
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17974 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org cf1e53b669 Fix the gclient trampoline on cygwin to redirect to the batch file.
TBR=bradnelson
Review URL: http://codereview.chromium.org/115061

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15496 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 820410ca10 Use the exec statement to fix the control flow.
TBR=nsylvain
Review URL: http://codereview.chromium.org/93110

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14404 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 9b613270be Fix gclient on posix platforms.
Grab the latest gcl.py and presubmit.py scripts.

TBR=nsylvain
Review URL: http://codereview.chromium.org/93108

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14403 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com fb2b8eb2e2 Create the Next Generation of depot_tools. Eh.
Review URL: http://codereview.chromium.org/92087

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14349 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago