Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29329056: Issue 3194 - Allow multiple sources for a dependency (Closed)

Created:
Oct. 12, 2015, 3:46 p.m. by kzar
Modified:
Oct. 20, 2015, 9:42 a.m.
Visibility:
Public.

Description

Issue 3194 - Allow multiple sources for a dependency

Patch Set 1 #

Patch Set 2 : Implemented Sebastian's suggested syntax #

Total comments: 6

Patch Set 3 : Addressed feedback #

Total comments: 4

Patch Set 4 : Addressed further feedback #

Total comments: 4

Patch Set 5 : Removed my username from the example #

Patch Set 6 : Just return a list from merge_seqs instead of coercing the result into a tuple #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -48 lines) Patch
M ensure_dependencies.py View 1 2 3 4 5 7 chunks +78 lines, -48 lines 0 comments Download

Messages

Total messages: 18
kzar
Patch Set 1
Oct. 12, 2015, 3:48 p.m. (2015-10-12 15:48:06 UTC) #1
Sebastian Noack
Well, this is simpler than I expected. Though, I'm still undecided whether we should add ...
Oct. 12, 2015, 3:57 p.m. (2015-10-12 15:57:35 UTC) #2
kzar
On 2015/10/12 15:57:35, Sebastian Noack wrote: > Well, this is simpler than I expected. Though, ...
Oct. 12, 2015, 4:07 p.m. (2015-10-12 16:07:12 UTC) #3
Sebastian Noack
I think, if we are going to support per-VCS absolute URLs, the syntax should rather ...
Oct. 13, 2015, 10:24 a.m. (2015-10-13 10:24:26 UTC) #4
Wladimir Palant
My impression that absolute URLs in the dependencies file are an exception, a local override. ...
Oct. 13, 2015, 10:45 a.m. (2015-10-13 10:45:56 UTC) #5
Sebastian Noack
On 2015/10/13 10:45:56, Wladimir Palant wrote: > My impression that absolute URLs in the dependencies ...
Oct. 13, 2015, 11:06 a.m. (2015-10-13 11:06:40 UTC) #6
kzar
On 2015/10/13 11:06:40, Sebastian Noack wrote: > So I guess, I would accept a patch, ...
Oct. 15, 2015, 2:55 p.m. (2015-10-15 14:55:10 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29329056/diff/29329152/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29329056/diff/29329152/ensure_dependencies.py#newcode35 ensure_dependencies.py:35: # Check out the adblockplus repository into adblockplus directory, ...
Oct. 15, 2015, 3:19 p.m. (2015-10-15 15:19:41 UTC) #8
kzar
Patch Set 3 : Addressed feedback https://codereview.adblockplus.org/29329056/diff/29329152/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29329056/diff/29329152/ensure_dependencies.py#newcode35 ensure_dependencies.py:35: # Check out ...
Oct. 15, 2015, 4:12 p.m. (2015-10-15 16:12:25 UTC) #9
Sebastian Noack
Sorry, found two more things. https://codereview.adblockplus.org/29329056/diff/29329157/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29329056/diff/29329157/ensure_dependencies.py#newcode146 ensure_dependencies.py:146: "^(?:(" + "|".join(repo_types.keys()) +"):)?" ...
Oct. 15, 2015, 5:03 p.m. (2015-10-15 17:03:08 UTC) #10
kzar
Patch Set 4 : Addressed further feedback https://codereview.adblockplus.org/29329056/diff/29329157/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29329056/diff/29329157/ensure_dependencies.py#newcode146 ensure_dependencies.py:146: "^(?:(" + ...
Oct. 16, 2015, 10:20 a.m. (2015-10-16 10:20:05 UTC) #11
Sebastian Noack
https://codereview.adblockplus.org/29329056/diff/29329240/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29329056/diff/29329240/ensure_dependencies.py#newcode163 ensure_dependencies.py:163: return tuple(map(lambda item1, item2: item2 or item1, seq1 or ...
Oct. 16, 2015, 10:24 a.m. (2015-10-16 10:24:49 UTC) #12
Wladimir Palant
I didn't really review the code, but is the added complexity here still justified? https://codereview.adblockplus.org/29329056/diff/29329240/ensure_dependencies.py ...
Oct. 16, 2015, 10:28 a.m. (2015-10-16 10:28:46 UTC) #13
Sebastian Noack
On 2015/10/16 10:28:46, Wladimir Palant wrote: > I didn't really review the code, but is ...
Oct. 16, 2015, 10:41 a.m. (2015-10-16 10:41:05 UTC) #14
kzar
Patch Set 5 : Removed my username from the example Patch Set 6 : Just ...
Oct. 16, 2015, 10:44 a.m. (2015-10-16 10:44:53 UTC) #15
Sebastian Noack
Looks good to me now. @Wladimir: How strong do you feel strong about the added ...
Oct. 16, 2015, 10:49 a.m. (2015-10-16 10:49:38 UTC) #16
kzar
Well I'm pretty happy with the code now, I think if anything the changes make ...
Oct. 16, 2015, 11:45 a.m. (2015-10-16 11:45:04 UTC) #17
Sebastian Noack
Oct. 16, 2015, 11:51 a.m. (2015-10-16 11:51:37 UTC) #18
LGTM form my side.

Powered by Google App Engine
This is Rietveld