From 468f23515fb1aa7720d83a12f674f208ecd02860 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Fri, 6 Nov 2020 22:50:26 +0530 Subject: [PATCH 01/13] Status indentation --- content/docs/command-reference/commit.md | 8 ++-- content/docs/command-reference/install.md | 4 +- content/docs/command-reference/status.md | 52 +++++++++++------------ content/docs/user-guide/dvcignore.md | 20 ++++----- 4 files changed, 42 insertions(+), 42 deletions(-) diff --git a/content/docs/command-reference/commit.md b/content/docs/command-reference/commit.md index d80755b93b..bf3eb66a42 100644 --- a/content/docs/command-reference/commit.md +++ b/content/docs/command-reference/commit.md @@ -168,11 +168,11 @@ First verification: ```dvc $ dvc status featurize: - changed outs: - not in cache: data/features + changed outs: + not in cache: data/features train: - changed outs: - not in cache: model.pkl + changed outs: + not in cache: model.pkl ``` Now we can look in the cache directory to see if the new version of `model.pkl` diff --git a/content/docs/command-reference/install.md b/content/docs/command-reference/install.md index 75e08b3852..b6213ac3f3 100644 --- a/content/docs/command-reference/install.md +++ b/content/docs/command-reference/install.md @@ -192,8 +192,8 @@ You are in 'detached HEAD' state... $ dvc status featurize: - changed outs: - modified: data/features + changed outs: + modified: data/features ... $ dvc checkout diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index e3f2d26774..611e2e017b 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -156,22 +156,22 @@ that. ```dvc $ dvc status -bar.dvc: - changed deps: - modified: bar - changed outs: - not in cache: foo +bar: + changed deps: + modified: foo + changed outs: + not in cache: bar foo.dvc: - changed outs: - deleted: foo - changed checksum + changed outs: + deleted: foo + changed checksum prepare.dvc: - changed outs: - new: bar - always changed + changed outs: + new: bar + always changed ``` -This shows that for stage `bar.dvc`, the dependency `foo` and the +This shows that for stage `bar`, the dependency `foo` and the output `bar` have changed. Likewise for `foo.dvc`, the dependency `foo` has changed, but no output has changed. @@ -182,14 +182,14 @@ This shows that for stage `bar.dvc`, the dependency `foo` and the ```dvc $ dvc status foo.dvc dobar foo.dvc: - changed outs: - deleted: foo - changed checksum + changed outs: + deleted: foo + changed checksum dobar: - changed deps: - modified: bar - changed outs: - not in cache: foo + changed deps: + modified: bar + changed outs: + not in cache: foo ``` > In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, @@ -223,7 +223,7 @@ Data and pipelines are up to date. $ dvc status model.p --with-deps matrix-train.p: changed deps: - modified: code/featurization.py + modified: code/featurization.py ``` The `dvc status` command may be limited to a target that had no changes, but by @@ -245,10 +245,10 @@ remote yet: ```dvc $ dvc status --remote storage ... - new: data/model.p - new: data/eval.txt - new: data/matrix-train.p - new: data/matrix-test.p + new: data/model.p + new: data/eval.txt + new: data/matrix-train.p + new: data/matrix-test.p ``` The output shows where the location of the remote storage is, as well as any @@ -270,8 +270,8 @@ original file or directory changes later, `dvc status` will show ```dvc $ dvc status data.csv.dvc: - changed deps: - update available: data.csv (different/repo/location) + changed deps: + update available: data.csv (different/repo/location) ``` The imported data can be brought to its latest version by using `dvc update`. diff --git a/content/docs/user-guide/dvcignore.md b/content/docs/user-guide/dvcignore.md index d826859e03..be5913e74f 100644 --- a/content/docs/user-guide/dvcignore.md +++ b/content/docs/user-guide/dvcignore.md @@ -119,8 +119,8 @@ different output: $ echo "345" >> data/data2 $ dvc status data.dvc: - changed outs: - modified: data + changed outs: + modified: data ``` ## Example: Moving ignored data @@ -154,8 +154,8 @@ Data and pipelines are up to date. $ mv data/data1 data/data3 $ dvc status data.dvc: - changed outs: - modified: data + changed outs: + modified: data ``` ## Example: Ignore DVC tracked file @@ -189,11 +189,11 @@ Check status: ```dvc $ dvc status dir1/data1.dvc: - changed outs: - modified: dir1/data1 + changed outs: + modified: dir1/data1 dir2/data2.dvc: - changed outs: - modified: dir2/data2 + changed outs: + modified: dir2/data2 ``` Note that both data files are displayed as modified. Create a `.dvcignore` file @@ -208,8 +208,8 @@ Check status again: ```dvc $ dvc status dir2/data2.dvc: - changed outs: - modified: dir2/data2 + changed outs: + modified: dir2/data2 ``` Only the second file is displayed because DVC ignores `data1.dvc` and `data1` From 3467aefd897cbfd345b53301699ec62323e6278e Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Sun, 8 Nov 2020 19:03:26 +0530 Subject: [PATCH 02/13] Updates --- content/docs/command-reference/commit.md | 8 ++-- content/docs/command-reference/install.md | 4 +- content/docs/command-reference/status.md | 50 +++++++++++------------ content/docs/user-guide/dvcignore.md | 20 ++++----- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/content/docs/command-reference/commit.md b/content/docs/command-reference/commit.md index 3dad01a6b2..92d58c2ce1 100644 --- a/content/docs/command-reference/commit.md +++ b/content/docs/command-reference/commit.md @@ -177,11 +177,11 @@ First verification: ```dvc $ dvc status featurize: - changed outs: - not in cache: data/features + changed outs: + not in cache: data/features train: - changed outs: - not in cache: model.pkl + changed outs: + not in cache: model.pkl ``` Now we can look in the cache directory to see if the new version of `model.pkl` diff --git a/content/docs/command-reference/install.md b/content/docs/command-reference/install.md index b6213ac3f3..75e08b3852 100644 --- a/content/docs/command-reference/install.md +++ b/content/docs/command-reference/install.md @@ -192,8 +192,8 @@ You are in 'detached HEAD' state... $ dvc status featurize: - changed outs: - modified: data/features + changed outs: + modified: data/features ... $ dvc checkout diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 611e2e017b..055e0dda11 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,18 +157,18 @@ that. ```dvc $ dvc status bar: - changed deps: - modified: foo - changed outs: - not in cache: bar + changed deps: + modified: foo + changed outs: + not in cache: bar foo.dvc: - changed outs: - deleted: foo - changed checksum + changed outs: + deleted: foo + changed checksum prepare.dvc: - changed outs: - new: bar - always changed + changed outs: + new: bar + always changed ``` This shows that for stage `bar`, the dependency `foo` and the @@ -182,14 +182,14 @@ This shows that for stage `bar`, the dependency `foo` and the ```dvc $ dvc status foo.dvc dobar foo.dvc: - changed outs: - deleted: foo - changed checksum + changed outs: + deleted: foo + changed checksum dobar: - changed deps: - modified: bar - changed outs: - not in cache: foo + changed deps: + modified: bar + changed outs: + not in cache: foo ``` > In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, @@ -222,8 +222,8 @@ Data and pipelines are up to date. $ dvc status model.p --with-deps matrix-train.p: - changed deps: - modified: code/featurization.py + changed deps: + modified: code/featurization.py ``` The `dvc status` command may be limited to a target that had no changes, but by @@ -245,10 +245,10 @@ remote yet: ```dvc $ dvc status --remote storage ... - new: data/model.p - new: data/eval.txt - new: data/matrix-train.p - new: data/matrix-test.p + new: data/model.p + new: data/eval.txt + new: data/matrix-train.p + new: data/matrix-test.p ``` The output shows where the location of the remote storage is, as well as any @@ -270,8 +270,8 @@ original file or directory changes later, `dvc status` will show ```dvc $ dvc status data.csv.dvc: - changed deps: - update available: data.csv (different/repo/location) + changed deps: + update available: data.csv (different/repo/location) ``` The imported data can be brought to its latest version by using `dvc update`. diff --git a/content/docs/user-guide/dvcignore.md b/content/docs/user-guide/dvcignore.md index be5913e74f..d826859e03 100644 --- a/content/docs/user-guide/dvcignore.md +++ b/content/docs/user-guide/dvcignore.md @@ -119,8 +119,8 @@ different output: $ echo "345" >> data/data2 $ dvc status data.dvc: - changed outs: - modified: data + changed outs: + modified: data ``` ## Example: Moving ignored data @@ -154,8 +154,8 @@ Data and pipelines are up to date. $ mv data/data1 data/data3 $ dvc status data.dvc: - changed outs: - modified: data + changed outs: + modified: data ``` ## Example: Ignore DVC tracked file @@ -189,11 +189,11 @@ Check status: ```dvc $ dvc status dir1/data1.dvc: - changed outs: - modified: dir1/data1 + changed outs: + modified: dir1/data1 dir2/data2.dvc: - changed outs: - modified: dir2/data2 + changed outs: + modified: dir2/data2 ``` Note that both data files are displayed as modified. Create a `.dvcignore` file @@ -208,8 +208,8 @@ Check status again: ```dvc $ dvc status dir2/data2.dvc: - changed outs: - modified: dir2/data2 + changed outs: + modified: dir2/data2 ``` Only the second file is displayed because DVC ignores `data1.dvc` and `data1` From 752df116291032cef976daddd31930bbf56c0ae6 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Sun, 8 Nov 2020 19:26:11 +0530 Subject: [PATCH 03/13] Updates --- content/docs/command-reference/commit.md | 4 ++-- content/docs/command-reference/fetch.md | 12 ++++++------ content/docs/command-reference/status.md | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content/docs/command-reference/commit.md b/content/docs/command-reference/commit.md index 92d58c2ce1..faf66e77fb 100644 --- a/content/docs/command-reference/commit.md +++ b/content/docs/command-reference/commit.md @@ -258,8 +258,8 @@ M src/train.py $ dvc status train.dvc: - changed deps: - modified: src/train.py + changed deps: + modified: src/train.py ``` Let's edit one of the source code files. It doesn't matter which one. You'll see diff --git a/content/docs/command-reference/fetch.md b/content/docs/command-reference/fetch.md index 0c7e8e1957..7e53c6e4ba 100644 --- a/content/docs/command-reference/fetch.md +++ b/content/docs/command-reference/fetch.md @@ -153,8 +153,8 @@ into our local cache. ```dvc $ dvc status --cloud ... - deleted: data/features/train.pkl - deleted: model.pkl + deleted: data/features/train.pkl + deleted: model.pkl $ dvc fetch @@ -233,10 +233,10 @@ dependencies/outputs of other pipeline stages are still missing from the cache: ```dvc $ dvc status -c ... - deleted: model.pkl - deleted: data/features/test.pkl - deleted: data/features/train.pkl - deleted: data/data.xml + deleted: model.pkl + deleted: data/features/test.pkl + deleted: data/features/train.pkl + deleted: data/data.xml ``` One could do a simple `dvc fetch` to get all the data, but what if you only want diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 055e0dda11..9b45b3c693 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -158,9 +158,9 @@ that. $ dvc status bar: changed deps: - modified: foo + modified: bar changed outs: - not in cache: bar + not in cache: foo foo.dvc: changed outs: deleted: foo @@ -171,9 +171,9 @@ prepare.dvc: always changed ``` -This shows that for stage `bar`, the dependency `foo` and the -output `bar` have changed. Likewise for `foo.dvc`, the dependency -`foo` has changed, but no output has changed. +This shows that for stage `bar`, the dependency `bar` and the +output `foo` have changed. Likewise for `foo.dvc`, the output `foo` +has changed, but no dependency has changed. ## Example: Specific files or directories From 4546ff8e794b4709f7725668bdfad65f3da480a5 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Mon, 16 Nov 2020 22:37:49 +0530 Subject: [PATCH 04/13] Pull/push/status updates --- content/docs/command-reference/pull.md | 8 ++++---- content/docs/command-reference/push.md | 6 +++--- content/docs/command-reference/status.md | 18 +++++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/content/docs/command-reference/pull.md b/content/docs/command-reference/pull.md index ec3e64adf9..56d9558985 100644 --- a/content/docs/command-reference/pull.md +++ b/content/docs/command-reference/pull.md @@ -193,10 +193,10 @@ such that the data in some of these stages should be updated in the ```dvc $ dvc status -c ... - deleted: data/features/test.pkl - deleted: data/features/train.pkl - deleted: model.pkl - ... + deleted: data/features/test.pkl + deleted: data/features/train.pkl + deleted: model.pkl + ... ``` One could do a simple `dvc pull` to get all the data, but what if you only want diff --git a/content/docs/command-reference/push.md b/content/docs/command-reference/push.md index 5caeae5e6e..ad1d4f2ef7 100644 --- a/content/docs/command-reference/push.md +++ b/content/docs/command-reference/push.md @@ -149,9 +149,9 @@ Imagine the project has been modified such that the ```dvc $ dvc status --cloud ... - new: data/model.p - new: data/matrix-test.p - new: data/matrix-train.p + new: data/model.p + new: data/matrix-test.p + new: data/matrix-train.p ``` One could do a simple `dvc push` to share all the data, but what if you only diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 9b45b3c693..d9f0585cee 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -158,17 +158,17 @@ that. $ dvc status bar: changed deps: - modified: bar - changed outs: + modified: bar + changed outs: not in cache: foo foo.dvc: - changed outs: - deleted: foo - changed checksum + changed outs: + deleted: foo + changed checksum prepare.dvc: - changed outs: - new: bar - always changed + changed outs: + new: bar + always changed ``` This shows that for stage `bar`, the dependency `bar` and the @@ -189,7 +189,7 @@ dobar: changed deps: modified: bar changed outs: - not in cache: foo + not in cache: foo ``` > In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, From b5025c3d7faa69262c73f1a153881e18665705d8 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Mon, 23 Nov 2020 19:29:15 +0530 Subject: [PATCH 05/13] status.md example update --- content/docs/command-reference/commit.md | 2 +- content/docs/command-reference/status.md | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/content/docs/command-reference/commit.md b/content/docs/command-reference/commit.md index faf66e77fb..48e0dcc511 100644 --- a/content/docs/command-reference/commit.md +++ b/content/docs/command-reference/commit.md @@ -257,7 +257,7 @@ $ git status -s M src/train.py $ dvc status -train.dvc: +train: changed deps: modified: src/train.py ``` diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index d9f0585cee..64016b892b 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -156,24 +156,25 @@ that. ```dvc $ dvc status -bar: +foo: changed deps: - modified: bar + modified: foo changed outs: - not in cache: foo -foo.dvc: + not in cache: bar +foo: changed outs: deleted: foo changed checksum -prepare.dvc: +foobar.dvc: changed outs: - new: bar + new: foobar always changed ``` -This shows that for stage `bar`, the dependency `bar` and the -output `foo` have changed. Likewise for `foo.dvc`, the output `foo` -has changed, but no dependency has changed. +This shows that for stage `foo`, the dependency `foo` and the +output `bar` have changed. Whereas for stage `foo`, the output +`foo` has changed, but no dependency has changed. Likewise for `foobar.dvc`, the +output `foobar` tracked by it has changed. ## Example: Specific files or directories @@ -189,7 +190,7 @@ dobar: changed deps: modified: bar changed outs: - not in cache: foo + not in cache: foo ``` > In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, From 6bd312895a4af9ad75a5174304e70dc04f373d32 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Mon, 23 Nov 2020 19:38:09 +0530 Subject: [PATCH 06/13] Fetch example update --- content/docs/command-reference/fetch.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/docs/command-reference/fetch.md b/content/docs/command-reference/fetch.md index 7e53c6e4ba..252f1827ee 100644 --- a/content/docs/command-reference/fetch.md +++ b/content/docs/command-reference/fetch.md @@ -233,10 +233,9 @@ dependencies/outputs of other pipeline stages are still missing from the cache: ```dvc $ dvc status -c ... - deleted: model.pkl deleted: data/features/test.pkl deleted: data/features/train.pkl - deleted: data/data.xml + deleted: model.pkl ``` One could do a simple `dvc fetch` to get all the data, but what if you only want From 81a9c2f53a5fd0625a42b3c277a944a942754d4c Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Mon, 23 Nov 2020 21:00:36 +0530 Subject: [PATCH 07/13] Status.md example update --- content/docs/command-reference/status.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index eb10390268..eb206c4c5e 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,7 +157,7 @@ that. ```dvc $ dvc status -foo: +bar: changed deps: modified: foo changed outs: @@ -172,9 +172,9 @@ foobar.dvc: always changed ``` -This shows that for stage `foo`, the dependency `foo` and the -output `bar` have changed. Whereas for stage `foo`, the output -`foo` has changed, but no dependency has changed. Likewise for `foobar.dvc`, the +This shows that for stage `bar`, the dependency `foo` and the +output `bar` have changed, and for stage `foo`, the output `foo` +has changed, but no dependency has changed. Likewise for `foobar.dvc`, the output `foobar` tracked by it has changed. ## Example: Specific files or directories From b9c98f8dca36ce965d9c53624d709e983f45260f Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Fri, 27 Nov 2020 00:26:00 +0530 Subject: [PATCH 08/13] sample example name change --- content/docs/command-reference/status.md | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index eb206c4c5e..10a6f11c1b 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,35 +157,35 @@ that. ```dvc $ dvc status -bar: +foo: changed deps: - modified: foo + modified: bar changed outs: - not in cache: bar -foo: + not in cache: foo +bar: changed outs: - deleted: foo + deleted: bar changed checksum -foobar.dvc: +baz.dvc: changed outs: - new: foobar + new: baz always changed ``` -This shows that for stage `bar`, the dependency `foo` and the -output `bar` have changed, and for stage `foo`, the output `foo` -has changed, but no dependency has changed. Likewise for `foobar.dvc`, the -output `foobar` tracked by it has changed. +This shows that for stage `foo`, the dependency `bar` and the +output `foo` have changed, and for stage `bar`, the output `bar` +has changed, but no dependency has changed. Likewise for `baz.dvc`, the output +`baz` tracked by it has changed. ## Example: Specific files or directories `dvc status` only checks the tracked data corresponding to any given `targets`: ```dvc -$ dvc status foo.dvc dobar -foo.dvc: +$ dvc status dofoo.dvc dobar +dofoo.dvc: changed outs: - deleted: foo + deleted: dofoo changed checksum dobar: changed deps: @@ -194,8 +194,8 @@ dobar: not in cache: foo ``` -> In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, -> while `dobar` is the name of a stage defined in `dvc.yaml`. +> In this case, the target `dofoo.dvc` is a `.dvc` file to track the `dofoo` +> file, while `dobar` is the name of a stage defined in `dvc.yaml`. Note that you can check data within directories tracked, such as the `data/raw` directory (tracked with `data/raw.dvc`): From fb6f0f3ac1173efd53f190a9bdee3d335bb06775 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 26 Nov 2020 22:02:45 -0600 Subject: [PATCH 09/13] Update content/docs/command-reference/status.md --- content/docs/command-reference/status.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 10a6f11c1b..4e05b19d9a 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,12 +157,12 @@ that. ```dvc $ dvc status -foo: +dofoo: changed deps: modified: bar changed outs: not in cache: foo -bar: +dobar: changed outs: deleted: bar changed checksum From 712ac6a7a06f066c0028715840bb69e439e7f094 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 26 Nov 2020 22:05:03 -0600 Subject: [PATCH 10/13] Update content/docs/command-reference/status.md --- content/docs/command-reference/status.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 4e05b19d9a..29c84441a6 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -183,9 +183,9 @@ has changed, but no dependency has changed. Likewise for `baz.dvc`, the output ```dvc $ dvc status dofoo.dvc dobar -dofoo.dvc: +foo.dvc: changed outs: - deleted: dofoo + deleted: foo changed checksum dobar: changed deps: From 1e20148c38d75450f472ba3dee9b131ebee95247 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Sun, 29 Nov 2020 02:19:30 +0530 Subject: [PATCH 11/13] Consistency in examples --- content/docs/command-reference/status.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 29c84441a6..9b9d96a5ca 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -159,7 +159,7 @@ that. $ dvc status dofoo: changed deps: - modified: bar + modified: baz changed outs: not in cache: foo dobar: @@ -172,8 +172,8 @@ baz.dvc: always changed ``` -This shows that for stage `foo`, the dependency `bar` and the -output `foo` have changed, and for stage `bar`, the output `bar` +This shows that for stage `dofoo`, the dependency `baz` and the +output `foo` have changed, and for stage `dobar`, the output `bar` has changed, but no dependency has changed. Likewise for `baz.dvc`, the output `baz` tracked by it has changed. @@ -182,20 +182,20 @@ has changed, but no dependency has changed. Likewise for `baz.dvc`, the output `dvc status` only checks the tracked data corresponding to any given `targets`: ```dvc -$ dvc status dofoo.dvc dobar +$ dvc status foo.dvc dobar foo.dvc: changed outs: deleted: foo changed checksum dobar: changed deps: - modified: bar + modified: foo changed outs: - not in cache: foo + not in cache: bar ``` -> In this case, the target `dofoo.dvc` is a `.dvc` file to track the `dofoo` -> file, while `dobar` is the name of a stage defined in `dvc.yaml`. +> In this case, the target `foo.dvc` is a `.dvc` file to track the `foo` file, +> while `dobar` is the name of a stage defined in `dvc.yaml`. Note that you can check data within directories tracked, such as the `data/raw` directory (tracked with `data/raw.dvc`): From f0ff0ee229992af3fdfbd74790af8a06687b6176 Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Sun, 29 Nov 2020 02:46:51 +0530 Subject: [PATCH 12/13] exmaple updtaes --- content/docs/command-reference/status.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index 9b9d96a5ca..a5319e4571 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,6 +157,10 @@ that. ```dvc $ dvc status +baz.dvc: + changed outs: + modified: baz + always changed dofoo: changed deps: modified: baz @@ -166,16 +170,12 @@ dobar: changed outs: deleted: bar changed checksum -baz.dvc: - changed outs: - new: baz - always changed ``` -This shows that for stage `dofoo`, the dependency `baz` and the -output `foo` have changed, and for stage `dobar`, the output `bar` -has changed, but no dependency has changed. Likewise for `baz.dvc`, the output -`baz` tracked by it has changed. +This shows that for `baz.dvc`, the output `baz` tracked by it has changed. +Likewise for stage `dofoo`, the dependency `baz` and the output +`foo` have changed, and for stage `dobar`, the output `bar` has changed, but no +dependency has changed. ## Example: Specific files or directories From b54bf7bef8ec6171cb91d42a4cff44ec63946fec Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Wed, 2 Dec 2020 22:27:10 +0530 Subject: [PATCH 13/13] Status example update --- content/docs/command-reference/status.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/content/docs/command-reference/status.md b/content/docs/command-reference/status.md index a5319e4571..4bdc354a9a 100644 --- a/content/docs/command-reference/status.md +++ b/content/docs/command-reference/status.md @@ -157,25 +157,25 @@ that. ```dvc $ dvc status -baz.dvc: - changed outs: - modified: baz - always changed dofoo: changed deps: modified: baz changed outs: - not in cache: foo + modified: foo dobar: + changed deps: + modified: foo changed outs: deleted: bar - changed checksum +baz.dvc: + changed outs: + modified: baz ``` -This shows that for `baz.dvc`, the output `baz` tracked by it has changed. -Likewise for stage `dofoo`, the dependency `baz` and the output -`foo` have changed, and for stage `dobar`, the output `bar` has changed, but no -dependency has changed. +This shows that for stage `dofoo`, the dependency `baz` and the output `foo` +have changed. Likewise for stage `dobar`, the dependency `foo` has changed and +the output `bar` doesn't exist in the workspace. For `baz.dvc`, the file `baz` +tracked by it has changed. ## Example: Specific files or directories @@ -185,7 +185,7 @@ dependency has changed. $ dvc status foo.dvc dobar foo.dvc: changed outs: - deleted: foo + modified: foo changed checksum dobar: changed deps: