From bff2832ec341cf30acb3a4d3e2e7f1f7b590116a Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 5 Mar 2022 12:36:45 +0100 Subject: [PATCH] README: add "added but ignored", dotfiles comparison --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3bac20b..aaa3ad8 100644 --- a/README.md +++ b/README.md @@ -106,19 +106,21 @@ See [gitignoreFilter](docs/gitignoreFilter.md) for an example. ## Comparison -| Feature \ Implementation | cleanSource | builtins.fetchGit
/builtins.fetchTree | [siers](https://github.com/siers/nix-gitignore) | [siers recursive](https://github.com/siers/nix-gitignore) | [icetan](https://github.com/icetan/nix-git-ignore-source) | [Profpatsch](https://github.com/Profpatsch/nixperiments/blob/master/filterSourceGitignore.nix) | [numtide](https://github.com/numtide/nix-gitignore) | this project +| Feature \ Implementation | cleanSource | fetchGit/fetchTree | [siers](https://github.com/siers/nix-gitignore) | [siers recursive](https://github.com/siers/nix-gitignore) | [icetan](https://github.com/icetan/nix-git-ignore-source) | [Profpatsch](https://github.com/Profpatsch/nixperiments/blob/master/filterSourceGitignore.nix) | [numtide](https://github.com/numtide/nix-gitignore) | this project |-|-|-|-|-|-|-|-|-| -|Reproducible | ✔️ | ! | ✔️ |✔️ ?| ✔️ |✔️ ?|✔️ ?| ✔️ ? -|Ignores .git | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ -|No special Nix configuration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ -|No import from derivation | ✔️ | ! | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ -|Uses subdirectory gitignores | | ✔️ | | ✔️ | | | ✔️ | ✔️ -|Uses parent gitignores | | ✔️ | | | | |✔️ ?| ✔️ -|Uses user gitignores | | ✔️? | | | | | ✔️ | ✔️ -|Has a test suite | | ✔️? | ✔️ | ✔️ | ✔️ | | ? | ✔️ -|Works with `restrict-eval` / Hydra | ✔️ | ? | ✔️ | | ✔️ | ✔️ | | ✔️ -|Descends into submodule correctly | | ✔️ | ? | ? | ? | ? |✔️ ?| ? #8 -|Included in nixpkgs | ✔️ | ✔️ | ✔️ | ✔️ | | | | +|Reproducible | ✔️ | ! | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ +|Includes added but ignored files | | ✔️ | | | | | ✔️ | +|Uses user tooling rules from dotfiles | | | ? | | | | | ✔️ +|Ignores .git | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ +|No special Nix configuration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ +|No import from derivation | ✔️ | ! | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ +|Uses subdirectory gitignores | | ✔️ | | ✔️ | | | ✔️ | ✔️ +|Uses parent gitignores | | ✔️ | | | | |✔️ ?| ✔️ +|Uses user gitignores | |✔️ ?| | | | | ✔️ | ✔️ +|Has a test suite | |✔️ ?| ✔️ | ✔️ | ✔️ | | ? | ✔️ +|Works with `restrict-eval` / Hydra | ✔️ | ? | ✔️ | | ✔️ | ✔️ | | ✔️ +|Descends into submodule correctly | | ✔️ | ? | ? | ? | ? |✔️ ?| ? #8 +|Included in nixpkgs | ✔️ | ✔️ | ✔️ | ✔️ | | | | |No traversal of ignored dirs
(perf on large repos) | - | | ✔️ |✔️ ?| ✔️ |✔️ ?|✔️ ?| ✔️ ? | | Legend |