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

Issue 29408728: Issue 4906 - change cloning in ensure_dependecies (Closed)

Created:
April 10, 2017, 12:56 p.m. by sergei
Modified:
May 31, 2017, 3:59 p.m.
CC:
Felix Dahlke, kzar
Visibility:
Public.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -11 lines) Patch
M ensure_dependencies.py View 6 chunks +30 lines, -11 lines 4 comments Download

Messages

Total messages: 9
sergei
April 10, 2017, 2:17 p.m. (2017-04-10 14:17:44 UTC) #1
Wladimir Palant
I consider this approach questionable, see https://issues.adblockplus.org/ticket/4906#comment:5
April 10, 2017, 3:07 p.m. (2017-04-10 15:07:02 UTC) #2
Sebastian Noack
FWIW, I don't like the idea to reimplement the clone command, adding complexity for a ...
May 30, 2017, 7:22 a.m. (2017-05-30 07:22:39 UTC) #3
Wladimir Palant
https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py#newcode324 ensure_dependencies.py:324: for dir, sources in config.iteritems(): IMHO, sorting here should ...
May 31, 2017, 11:04 a.m. (2017-05-31 11:04:45 UTC) #4
Wladimir Palant
If I understand the problem correctly, the scenario is that we have dependencies going like ...
May 31, 2017, 11:04 a.m. (2017-05-31 11:04:53 UTC) #5
sergei
https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py#newcode324 ensure_dependencies.py:324: for dir, sources in config.iteritems(): On 2017/05/31 11:04:45, Wladimir ...
May 31, 2017, 1:38 p.m. (2017-05-31 13:38:00 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py File ensure_dependencies.py (right): https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py#newcode324 ensure_dependencies.py:324: for dir, sources in config.iteritems(): On 2017/05/31 13:38:00, sergei ...
May 31, 2017, 2:46 p.m. (2017-05-31 14:46:09 UTC) #7
sergei
It's superseded by https://codereview.adblockplus.org/29452663/
May 31, 2017, 2:59 p.m. (2017-05-31 14:59:23 UTC) #8
Wladimir Palant
May 31, 2017, 3:59 p.m. (2017-05-31 15:59:37 UTC) #9
Message was sent while issue was closed.
https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies.py
File ensure_dependencies.py (right):

https://codereview.adblockplus.org/29408728/diff/29408740/ensure_dependencies...
ensure_dependencies.py:324: for dir, sources in config.iteritems():
On 2017/05/31 14:46:09, Sebastian Noack wrote:
> Now where I understand the problem, I don't see why anybody would want to
> checkout a repo in a subdirectory before checking out the parent directory.
> Neither can I think of a scenario in which this "flexibility" is necessary.

Absolutely. This is a classic example where an unnecessarily complicated
approach is justified with "flexibility" that nobody really needs. We can always
do complicated later if we really need it.

Powered by Google App Engine
This is Rietveld