1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 14:01:05 +01:00
nix/src/libstore-tests
Sergei Zimmerman 1ca1882e8c libstore: Reallow unbracketed IPv6 addresses in store references
This implements a special back-compat shim to specifically allow
unbracketed IPv6 addresses in store references. This is something
that is relied upon in the wild and the old parsing logic accepted
both ways (brackets were optional). This patch restores this behavior.
As always, we didn't have any tests for this.

Addresses #13937.

(cherry picked from commit 7cc654afa9)
2025-09-08 23:22:41 +00:00
..
data libstore: Reallow unbracketed IPv6 addresses in store references 2025-09-08 23:22:41 +00:00
pch libstore-tests: Improve compile times with PCH 2025-08-17 01:08:31 +03:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
bench-main.cc libstore-tests: Split bench-main into a separate file 2025-08-03 01:03:40 +03:00
common-protocol.cc Make a few more things use StoreDirConfig instead of Store 2025-08-15 15:35:51 -04:00
content-address.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
derivation-advanced-attrs.cc Store StructuredAttrs directly in Derivation 2025-07-29 17:28:16 -04:00
derivation-parser-bench.cc libstore-tests: Build and run benchmarks in CI 2025-08-03 01:09:04 +03:00
derivation.cc Store StructuredAttrs directly in Derivation 2025-07-29 17:28:16 -04:00
derived-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
downstream-placeholder.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
http-binary-cache-store.cc Rewrite StoreConfig::getUri in terms of new StoreConfig::getReference 2025-08-13 19:06:59 -04:00
legacy-ssh-store.cc treewide: Remove getUri and replace with getHumanReadableURI where appropriate 2025-08-14 16:47:05 +03:00
local-binary-cache-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
local-overlay-store.cc libstore-tests: Restore commented out tests 2025-08-11 20:44:29 +03:00
local-store.cc libstore: Do not normalize daemon -> unix://, local -> local:// 2025-09-07 23:38:14 +03:00
machines.cc Add user@address:port support 2025-08-06 23:48:14 +03:00
meson.build Merge pull request #13795 from xokdvium/factor-out-s3url 2025-08-19 17:28:52 -04:00
meson.options add derivation parser benchmark 2025-07-29 16:51:55 +02:00
nar-info-disk-cache.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
nar-info.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_store.cc treewide: Remove getUri and replace with getHumanReadableURI where appropriate 2025-08-14 16:47:05 +03:00
outputs-spec.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
package.nix flake: Apply nixfmt 1.0.0 2025-08-18 20:29:45 +03:00
path-info.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
ref-scan-bench.cc libutil: Move references.{hh,cc} to libstore 2025-08-08 10:30:09 +03:00
references.cc libutil: Move references.{hh,cc} to libstore 2025-08-08 10:30:09 +03:00
s3-binary-cache-store.cc Clean some header related things. 2025-04-06 18:53:38 -04:00
s3.cc libstore: Introduce ParsedS3URL type 2025-08-19 23:39:18 +03:00
serve-protocol.cc Make a few more things use StoreDirConfig instead of Store 2025-08-15 15:35:51 -04:00
ssh-store.cc treewide: Remove getUri and replace with getHumanReadableURI where appropriate 2025-08-14 16:47:05 +03:00
store-reference.cc libstore: Reallow unbracketed IPv6 addresses in store references 2025-09-08 23:22:41 +00:00
uds-remote-store.cc libstore: Do not normalize daemon -> unix://, local -> local:// 2025-09-07 23:38:14 +03:00
worker-protocol.cc Make a few more things use StoreDirConfig instead of Store 2025-08-15 15:35:51 -04:00