cidkidnix
0979a374c5
Begin to split up overlay-local-store tests
...
The bad-uris tests are now in their own file.
"Outer" is a bad name, but it will be split up next.
2023-05-15 15:31:57 -05:00
cidkidnix
b7e5aaf90d
Add test for checking that we reject bad local overlay store uris
2023-05-15 13:41:38 -05:00
Ben Radford
0df37edb1c
Make upper-layer a PathSetting instead of a Setting<string>.
2023-05-15 17:34:31 +01:00
Ben Radford
b0989cb10b
Support percent encoded URIs for lower store.
2023-05-15 17:34:31 +01:00
Ben Radford
b5591ece4c
Check that overlay store directory is mounted correctly.
...
Nix does not manage the overlayfs mount point itself, but the correct
functioning of the overlay store does depend on this mount point being set up
correctly. Rather than just assume this is the case, check that the lowerdir
and upperdir options are what we expect them to be. This check is on by
default, but can be disabled if needed.
2023-05-15 17:34:31 +01:00
John Ericson
4173743a3c
Implement more queries
2023-05-09 17:20:58 -04:00
John Ericson
8339c170d7
More tests
2023-05-09 16:49:44 -04:00
John Ericson
5059be53b1
Fix recursive ingestion from lower store
2023-05-09 16:42:28 -04:00
John Ericson
e7c3399ed2
Specialize LocalOverlayStore::queryPathFromHashPart
...
With test
2023-05-09 10:40:10 -04:00
John Ericson
ddaf2750b5
Specialize more methods, fix tests
2023-05-09 10:22:38 -04:00
John Ericson
b3d320c594
Convert more methods
...
Fixed one test, broke another
2023-05-08 18:50:16 -04:00
John Ericson
59a8099038
Fix LocalOverlayStore::queryPathInfoUncached
, FIXME in test
2023-05-08 17:37:40 -04:00
John Ericson
5406256d78
Specialize LocalOverlayStore::queryPathInfoUncached
2023-05-08 17:30:17 -04:00
John Ericson
31e98ed0a0
Specialize LocalOverlayStore::registerDrvOutput
2023-05-08 16:48:55 -04:00
John Ericson
0193c2abcd
Improve tests slightly
2023-05-08 16:03:32 -04:00
John Ericson
d80fc2ac1b
First round of testing, with todos
2023-05-08 16:01:36 -04:00
John Ericson
9c9f5f0d12
Merge branch 'best-effort-supplementary-groups' into overlayfs-store
2023-05-08 14:47:46 -04:00
John Ericson
f08754a97a
Progress on tests
2023-05-08 14:47:39 -04:00
John Ericson
6d1aa523de
Create escape hatch for supplementary group sandboxing woes
...
There is no obvious good solution for this that has occured to anyone.
2023-05-08 14:41:47 -04:00
Robert Hensing
4539ab530a
Merge pull request #8296 from fricklerhandwerk/contributing-idea-approved
...
highlight 'idea approved' issues in contributing guide
2023-05-08 17:00:23 +02:00
John Ericson
b5d9ef0a4c
Merge pull request #3921 from obsidiansystems/trustless-remote-builder-simple
...
Trustless remote building for input-addressed drvs
2023-05-08 10:43:37 -04:00
John Ericson
d5fe828d76
Merge remote-tracking branch 'upstream/master' into overlayfs-store
2023-05-08 10:20:18 -04:00
John Ericson
f0a176e2f1
Init local overlay store
2023-05-08 10:20:06 -04:00
John Ericson
df53a7d268
Split comment, match with each variable
2023-05-08 10:08:01 -04:00
John Ericson
cd0d8e0bd5
Apply suggestions from code review
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-05-08 09:57:05 -04:00
Robert Hensing
cf8effdae2
Merge pull request #8263 from frederictobiasc/improve-doc-genericclosure
...
Documentation: Improve builtins.genericClosure
2023-05-08 12:23:19 +02:00
Robert Hensing
879e45247c
Merge pull request #8288 from figsoda/regex
...
Fix hostRegex to accept hosts with a `-`
2023-05-08 12:14:59 +02:00
Valentin Gagarin
7c03285719
Update CONTRIBUTING.md
...
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2023-05-06 14:24:49 +02:00
Valentin Gagarin
0fad8f71c4
highlight 'idea approved' issues in contributing guide
2023-05-05 14:15:29 +02:00
Théophane Hufschmitt
81778c8d55
Merge pull request #6953 from EzraSingh/patch-1
...
Update install-systemd-multi-user.sh
2023-05-05 13:20:22 +02:00
figsoda
0662fd8599
Fix hostRegex to accept hosts with a -
2023-05-03 18:59:44 -04:00
Eelco Dolstra
b17c4290cf
Merge pull request #8286 from fricklerhandwerk/uninstall-redirects
...
add redirect to track moved uninstall section
2023-05-03 14:09:33 +02:00
Valentin Gagarin
dc8191ae14
add redirect to track moved uninstall section
2023-05-03 11:39:29 +02:00
Valentin Gagarin
5d78dc4176
doc rendering: add functions to scope explicitly ( #7378 )
...
* doc rendering: add functions to scope explicitly
this especially helps beginners with code readability, since the origin
of names is always immediately visible.
2023-05-03 07:16:29 +00:00
Théophane Hufschmitt
1540ab7628
Merge pull request #8282 from fricklerhandwerk/idea-approved
...
maintainers: add procedure for 'idea approved' label
2023-05-02 16:34:01 +02:00
Eelco Dolstra
ba180d7d89
Merge pull request #8270 from edolstra/nix-repair
...
nix: Support the --repair flag
2023-05-02 12:54:08 +02:00
Valentin Gagarin
feb2200ba6
use headings instead of list items
...
this allows easier linking and a provides a bit more visual clarity
2023-05-02 11:30:27 +02:00
Valentin Gagarin
521cca1840
add procedure for 'idea approved' label
2023-05-02 11:28:03 +02:00
Eelco Dolstra
17e6b85d05
nix: Support the --repair flag
2023-04-28 17:03:04 +02:00
Eelco Dolstra
89d3cc5a47
Merge pull request #8267 from fricklerhandwerk/uninstall-instructions
...
move uninstall instructions to a separate page
2023-04-28 12:41:09 +02:00
Valentin Gagarin
9b2a4a4729
move uninstall instructions to a separate page
...
placed in a subsection of the binary install, the instructions are hard
to find. putting them in a separate page that is shown in the table of
contents should make it easier for users to find what they need when
they need it.
2023-04-28 11:53:38 +02:00
Frédéric Christ
f0d2b7eef3
Doc: Improve builtins.genericClosure
2023-04-26 09:37:32 +02:00
Eelco Dolstra
946fd29422
Merge pull request #8260 from edolstra/lazy-trees-cherrypicks
...
lazy-trees cherrypicks
2023-04-25 17:36:53 +02:00
Eelco Dolstra
87f676b3a0
Formatting
2023-04-25 16:52:02 +02:00
Eelco Dolstra
a74d397549
nix build --json: Only show non-zero startTime / stopTime
2023-04-25 16:43:47 +02:00
Eelco Dolstra
880e7b8ed6
TarArchive: Remove a duplicate constant and increase the buffer size
2023-04-25 16:43:10 +02:00
Eelco Dolstra
249ce28332
Merge pull request #8172 from edolstra/source-path
...
Backport `SourcePath` from the lazy-trees branch
2023-04-24 14:05:51 +02:00
Eelco Dolstra
5d3f6dbf59
Add some more SourcePath docs
2023-04-24 13:37:51 +02:00
Eelco Dolstra
ad57cff9bc
Document tMisc
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-04-24 13:34:46 +02:00
Eelco Dolstra
01232358ff
Merge remote-tracking branch 'origin/master' into source-path
2023-04-24 13:20:36 +02:00