| Commit message (Expand) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | lib.path.hasStorePathPrefix: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | Silvan Mosberger | 2023-12-13 | 2 | -1/+110 |
| * | lib: Take advantage of section descriptions•••See https://github.com/nix-community/nixdoc/releases/tag/v2.6.0 | Silvan Mosberger | 2023-11-20 | 1 | -1/+2 |
| * | lib.tests: build nix without flaky aws-sdk-cpp•••The aws-sdk-cpp tests are flaky. Since pull requests to staging cause nix to be rebuilt, this means that staging PRs end up getting false CI failures due to whatever is flaky in the AWS SDK tests. Since none of our CI needs to (or should be able to) contact AWS S3, let's just omit it all. Bonus: the tests build way faster. | Adam Joseph | 2023-11-18 | 1 | -3/+6 |
| * | Merge pull request #247825 from tweag/lib.path-md•••Minor `lib.path` documentation consistency improvements | Silvan Mosberger | 2023-08-12 | 1 | -157/+163 |
| |\ | |||||
| | * | lib.path: Add argument docs when missing | Silvan Mosberger | 2023-08-08 | 1 | -1/+4 |
| | * | lib.path: Indent comments the same | Silvan Mosberger | 2023-08-08 | 1 | -146/+150 |
| | * | lib.path: Make documentation more uniform•••- Always have a trailing dot after sentences - Link more things - Fix some formatting - Use `append` instead of `+ ("/"` | Silvan Mosberger | 2023-08-08 | 1 | -27/+26 |
| * | | lib/path/tests: Fix test setup on darwin•••These statements are taken from the `lib/test/release.nix` tests, which previously also worked on darwin. Unblocks https://github.com/NixOS/nix/pull/8569 when backported | Robert Hensing | 2023-08-11 | 1 | -1/+8 |
| |/ | |||||
| * | Merge pull request #242695 from tweag/lib.path.subpath.components•••`lib.path.subpath.components`: init | Robert Hensing | 2023-08-04 | 3 | -0/+65 |
| |\ | |||||
| | * | lib/path/README.md: Justify returning subpaths•••Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | Silvan Mosberger | 2023-07-26 | 1 | -0/+21 |
| | * | lib.path.subpath.components: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | Silvan Mosberger | 2023-07-26 | 2 | -0/+44 |
| * | | lib.path.subpath.isValid: Add definition of a subpath•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | Silvan Mosberger | 2023-07-26 | 1 | -0/+3 |
| * | | lib.path.splitRoot: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | Silvan Mosberger | 2023-07-26 | 2 | -1/+64 |
| * | | Merge pull request #238013 from tweag/lib.path.removePrefix•••`lib.path.removePrefix`: init | Robert Hensing | 2023-07-19 | 2 | -1/+71 |
| |\ \ | |||||
| | * | | lib.path.removePrefix: init | Silvan Mosberger | 2023-07-10 | 2 | -1/+71 |
| * | | | Merge pull request #244044 from tweag/lib-readme•••Create a Readme in `lib` | Robert Hensing | 2023-07-19 | 1 | -2/+5 |
| |\ \ \ | |_|/ |/| | | |||||
| | * | | lib/tests: Unify documentation of individual testable files | Silvan Mosberger | 2023-07-18 | 1 | -2/+5 |
| * | | | lib/path/tests/prop.sh: Add --show-trace | Robert Hensing | 2023-06-26 | 1 | -1/+1 |
| * | | | lib/path/tests: Add --show-trace•••This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value. | Robert Hensing | 2023-06-26 | 1 | -2/+3 |
| | |/ |/| | |||||
| * | | lib.path.hasPrefix: init | Silvan Mosberger | 2023-06-15 | 2 | -1/+81 |
| * | | lib.path.append: Add a law•••With removePrefix introduced in a future commit this law can then be used to derive removePrefix p (append p s) == subpath.normalise s => (wrap with append) append p (removePrefix p (append p s)) == append p (subpath.normalise s) => (append is not influenced by subpath normalisation) append p (removePrefix p (append p s)) == append p s => (substitute q = append p s) append p (removePrefix p q) == q Not included in the docs because it's not that important, just shows that the first statement is more general than the second one (because this derivation doesn't work the other way) | Silvan Mosberger | 2023-04-05 | 1 | -0/+6 |
| |/ | |||||
| * | lib.path.subpath.join: init•••This function can be used to safely join subpaths together | Silvan Mosberger | 2023-02-13 | 2 | -0/+107 |
| * | Merge pull request #208887 from tweag/lib.path.append•••lib.path.append: init | Silvan Mosberger | 2023-02-07 | 2 | -8/+102 |
| |\ | |||||
| | * | lib.path.append: init•••This function can be used to append strings to Nix path values in a safe way. | Silvan Mosberger | 2023-01-18 | 2 | -1/+82 |
| | * | lib.path: Minor improvements•••- Use isValid when possible instead of subpathInvalidReason: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068714681 - Add documentation to function arguments - Use newlines for error messages: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1069737602 - Add short comments for the unit test groups: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1072913051 - Slight formatting improvement for laws: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068707955 | Silvan Mosberger | 2023-01-18 | 2 | -7/+20 |
| * | | lib/path/tests: Fix property tests when "-n" is generated•••When "-n" is generated by the property tests, it causes `echo` to not output the string since it's interpreted as an option. Apparently there's no good way to print "-n" with `echo` [1], so switching to `printf` instead [1]: https://unix.stackexchange.com/questions/85846/how-can-i-print-n-with-echo | Silvan Mosberger | 2023-01-10 | 1 | -1/+1 |
| |/ | |||||
| * | lib.path.subpath.normalise: add property tests | Silvan Mosberger | 2023-01-03 | 4 | -0/+310 |
| * | lib.path.subpath.normalise: init | Silvan Mosberger | 2023-01-03 | 2 | -0/+192 |
| * | lib.path.subpath.isValid: init•••The first path library function | Silvan Mosberger | 2023-01-03 | 3 | -0/+178 |
| * | lib.path: init README.md document•••Adds initial work towards a `lib.path` library Originally proposed in https://github.com/NixOS/nixpkgs/pull/200718, but has since gone through some revisions Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io> Co-Authored-By: Robert Hensing <robert@roberthensing.nl> | Silvan Mosberger | 2023-01-03 | 1 | -0/+196 |
