From 29e5bb07fb935b82bd2e7825879e8fc9bf3025cc Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Mon, 26 Sep 2022 21:49:33 -0500 Subject: [PATCH 1/6] start: complete setup for data pipelines Per #1943 --- content/docs/start/data-management/data-pipelines.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index d1657cc94e..ed8b859020 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -32,7 +32,7 @@ into a [stage](/doc/command-reference/stage): ### ⚙️ Expand to download example code. -Get the sample code like this: +Get the sample code, initialize DVC, and save everything to Git: ```dvc $ wget https://code.dvc.org/get-started/code.zip @@ -47,6 +47,10 @@ $ tree ├── prepare.py ├── requirements.txt └── train.py + +$ git init # if needed +$ dvc init +$ git commit .dvc params.yaml src ``` Now let's install the requirements: @@ -57,10 +61,9 @@ Now let's install the requirements: ```dvc $ pip install -r src/requirements.txt +$ git commit ``` -Please also add or commit the source code directory with Git at this point. - ```dvc From fb46b90ed9694e9f7642e3a2e4370dee3731e7fa Mon Sep 17 00:00:00 2001 From: "restyled-io[bot]" <32688539+restyled-io[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:02:57 -0500 Subject: [PATCH 2/6] Restyled by prettier (#3999) Co-authored-by: Restyled.io --- content/docs/start/data-management/data-pipelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index ed8b859020..95a1144013 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -61,7 +61,7 @@ Now let's install the requirements: ```dvc $ pip install -r src/requirements.txt -$ git commit +$ git commit ``` From f6212849c2735204cb5ecd9b2f2ae1a03198983f Mon Sep 17 00:00:00 2001 From: Dave Berenbaum Date: Tue, 27 Sep 2022 15:42:41 -0400 Subject: [PATCH 3/6] Update content/docs/start/data-management/data-pipelines.md Co-authored-by: Jorge Orpinel --- content/docs/start/data-management/data-pipelines.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index 95a1144013..906253fc57 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -50,7 +50,8 @@ $ tree $ git init # if needed $ dvc init -$ git commit .dvc params.yaml src +$ git commit -a -m "Create evaluation stage" +$ dvc pull data/data.xml ``` Now let's install the requirements: From 81dfacde6209ad9b9a7093812b8154ae5ab7f67f Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 27 Sep 2022 23:24:28 -0500 Subject: [PATCH 4/6] Update content/docs/start/data-management/data-pipelines.md Co-authored-by: Dave Berenbaum --- content/docs/start/data-management/data-pipelines.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index 906253fc57..2479553855 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -50,6 +50,7 @@ $ tree $ git init # if needed $ dvc init +$ git add . $ git commit -a -m "Create evaluation stage" $ dvc pull data/data.xml ``` From c92527e9ecd599bb372d2347a303de889afe629c Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Wed, 28 Sep 2022 03:05:10 -0500 Subject: [PATCH 5/6] start: indicate example repo tag for Pipes --- .../start/data-management/data-pipelines.md | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index 2479553855..3e0c597efd 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -32,7 +32,18 @@ into a [stage](/doc/command-reference/stage): ### ⚙️ Expand to download example code. -Get the sample code, initialize DVC, and save everything to Git: + + + +To actually try this example, begin after following the +[Data Versioning](/doc/start/data-management/data-versioning) chapter. +You can get there by cloning the `2-track-data` tag of our +[example-get-started](https://github.com/iterative/example-get-started) +repo. + + + +Get the sample code like this: ```dvc $ wget https://code.dvc.org/get-started/code.zip @@ -47,12 +58,6 @@ $ tree ├── prepare.py ├── requirements.txt └── train.py - -$ git init # if needed -$ dvc init -$ git add . -$ git commit -a -m "Create evaluation stage" -$ dvc pull data/data.xml ``` Now let's install the requirements: @@ -63,7 +68,6 @@ Now let's install the requirements: ```dvc $ pip install -r src/requirements.txt -$ git commit ``` From e985647ef65c5147323c794b053b21ed5ded9846 Mon Sep 17 00:00:00 2001 From: "restyled-io[bot]" <32688539+restyled-io[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 01:17:12 -0500 Subject: [PATCH 6/6] Restyled by prettier (#4004) Co-authored-by: Restyled.io --- content/docs/start/data-management/data-pipelines.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/content/docs/start/data-management/data-pipelines.md b/content/docs/start/data-management/data-pipelines.md index 3e0c597efd..1229c383fd 100644 --- a/content/docs/start/data-management/data-pipelines.md +++ b/content/docs/start/data-management/data-pipelines.md @@ -32,14 +32,12 @@ into a [stage](/doc/command-reference/stage): ### ⚙️ Expand to download example code. - To actually try this example, begin after following the -[Data Versioning](/doc/start/data-management/data-versioning) chapter. -You can get there by cloning the `2-track-data` tag of our -[example-get-started](https://github.com/iterative/example-get-started) -repo. +[Data Versioning](/doc/start/data-management/data-versioning) chapter. You can +get there by cloning the `2-track-data` tag of our +[example-get-started](https://github.com/iterative/example-get-started) repo.