From c9fb2194e2888708b034cad7d897b8568b0694f6 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 20 Dec 2020 02:18:03 +0200 Subject: [PATCH 1/4] docs: add isexec field description Per https://github.com/iterative/dvc/pull/5061 --- content/docs/user-guide/dvc-files-and-directories.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/docs/user-guide/dvc-files-and-directories.md b/content/docs/user-guide/dvc-files-and-directories.md index 91920dfb9f..453bef202c 100644 --- a/content/docs/user-guide/dvc-files-and-directories.md +++ b/content/docs/user-guide/dvc-files-and-directories.md @@ -73,6 +73,9 @@ An _output entry_ (`outs`) can have these fields: and a special _checksum_ for HDFS and WebHDFS. - `size`: Size of the file or directory (sum of all files). - `nfiles`: If a directory, number of files inside. +- `isexec`: If a file, whether or not owner has execute permission. On Windows, + it is not saved and, if set manually, won't have any effect on `dvc checkout` + and `dvc pull`. - `cache`: Whether or not this file or directory is cached (`true` by default, if not present). See the `--no-commit` option of `dvc add`. - `persist`: Whether the output file/dir should remain in place while @@ -92,6 +95,9 @@ A _dependency entry_ (`deps`) can have these fields: _checksum_ for HDFS and WebHDFS. See `dvc import-url` for more information. - `size`: Size of the file or directory (sum of all files). - `nfiles`: If a directory, number of files inside. +- `isexec`: If a file, whether or not owner has execute permission. On Windows, + it is not saved and, if set manually, won't have any effect on `dvc checkout` + and `dvc pull`. - `repo`: This entry is only for external dependencies created with `dvc import`, and can contains the following fields: From 582709a600ca1a7c5e9842c6ee8dcfdb2fb270a2 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 21 Dec 2020 01:17:16 +0200 Subject: [PATCH 2/4] Update content/docs/user-guide/dvc-files-and-directories.md Co-authored-by: Jorge Orpinel --- content/docs/user-guide/dvc-files-and-directories.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/user-guide/dvc-files-and-directories.md b/content/docs/user-guide/dvc-files-and-directories.md index 453bef202c..7dab552fc8 100644 --- a/content/docs/user-guide/dvc-files-and-directories.md +++ b/content/docs/user-guide/dvc-files-and-directories.md @@ -73,9 +73,9 @@ An _output entry_ (`outs`) can have these fields: and a special _checksum_ for HDFS and WebHDFS. - `size`: Size of the file or directory (sum of all files). - `nfiles`: If a directory, number of files inside. -- `isexec`: If a file, whether or not owner has execute permission. On Windows, - it is not saved and, if set manually, won't have any effect on `dvc checkout` - and `dvc pull`. +- `isexec`: Whether this is an executable file. DVC preserves execute + permissions upon `dvc checkout` and `dvc pull`. This has no effect on + directories, or in general on Windows. - `cache`: Whether or not this file or directory is cached (`true` by default, if not present). See the `--no-commit` option of `dvc add`. - `persist`: Whether the output file/dir should remain in place while From e0801ff51d2739a7c1ef73c42940cf3856fd60bf Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Sun, 20 Dec 2020 17:24:52 -0600 Subject: [PATCH 3/4] Update content/docs/user-guide/dvc-files-and-directories.md --- content/docs/user-guide/dvc-files-and-directories.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/user-guide/dvc-files-and-directories.md b/content/docs/user-guide/dvc-files-and-directories.md index 7dab552fc8..8c50334b75 100644 --- a/content/docs/user-guide/dvc-files-and-directories.md +++ b/content/docs/user-guide/dvc-files-and-directories.md @@ -95,9 +95,9 @@ A _dependency entry_ (`deps`) can have these fields: _checksum_ for HDFS and WebHDFS. See `dvc import-url` for more information. - `size`: Size of the file or directory (sum of all files). - `nfiles`: If a directory, number of files inside. -- `isexec`: If a file, whether or not owner has execute permission. On Windows, - it is not saved and, if set manually, won't have any effect on `dvc checkout` - and `dvc pull`. +- `isexec`: Whether this is an executable file. DVC preserves execute + permissions upon `dvc checkout` and `dvc pull`. This has no effect on + directories, or in general on Windows. - `repo`: This entry is only for external dependencies created with `dvc import`, and can contains the following fields: From 12c84814512f77f78711f82e3cbd937aebbfdef8 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 21 Dec 2020 12:18:24 +0200 Subject: [PATCH 4/4] Update content/docs/user-guide/dvc-files-and-directories.md --- content/docs/user-guide/dvc-files-and-directories.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/content/docs/user-guide/dvc-files-and-directories.md b/content/docs/user-guide/dvc-files-and-directories.md index 8c50334b75..a8df1fbe76 100644 --- a/content/docs/user-guide/dvc-files-and-directories.md +++ b/content/docs/user-guide/dvc-files-and-directories.md @@ -95,9 +95,6 @@ A _dependency entry_ (`deps`) can have these fields: _checksum_ for HDFS and WebHDFS. See `dvc import-url` for more information. - `size`: Size of the file or directory (sum of all files). - `nfiles`: If a directory, number of files inside. -- `isexec`: Whether this is an executable file. DVC preserves execute - permissions upon `dvc checkout` and `dvc pull`. This has no effect on - directories, or in general on Windows. - `repo`: This entry is only for external dependencies created with `dvc import`, and can contains the following fields: