- Jun 10, 2020
-
-
Tobias Pflug authored
-
- Jun 05, 2020
-
-
Eelco Dolstra authored
Add error message when FileIngestionMethod is out of bounds
-
Eelco Dolstra authored
Alternative fix to #3661. The cause was that 'name' is a std::string_view into a temporary which could get overwritten.
-
Eelco Dolstra authored
Add `src/libutil/tests/libutil-tests` to `.gitignore`
-
- Jun 04, 2020
-
-
John Ericson authored
I gather this comes from the new unit tests.
-
Matthew Bauer authored
bool coerces anything >0 to true, but in the future we may have other file ingestion methods. This shows a better error message when the “recursive” byte isn’t 1.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Fixes #3648.
-
- Jun 03, 2020
-
-
John Ericson authored
This was a latent bug that just appeared because of the tests that were added. Remember to wait for CI! :)
-
- Jun 02, 2020
-
-
Eelco Dolstra authored
Remove `addToStore` variant as requested by `FIXME`
-
Eelco Dolstra authored
Co-authored-by:
James Lee <jbit@jbit.net>
-
Eelco Dolstra authored
Improve ref validity checking in fetchgit
-
- May 30, 2020
-
-
Tobias Pflug authored
-
Nikola Knezevic authored
As `git fetch` may chose to interpret refspec to it's liking, ensure that we only pass refs that begin with `refs/` as is, otherwise, prepend them with `refs/heads`. Otherwise, branches named `heads/foo` (I know it's bad, but it's allowed), would be fetched as `foo`, instead of `heads/foo`.
-
Nikola Knezevic authored
The previous regex was too strict and did not match what git was allowing. It could lead to `fetchGit` not accepting valid branch names, even though they exist in a repository (for example, branch names containing `/`, which are pretty standard, like `release/1.0` branches). The new regex defines what a branch name should **NOT** contain. It takes the definitions from `refs.c` in https://github.com/git/git and `git help check-ref-format` pages. This change also introduces a test for ref name validity checking, which compares the result from Nix with the result of `git check-ref-format --branch`.
-
- May 29, 2020
-
-
John Ericson authored
The idea is it's always more flexible to consumer a `Source` than a plain string, and it might even reduce memory consumption. I also looked at `addToStoreFromDump` with its `// FIXME: remove?`, but the worked needed for that is far more up for interpretation, so I punted for now.
-
- May 28, 2020
-
-
Eelco Dolstra authored
Add unit tests for config.cc
-
Eelco Dolstra authored
Replace some `bool recursive` with a new `FileIngestionMethod` enum
-
Eelco Dolstra authored
installer: don't require xz on darwin
-
John Ericson authored
There was an enum there that matched in perfectly.
-
- May 27, 2020
-
-
Daiderd Jordan authored
On macOS the system tar has builtin support for lzma while xz isn't available as a separate binary. There's no builtin package manager there available either so having to install lzma (without nix) would be rather painful.
-
Matthew Bauer authored
This is much less confusing since recursive is no longer a boolean.
-
Matthew Bauer authored
This is a different recursive than used in makeFixedOutputPath.
-
Andreas Rammhold authored
Provides some general overview on the mechanics of Config/Setting and comments for the public methods of Config.
-
Andreas Rammhold authored
-
Andreas Rammhold authored
This moves the actual parsing of configuration contents into applyConfig which applyConfigFile is then going to call. By changing this we can now test the configuration file parsing without actually create a file on disk.
-
Andreas Rammhold authored
-
Eelco Dolstra authored
Use /etc/zshenv instead of /etc/zshrc for profile
-
Eelco Dolstra authored
Add unit tests for "json.hh"
-
Eelco Dolstra authored
Add unit tests for xml-writer
-
Eelco Dolstra authored
Add unit tests for hashing functions
-
- May 26, 2020
-
-
Carlo Nucera authored
-
Carlo Nucera authored
-
Domen Kožar authored
-
Domen Kožar authored
- --no-channel-add didn't have effect on multi-user installation - some new flags didn't work at all - document all installer flags
-
- May 25, 2020
-
-
Tobias Pflug authored
-
Domen Kožar authored
install-multi-user: allow overriding user count
-
Domen Kožar authored
Allow passing extra nix.conf to installer
-
Domen Kožar authored
-