Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Issue 2432113002: [Findit] Add local_git_repository (Closed)

Created:
4 years, 2 months ago by Sharu Jiang
Modified:
4 years, 1 month ago
Reviewers:
wrengr, chanli, stgao, lijeffrey
CC:
chromium-reviews, infra-reviews+infra_chromium.org, inferno, Martin Barbella
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Add local_git_parsers, local_git_repository BUG=605369 Committed: https://chromium.googlesource.com/infra/infra/+/bc02c3473ee6c1a08f4ef97ef66f0486f870ec2a

Patch Set 1 #

Patch Set 2 : Fix nits. #

Patch Set 3 : Split adding local_git_parsers part to another cl. #

Patch Set 4 : Fix nits. #

Patch Set 5 : . #

Total comments: 4

Patch Set 6 : Fix nits. #

Total comments: 23

Patch Set 7 : Address comments. #

Patch Set 8 : change to incremental #

Patch Set 9 : Rebase. #

Total comments: 19

Patch Set 10 : Address comments #

Patch Set 11 : Add tests and comments. #

Patch Set 12 : Rebase. #

Total comments: 39

Patch Set 13 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+458 lines, -3 lines) Patch
M appengine/findit/lib/gitiles/test/gitiles_repository_test.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/util_scripts/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
A appengine/findit/util_scripts/git_checkout/local_git_repository.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +156 lines, -0 lines 0 comments Download
M appengine/findit/util_scripts/git_checkout/test/local_git_parsers_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
A appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +242 lines, -0 lines 0 comments Download
M appengine/findit/util_scripts/script_util.py View 1 2 3 4 5 6 7 8 9 2 chunks +24 lines, -1 line 0 comments Download
A appengine/findit/util_scripts/test/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
A appengine/findit/util_scripts/test/script_util_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (23 generated)
Sharu Jiang
PTAL :)
4 years, 2 months ago (2016-10-19 04:01:18 UTC) #2
Sharu Jiang
Since this cl is too big, split the adding local_git_parsers part to another cl: https://codereview.chromium.org/2435863003/
4 years, 2 months ago (2016-10-19 22:19:06 UTC) #4
stgao
https://codereview.chromium.org/2432113002/diff/80001/appengine/findit/common/local_git_repository.py File appengine/findit/common/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/80001/appengine/findit/common/local_git_repository.py#newcode53 appengine/findit/common/local_git_repository.py:53: if not repo_url or (hasattr(self, '_repo_url') and Why hasattr ...
4 years, 2 months ago (2016-10-22 00:43:35 UTC) #7
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/80001/appengine/findit/common/local_git_repository.py File appengine/findit/common/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/80001/appengine/findit/common/local_git_repository.py#newcode53 appengine/findit/common/local_git_repository.py:53: if not repo_url or (hasattr(self, '_repo_url') and On 2016/10/22 ...
4 years, 1 month ago (2016-10-25 06:45:16 UTC) #11
wrengr
https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py File appengine/findit/common/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py#newcode36 appengine/findit/common/local_git_repository.py:36: updated_repos = set() I'd think this should be private/protected. ...
4 years, 1 month ago (2016-10-25 18:12:18 UTC) #12
stgao
https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py File appengine/findit/common/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py#newcode91 appengine/findit/common/local_git_repository.py:91: command = 'TZ=UTC %s --date=format-local:"%s"' % ( Should TZ=UTC ...
4 years, 1 month ago (2016-10-25 23:04:24 UTC) #13
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py File appengine/findit/common/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/160001/appengine/findit/common/local_git_repository.py#newcode36 appengine/findit/common/local_git_repository.py:36: updated_repos = set() On 2016/10/25 18:12:18, wrengr wrote: > ...
4 years, 1 month ago (2016-10-26 01:31:15 UTC) #14
wrengr
https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py File appengine/findit/lib/gitiles/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py#newcode43 appengine/findit/lib/gitiles/local_git_repository.py:43: self.repo_url = repo_url I still think you should rename ...
4 years, 1 month ago (2016-11-01 20:26:53 UTC) #19
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py File appengine/findit/lib/gitiles/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py#newcode43 appengine/findit/lib/gitiles/local_git_repository.py:43: self.repo_url = repo_url On 2016/11/01 20:26:52, wrengr wrote: > ...
4 years, 1 month ago (2016-11-05 01:18:16 UTC) #21
Sharu Jiang
Ping :)
4 years, 1 month ago (2016-11-08 00:28:51 UTC) #28
chanli
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/commit_util.py File appengine/findit/lib/gitiles/commit_util.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/commit_util.py#newcode9 appengine/findit/lib/gitiles/commit_util.py:9: import urllib2 You have these imports but you don't ...
4 years, 1 month ago (2016-11-08 01:56:20 UTC) #29
wrengr
lgtm with nits (including chanli's) https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py File appengine/findit/lib/gitiles/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/300001/appengine/findit/lib/gitiles/local_git_repository.py#newcode82 appengine/findit/lib/gitiles/local_git_repository.py:82: if not os.path.exists(self.real_repo_path): On ...
4 years, 1 month ago (2016-11-08 19:32:38 UTC) #30
stgao
lgtm with nits. https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/test/commit_util_test.py File appengine/findit/lib/gitiles/test/commit_util_test.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/test/commit_util_test.py#newcode6 appengine/findit/lib/gitiles/test/commit_util_test.py:6: import StringIO same here. https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File ...
4 years, 1 month ago (2016-11-08 21:56:36 UTC) #31
wrengr
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File appengine/findit/util_scripts/git_checkout/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py#newcode37 appengine/findit/util_scripts/git_checkout/local_git_repository.py:37: follow the instructions in ('https://g3doc.corp.google.com/company/teams/ On 2016/11/08 21:56:36, stgao ...
4 years, 1 month ago (2016-11-10 21:27:04 UTC) #32
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/commit_util.py File appengine/findit/lib/gitiles/commit_util.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/lib/gitiles/commit_util.py#newcode9 appengine/findit/lib/gitiles/commit_util.py:9: import urllib2 On 2016/11/08 01:56:20, chanli wrote: > You ...
4 years, 1 month ago (2016-11-11 00:29:06 UTC) #33
stgao
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File appengine/findit/util_scripts/git_checkout/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py#newcode37 appengine/findit/util_scripts/git_checkout/local_git_repository.py:37: follow the instructions in ('https://g3doc.corp.google.com/company/teams/ On 2016/11/11 00:29:06, Sharu ...
4 years, 1 month ago (2016-11-11 01:08:01 UTC) #34
wrengr
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File appengine/findit/util_scripts/git_checkout/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py#newcode73 appengine/findit/util_scripts/git_checkout/local_git_repository.py:73: def _SetFieldsFromRepoUrl(self, repo_url): On 2016/11/11 00:29:05, Sharu Jiang wrote: ...
4 years, 1 month ago (2016-11-11 18:38:48 UTC) #35
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File appengine/findit/util_scripts/git_checkout/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py#newcode37 appengine/findit/util_scripts/git_checkout/local_git_repository.py:37: follow the instructions in ('https://g3doc.corp.google.com/company/teams/ On 2016/11/11 01:07:59, stgao ...
4 years, 1 month ago (2016-11-11 23:43:49 UTC) #37
Sharu Jiang
https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py File appengine/findit/util_scripts/git_checkout/local_git_repository.py (right): https://codereview.chromium.org/2432113002/diff/500001/appengine/findit/util_scripts/git_checkout/local_git_repository.py#newcode160 appengine/findit/util_scripts/git_checkout/local_git_repository.py:160: if not os.path.isfile(os.path.join(self.real_repo_path, path)): On 2016/11/11 01:07:59, stgao (slow ...
4 years, 1 month ago (2016-11-11 23:52:38 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432113002/540001
4 years, 1 month ago (2016-11-11 23:52:55 UTC) #41
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 00:23:14 UTC) #43
Message was sent while issue was closed.
Committed patchset #13 (id:540001) as
https://chromium.googlesource.com/infra/infra/+/bc02c3473ee6c1a08f4ef97ef66f0...

Powered by Google App Engine
This is Rietveld 408576698