Commit graph

50 commits

Author SHA1 Message Date
Robert Hensing
bf4d43602f Fix XDG_ env var handling 2019-11-22 23:19:16 +01:00
Robert Hensing
a422a9797a Elaborate null vs unknown .git node type 2019-11-22 23:03:22 +01:00
Robert Hensing
de0767e90e Prevent a readDir via pathExists 2019-11-22 22:57:21 +01:00
Robert Hensing
526e3b37e3 Polish 2019-11-22 22:57:21 +01:00
Robert Hensing
f9e996052b
Merge pull request #27 from hercules-ci/fix-isForbiddenDir-call
Fix type mistake
2019-09-18 15:15:15 +02:00
Robert Hensing
1d5aec50c1 Fix type mistake
I even wrote out the type, but didn't check the call site.
Types types types types types
2019-09-18 14:57:23 +02:00
Robert Hensing
93b4849d98
Merge pull request #25 from hercules-ci/dont-readdir-store
Don't readDir the store
2019-09-18 14:12:53 +02:00
Robert Hensing
d1000280fa
Update find-files.nix
Co-Authored-By: Domen Kožar <domen@dev.si>
2019-09-18 14:11:23 +02:00
Robert Hensing
0bd9291f56 Don't readDir the store 2019-09-18 13:29:40 +02:00
Robert Hensing
f952568243
Merge pull request #22 from hercules-ci/unescape-hash-sign
Unescape hash sign
2019-09-17 17:01:12 +02:00
Robert Hensing
b73965bd86
Update nix/ci.nix
Co-Authored-By: Domen Kožar <domen@dev.si>
2019-09-17 16:59:46 +02:00
Domen Kožar
d92abaf665
Merge pull request #23 from hercules-ci/issue-12-empty-directory
Ignore empty directories
2019-09-17 16:35:52 +02:00
Robert Hensing
7f3958bb32 Ignore empty directories
Fixes #12
2019-09-17 14:01:35 +02:00
Robert Hensing
0ab3edcc68 sources: Update and sort 2019-09-17 13:23:26 +02:00
Robert Hensing
eb24b3cced ci.nix: Add 19.09 for Nix 2.3 2019-09-17 13:22:17 +02:00
Robert Hensing
206787537e Explicitly unescape hash signs. Required since Nix 2.3. 2019-09-17 13:06:41 +02:00
Robert Hensing
ec4a003915
Merge pull request #21 from hercules-ci/recover-composition
Recover composition
2019-09-12 13:43:28 +02:00
Robert Hensing
31860d428b
Merge pull request #20 from hercules-ci/refactor
Refactor rules.nix
2019-09-12 11:10:00 +02:00
Robert Hensing
1679da2db2
Update default.nix
Co-Authored-By: Domen Kožar <domen@dev.si>
2019-09-12 11:09:23 +02:00
Robert Hensing
23d2f2b0fd Always deterministic, composable on newer Nixpkgs 2019-09-11 16:53:36 +02:00
Robert Hensing
0935208a30 Add name insensitivity to features 2019-09-06 21:46:57 +02:00
Robert Hensing
264206c662 Revert "Remove cleanSourceWith from features list (see #11)"
This reverts commit 26137f3c2e.
2019-09-06 21:44:50 +02:00
Robert Hensing
0f1a8d59d5 Use cleanSourceWith again 2019-09-06 21:44:27 +02:00
Robert Hensing
05026b6bf5 Refactor rules.nix
Make it centered around
type patternFunction = path -> type -> nullOr bool

instead of
path -> type -> [(bool, bool)]
of which only the last match (fst?) was used (snd?).
2019-09-06 21:17:54 +02:00
Domen Kožar
0552944ada
Merge pull request #19 from hercules-ci/issue-18
Issue 18
2019-09-06 14:07:36 +02:00
Robert Hensing
cc23ac9d19 gitignoreFilter: don't use $path/.gitignore, only $path/../.gitignore 2019-09-06 12:37:47 +02:00
Robert Hensing
f8d5bdfe76 Refactor
Extract getPatterns variable in gitignoreFilter to top-level
2019-09-06 12:30:48 +02:00
Douglas Wilson
484cd263a2 Add a failing test for a subdir ignoring itself
The .gitignore in foo causes foo itself to be ignored
2019-09-06 07:48:03 +01:00
Domen Kožar
57403a06d8
Merge pull request #16 from hercules-ci/no-hasInfix
Remove hasInfix usage for compatibility with older nixpkgs
2019-09-05 17:36:09 +02:00
Robert Hensing
bbfa047848 Remove hasInfix usage for compatibility with older nixpkgs 2019-09-05 17:10:52 +02:00
Robert Hensing
6c4ab20841
Merge pull request #14 from transumption-unstable/drop-clean-source-with
Remove cleanSourceWith from features list
2019-09-02 14:41:35 +02:00
Yegor Timoshenko
26137f3c2e
Remove cleanSourceWith from features list (see #11)
Does not compose as of 6e7569637d.
2019-09-02 12:06:49 +00:00
Domen Kožar
6e7569637d
Merge pull request #11 from transumption-unstable/gitignore-source-name
gitignoreSource: ensure Nix store path determinism
2019-08-19 18:58:55 +02:00
Yegor Timoshenko
f7c8b7f8d1
gitignoreSource: ensure Nix store path determinism
This ensures that, when used in situations like `gitignoreSource ./.`,                                          
both Hydra and local checkout will have the exact same Nix path.
2019-08-19 16:16:12 +00:00
Robert Hensing
ec5dd0536a
README: Add submodules row 2019-05-22 16:51:26 +02:00
Robert Hensing
a829865d6c
Update README.md 2019-05-16 11:18:48 +02:00
Robert Hensing
7199bdfee4
README: Add test suite row to comparison 2019-05-15 14:30:03 +02:00
Robert Hensing
952dbb9750
Merge pull request #5 from hercules-ci/domenkozar-patch-2
Update README.md
2019-05-14 14:51:00 +02:00
Domen Kožar
3df076b68c
Update README.md 2019-05-14 12:50:19 +00:00
Robert Hensing
e809827c61
README: 'Typo' 2019-05-14 09:54:09 +02:00
Domen Kožar
a6adf4790c
Merge pull request #3 from hercules-ci/readme-comparison
README: Add comparison
2019-05-13 15:43:11 +07:00
Robert Hensing
7c533ed5f6
README: Add comparison 2019-05-13 10:28:13 +02:00
Robert Hensing
a8fb2d28cd
Merge pull request #2 from hercules-ci/readme-patch
Update README.md
2019-05-13 09:30:03 +02:00
Robert Hensing
ae73c50e21
Update README.md 2019-05-13 09:19:58 +02:00
Robert Hensing
4346ae219b
Merge pull request #1 from hercules-ci/domenkozar-patch-1
Small changes to README
2019-05-13 09:18:38 +02:00
Domen Kožar
f09c66fe3a
Small changes to README 2019-05-13 04:02:13 +00:00
Robert Hensing
4064e43631 Add README 2019-05-12 16:51:42 +02:00
Robert Hensing
d45b6e7369 Pin nixpkgs and add CI 2019-05-12 16:37:34 +02:00
Robert Hensing
bcc385e399 Add IFD-free gitignoreSource implementation 2019-05-12 13:48:32 +02:00
siers
25093d4d10 Initialize with rules, test data and license from nix-gitignore 2019-05-12 12:03:30 +02:00