Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-08 | Add compression unit tests | Tobias Pflug | |
2020-06-08 | Unify the printing of the logs between bar-with-logs and raw | regnat | |
Make the printing of the build logs systematically go through the logger, and replicate the behavior of `no-build-output` by having two different loggers (one that prints the build logs and one that doesn't) | |||
2020-06-08 | Make the logger customisable | regnat | |
Add a new `--log-format` cli argument to change the format of the logs. The possible values are - raw (the default one for old-style commands) - bar (the default one for new-style commands) - bar-with-logs (equivalent to `--print-build-logs`) - internal-json (the internal machine-readable json format) | |||
2020-06-07 | set verbosity levels | Ben Burdette | |
2020-06-06 | Remove error-demo/error-demo.cc | Tobias Pflug | |
The logging.hh superseeds the demo | |||
2020-06-06 | Add tests for logging.hh | Tobias Pflug | |
2020-06-05 | Merge pull request #3656 from obsidiansystems/handle-unknown-file-ingestion | Eelco Dolstra | |
Add error message when FileIngestionMethod is out of bounds | |||
2020-06-05 | Fix log-prefix of `nix build -L` | Eelco Dolstra | |
Alternative fix to #3661. The cause was that 'name' is a std::string_view into a temporary which could get overwritten. | |||
2020-06-04 | Fix condition error and make test suite pass | Carlo Nucera | |
2020-06-04 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-04 | Remove file which shouldn't be committed | John Ericson | |
2020-06-04 | Use `readString` rather than `>> temporary` | John Ericson | |
Fixed the rest of these before, but this one slipped through. | |||
2020-06-04 | Merge branch 'master' of github.com:NixOS/nix into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-04 | Flip boolean | John Ericson | |
Thanks Matt! | |||
2020-06-04 | Use some `std::optional::has_value` for clarity | John Ericson | |
2020-06-04 | Make sure info.ca tag bit is set in `nix add-to-store` | John Ericson | |
2020-06-04 | add some comments | Ben Burdette | |
2020-06-04 | Add error message when FileIngestionMethod is out of bounds | Matthew Bauer | |
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. | |||
2020-06-04 | Make 'nix dev-shell' a deprecated alias for 'nix develop' | Eelco Dolstra | |
2020-06-04 | Rename 'nix dev-shell' to 'nix develop' | Eelco Dolstra | |
Fixes #3648. | |||
2020-06-03 | No C++ designated initializers yet with Clang 7 | John Ericson | |
2020-06-03 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-06-03 | newline-as-prefix; no final newline in output. | Ben Burdette | |
2020-06-03 | Clarify the description of StorePath construction | Carlo Nucera | |
2020-06-03 | libutils/hash: remove default encoding | zimbatm | |
This will make it easier to reason about the hash encoding and switch to SRI everywhere where possible. | |||
2020-06-03 | Missing `#include <cassert>` in `lru-cache.hh` (#3654) | John Ericson | |
This was a latent bug that just appeared because of the tests that were added. Remember to wait for CI! :) | |||
2020-06-03 | Merge remote-tracking branch 'obsidian/no-hash-type-unknown' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
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 | `outputHashAlgo` can be blank so parse accordingly | John Ericson | |
It is blank for SRI hashes. | |||
2020-06-02 | Fix hashes | John Ericson | |
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 | Fix to-base --type handler to correctly set std::optional flag | John Ericson | |
Now that we have a separate flag function, also describe why it is optional. | |||
2020-06-02 | WIP | Carlo Nucera | |
2020-06-02 | to-base supports parsing SRI hashes, so make type flag optional | John Ericson | |
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 | Remove `hashingWithUnknownAlgoExits` | John Ericson | |
A valid hash type must be provided now. The hash itself can still be invalid, but that doesn't cause an `abort()`. | |||
2020-06-02 | Merge remote-tracking branch 'upstream/master' into no-hash-type-unknown | John Ericson | |
2020-06-02 | Remove `HashType::Unknown` | John Ericson | |
Instead, `Hash` uses `std::optional<HashType>`. In the future, we may also make `Hash` itself require a known hash type, encoraging people to use `std::optional<Hash>` instead. | |||
2020-06-02 | Change parseCa(Opt) to parseContentAddress(Opt) | Carlo Nucera | |
2020-06-02 | remove extra space in SysErrors | Ben Burdette | |
2020-06-02 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | elide the 'ErrorInfo' in logError and logWarning calls | Ben Burdette | |
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 | |