Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-02 | Merge remote-tracking branch 'obsidian/missing-include-0' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | Missing `#include <cassert>` in `lru-cache.hh` | John Ericson | |
This was a latent bug that just appeared because of the tests that were added. Remember to wait for CI! :) | |||
2020-06-02 | Typo | Carlo Nucera | |
2020-06-02 | Validate text version instead, throw Errors | Carlo Nucera | |
2020-06-02 | Add assertions for SHA256 in fixed case | Carlo Nucera | |
2020-06-02 | Move file-hash to content-address | Carlo Nucera | |
2020-06-02 | WIP Completed implementation | Carlo Nucera | |
2020-06-02 | WIP | Carlo Nucera | |
2020-06-02 | Clean up `ValidPathInfo::isContentAddressed` with `std::visit` | John Ericson | |
2020-06-02 | Apply suggestions from code review | John Ericson | |
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com> | |||
2020-06-02 | Change parseCa(Opt) to parseContentAddress(Opt) | Carlo Nucera | |
2020-06-02 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | Merge pull request #3639 from obsidiansystems/do-fixme-store-removes | Eelco Dolstra | |
Remove `addToStore` variant as requested by `FIXME` | |||
2020-06-02 | Merge branch 'lru-tests' of https://github.com/gilligan/nix | Eelco Dolstra | |
2020-06-02 | src/libutil/tests/lru-cache.cc: Check erase() | Eelco Dolstra | |
Co-authored-by: James Lee <jbit@jbit.net> | |||
2020-06-02 | Merge pull request #3642 from knl/improve-ref-validity-checking-in-fetchgit | Eelco Dolstra | |
Improve ref validity checking in fetchgit | |||
2020-06-02 | WIP | John Ericson | |
2020-06-01 | WIP more progress | John Ericson | |
2020-06-01 | WIP | Carlo Nucera | |
2020-06-01 | Create new file-hash files | Carlo Nucera | |
2020-06-01 | Merge branch 'derivation-header-include-order' of github.com:Ericson2314/nix ↵ | Carlo Nucera | |
into validPathInfo-ca-proper-datatype | |||
2020-06-01 | Merge branch 'no-stringly-typed-derivation-output' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into validPathInfo-ca-proper-datatype | |||
2020-05-31 | Add tests for lru-cache.hh | Tobias Pflug | |
2020-05-30 | Ensure we restrict refspec interpretation while fetching | Nikola Knezevic | |
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`. | |||
2020-05-30 | Improve ref validity checking in fetchGit | Nikola Knezevic | |
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`. | |||
2020-05-29 | Remove addToStore variant as requested by `FIXME` | John Ericson | |
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. | |||
2020-05-28 | Fixing the result of merge | Carlo Nucera | |
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-28 | Merge remote-tracking branch 'me/more-rust-ffi' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-05-28 | Merge remote-tracking branch 'upstream/master' into more-rust-ffi | John Ericson | |
2020-05-28 | Merge pull request #3631 from andir/libutil-config-tests | Eelco Dolstra | |
Add unit tests for config.cc | |||
2020-05-28 | Merge pull request #3455 from Ericson2314/enum-FileIngestionMethod | Eelco Dolstra | |
Replace some `bool recursive` with a new `FileIngestionMethod` enum | |||
2020-05-28 | Merge pull request #3632 from LnL7/darwin-xz | Eelco Dolstra | |
installer: don't require xz on darwin | |||
2020-05-27 | Use `FileIngestionMethod` for `nix hash` | John Ericson | |
There was an enum there that matched in perfectly. | |||
2020-05-27 | installer: don't require xz on darwin | Daiderd Jordan | |
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. | |||
2020-05-27 | Rename some variables named “recursive” to “method” | Matthew Bauer | |
This is much less confusing since recursive is no longer a boolean. | |||
2020-05-27 | Don’t use FileIngestionMethod for StorePathsCommand | Matthew Bauer | |
This is a different recursive than used in makeFixedOutputPath. | |||
2020-05-27 | config.hh: Add documentation | Andreas Rammhold | |
Provides some general overview on the mechanics of Config/Setting and comments for the public methods of Config. | |||
2020-05-27 | tests/config.cc: add tests for Config::applyConfig | Andreas Rammhold | |
2020-05-27 | config.cc: extract parts of applyConfigFile into applyConfig | Andreas Rammhold | |
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. | |||
2020-05-27 | Add unit tests for config.cc | Andreas Rammhold | |
2020-05-27 | Merge pull request #3608 from surajbarkale/patch-1 | Eelco Dolstra | |
Use /etc/zshenv instead of /etc/zshrc for profile | |||
2020-05-27 | Merge pull request #3621 from gilligan/add-json-tests | Eelco Dolstra | |
Add unit tests for "json.hh" | |||
2020-05-27 | Merge pull request #3625 from gilligan/xml-writer-tests | Eelco Dolstra | |
Add unit tests for xml-writer | |||
2020-05-27 | Merge pull request #3620 from gilligan/hash-tests | Eelco Dolstra | |
Add unit tests for hashing functions | |||
2020-05-26 | Change syntax for CI | Carlo Nucera | |
2020-05-26 | Merge remote-tracking branch 'john-ericson/more-rust-ffi' into ↵ | Carlo Nucera | |
no-stringly-typed-derivation-output | |||
2020-05-26 | Merge remote-tracking branch 'john-ericson/enum-FileIngestionMethod' into ↵ | Carlo Nucera | |
no-stringly-typed-derivation-output | |||
2020-05-26 | Merge remote-tracking branch 'origin/master' into more-rust-ffi | Carlo Nucera | |
2020-05-26 | Update src/libutil/rust-ffi.hh | Carlo Nucera | |
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> |