1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 20:16:03 +01:00
nix/src
Farid Zakaria a67c93c240 Improve Git URI handling
Git URI can also support scp style links similar to git itself.

This change augments the function fixGitURL to better handle the scp
style urls through a minimal parser rather than regex which has been
found to be brittle.

* Support for IPV6 added
* New test cases added for fixGitURL
* Clearer documentation on purpose and goal of function
* More `std::string_view` for performance
* Update URL tests

Fixes #5958

Mostly undoes revert 4757487110599bbe9a287ead75741bba5436d52f
Adapted from commit 04ad66af5f
2025-09-01 17:20:40 -04:00
..
external-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
internal-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
libcmd libexpr: Statically allocate commonly used symbols 2025-08-31 13:24:06 +02:00
libexpr Merge pull request #13883 from xokdvium/toml-timestamps-reapply 2025-09-01 09:12:33 +02:00
libexpr-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libexpr-test-support treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libexpr-tests libexpr: Statically allocate commonly used symbols 2025-08-31 13:24:06 +02:00
libfetchers lib{store,fetchers}: Pass URLs specified directly verbatim to FileTransferRequest 2025-09-01 02:22:23 +03:00
libfetchers-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libfetchers-tests No more globals.hh in headers 2025-08-20 16:24:37 -04:00
libflake libexpr: Statically allocate commonly used symbols 2025-08-31 13:24:06 +02:00
libflake-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libflake-tests libfetchers: Restore path separator ignoring behavior for indirect and git-archive flakerefs 2025-08-30 14:40:56 +03:00
libmain treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libmain-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libstore Merge pull request #13866 from obsidiansystems/more-derivation-builder-cleanup 2025-09-01 20:35:16 +02:00
libstore-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libstore-test-support No more globals.hh in headers 2025-08-20 16:24:37 -04:00
libstore-tests libstore: Get rid of allocations in printString, allocate 2K bytes on the stack 2025-08-31 00:48:37 +03:00
libutil Improve Git URI handling 2025-09-01 17:20:40 -04:00
libutil-c treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libutil-test-support treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
libutil-tests Improve Git URI handling 2025-09-01 17:20:40 -04:00
nix Merge pull request #13881 from xokdvium/pass-url-verbatim 2025-09-01 20:06:50 +02:00
perl flake: Apply nixfmt 1.0.0 2025-08-18 20:29:45 +03:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00