Re: [PATCH 0/4] dim setup improvements

2019-03-04 Thread Lucas De Marchi
On Mon, Mar 04, 2019 at 11:12:21PM +0200, Jani Nikula wrote: On Mon, 04 Mar 2019, Lucas De Marchi wrote: We had some small problems when calling dim setup. This should hopefully fix them all, making it easier to setup a new environment like I was doing. Now setting up the environment from

Re: [PATCH 0/4] dim setup improvements

2019-03-04 Thread Jani Nikula
On Mon, 04 Mar 2019, Lucas De Marchi wrote: > We had some small problems when calling dim setup. This should > hopefully fix them all, making it easier to setup a new environment > like I was doing. > > Now setting up the environment from scratch has a bigger chance of > working. Maybe we can

[PATCH 2/4] dim: do all setup relative to $DIM_PREFIX

2019-03-04 Thread Lucas De Marchi
Signed-off-by: Lucas De Marchi --- dim | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dim b/dim index 8e01c66..b125003 100755 --- a/dim +++ b/dim @@ -2234,28 +2234,28 @@ function dim_setup fi fi - if [[ ! -d

[PATCH 3/4] dim: update branches after setup

2019-03-04 Thread Lucas De Marchi
Otherwise we need to document it better so user doesn't try to find out why he doesn't have the remotes he was supposed to have. Signed-off-by: Lucas De Marchi --- dim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dim b/dim index b125003..bada79c 100755 --- a/dim +++ b/dim @@ -2260,6

[PATCH 1/4] dim: clone in the right dir

2019-03-04 Thread Lucas De Marchi
Signed-off-by: Lucas De Marchi Acked-by: Jani Nikula --- dim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dim b/dim index 004ec69..8e01c66 100755 --- a/dim +++ b/dim @@ -2236,7 +2236,7 @@ function dim_setup if [[ ! -d "$DIM_PREFIX/$DIM_REPO" ]]; then

[PATCH 0/4] dim setup improvements

2019-03-04 Thread Lucas De Marchi
We had some small problems when calling dim setup. This should hopefully fix them all, making it easier to setup a new environment like I was doing. Now setting up the environment from scratch has a bigger chance of working. Maybe we can update the docs with something like: curl -O \

[PATCH 4/4] dim: automatically clone maintainer-tools repo

2019-03-04 Thread Lucas De Marchi
Do like it's done for other repo instead of just complain. Signed-off-by: Lucas De Marchi --- dim | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dim b/dim index bada79c..1d3854b 100755 --- a/dim +++ b/dim @@ -76,8 +76,6 @@ dim=$(basename $0)