You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
dpranke@chromium.org f6ddfa4ba0 Use author as determined from scm if we can not get it from rietveld
Until an issue is uploaded to Rietveld, we don't know the official
email address to use for an owners check. There are three ways to fix
this: we could attempt to log in to rietveld prior to doing the check
and extract the address to use, or we could use ~/.last_codereview_email_address,
or we can use the email address we can determine from the checkout.

All three options have flaws; the first is particularly awkward since there
doesn't seem to be a good way to fetch the email without posting an issue.
The second is flawed if we use different addresses for different repos,
and the third is flawed if the checkout's email address is different from
the rietveld address, or if it is anonymous.

However, since this is only being used for owners checks (in this case),
anonymous checkouts probably don't matter, and hopefully the cases where
the email addresses differ are rare.

R=maruel@chromium.org
BUG=118388, 150049


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@186259 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
..
subversion_config
abandon.sh Add test for git-svn with submodule/merge layout. 14 years ago
basic.sh Add test for git-svn with submodule/merge layout. 14 years ago
breakpad_unittest.py
checkout_test.py Make apply_issue.py much more verbose about what it's doing. 13 years ago
fix_encoding_test.py
gcl_unittest.py Fix parameters for git_cl and gcl. 13 years ago
gclient_scm_test.py Make safesync w/ git hash work when lkgr is ahead of clone. 13 years ago
gclient_smoketest.py Remove more unversioned directories. 13 years ago
gclient_test.py Add gclient grep for git repos 13 years ago
gclient_utils_test.py Make gclient sync use cpu count for default jobs 13 years ago
git_cl_test.py git cl upload now diffs HEAD rather than working tree 13 years ago
hooks.sh Add test for git-svn with submodule/merge layout. 14 years ago
owners.sh Add test for git-svn with submodule/merge layout. 14 years ago
owners_unittest.py Add a way to require approval from owners other than the author. 13 years ago
patch.sh Add test for git-svn with submodule/merge layout. 14 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
post-dcommit-hook-test.sh Add test for git-svn with submodule/merge layout. 14 years ago
presubmit_unittest.py Use author as determined from scm if we can not get it from rietveld 13 years ago
push-basic.sh Add test for git-svn with submodule/merge layout. 14 years ago
push-from-logs.sh options.from_logs is not used anywhere since it's the default. 13 years ago
rename.sh Add test for git-svn with submodule/merge layout. 14 years ago
rietveld_test.py Create CachingRietveld to automatically cache results for presubmit checks. 13 years ago
sample_pre_commit_hook
save-description-on-failure.sh Add test for git-svn with submodule/merge layout. 14 years ago
scm_unittest.py Restore previous behavior of GetSha1ForSvnRev, so unit tests pass. 13 years ago
submit-from-new-dir.sh Add test for git-svn with submodule/merge layout. 14 years ago
submodule-merge-test.sh Add test for git-svn with submodule/merge layout. 14 years ago
subprocess2_test.py
test-lib.sh Add test for git-svn with submodule/merge layout. 14 years ago
trychange_unittest.py Make git try warn on a dirty index. 13 years ago
upload-local-tracking-branch.sh Add test for git-svn with submodule/merge layout. 14 years ago
upload-stale.sh Add test for git-svn with submodule/merge layout. 14 years ago
upstream.sh Add test for git-svn with submodule/merge layout. 14 years ago
watchlists_unittest.py