-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
term: "checksum" vs "hash" (MD5 context) & add "SHA" (Git commit cont…
…ext) (#962) * add docs for dvc metrics diff * nav: add `metrics diff` to sidebar * cmd ref: typos in `metrics diff` * cmd ref: rewrite `metrics diff` ref and and review related concepts throughout docs e.g. "Git reference", "working tree" * cmd ref: update descs, review options, link all metrics subcmds addresses #933 (review) as well as #933 (review) and #933 (review) * cmd ref: update cmd argument descriptions for `diff` and `metics diff` * metrics diff: big terminology review around the intro of this new command per #933 (review) et al. * term: review usage of "hash", "commit hash", "SHA", and "MD5" per #933 (review) * term: rewrite definition of "workspace" per #933 (review) * cmd ref: change link from `metrics diff` options to `metrics show` per #933 (comment) * cmd ref: update example in `dvc metrics diff` and similar ones per #933 (review) * cmd ref: simplify dvc gc -a option per #933 (review) and #933 (review) * cmd ref: use "reference" more than "revision" in diff per #933 (review) * cmd ref: link term "revision" in diff and `metrics diff` also per #933 (review) * term: put Git ref exapmles before term and link per #933 (review) * cmd ref: friendlier explanation of "tip of default branch" per #933 (review) * cmd ref: use tag name instead of term "the revision" per #933 (review) * term: revert some "revision"->"reference" changes, and related simplifications per #933 (review) * cmd ref: review desc. of `-a` options throughout refs * cmd ref: update diff params per iterative/dvc/pull/3244 * cmd ref: update notes around moving/static Git refs in import and update per #933 (review) * revert workspace glossary entry per #933 (review) * tutorial: use full name of Deep Dive Tutorial in title and links per #933 (review) * user-guide: undo change on "binary" literal for analytics example per #933 (review) * use-cases: avoid term "revision" in data-registries per #933 (review) * term: avoid "checksum" in favor of file "hash" value per #933 (review) * term: SHA hash -> hash (Git commit context) per #962 (comment) Co-authored-by: Ruslan Kuprieiev <[email protected]>
- Loading branch information
1 parent
a94e7cc
commit 01b5efa
Showing
30 changed files
with
143 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,16 +29,16 @@ that becomes [external outputs](/doc/user-guide/managing-external-data). | |
Under the hood, a few actions are taken for each file (or directory) in | ||
`targets`: | ||
|
||
1. Calculate the file checksum. | ||
1. Calculate the file hashes. | ||
2. Move the file contents to the cache directory (by default in `.dvc/cache`), | ||
using the checksum to form the cached file names. (See | ||
using the file hash to form the cached file names. (See | ||
[Structure of cache directory](/doc/user-guide/dvc-files-and-directories#structure-of-cache-directory) | ||
for more details.) | ||
3. Attempt to replace the file by a link to the file in cache (more details | ||
below). | ||
4. Create a corresponding DVC-file and store the checksum to identify the cached | ||
file. Unless the `-f` option is used, the DVC-file name generated by default | ||
is `<file>.dvc`, where `<file>` is the file name of the first target. | ||
4. Create a corresponding DVC-file and store the file hash to identify the | ||
cached file. Unless the `-f` option is used, the DVC-file name generated by | ||
default is `<file>.dvc`, where `<file>` is the file name of the first target. | ||
5. Unless `dvc init --no-scm` was used when initializing the project, add the | ||
`targets` to `.gitignore` in order to prevent them from being committed to | ||
the Git repository. | ||
|
@@ -48,7 +48,7 @@ Under the hood, a few actions are taken for each file (or directory) in | |
|
||
The result is that the target data gets cached by DVC, and instead small | ||
DVC-files can be tracked with Git. The DVC-file lists the added file as an | ||
output (`outs` field), and references the cached file using the checksum. See | ||
output (`outs` field), and references the cached file using its hash. See | ||
[DVC-File Format](/doc/user-guide/dvc-file-format) for more details. | ||
|
||
> Note that DVC-files created by this command are considered _orphans_ because | ||
|
@@ -150,7 +150,7 @@ meta: # Special field to contain arbitary user data | |
email: [email protected] | ||
``` | ||
This is a standard DVC-file with only an `outs` entry. The checksum should | ||
This is a standard DVC-file with only an `outs` entry. The hash value should | ||
correspond to an entry in the <abbr>cache</abbr>. | ||
|
||
> Note that the `meta` values above were entered manually for this example. Meta | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.