radicle-heartwood-lfs/crates
Lorenz Leutgeb 5229fb8a59 fix: Normalize filesystem paths with `dunce`
Microsoft Windows has Universal Naming Convention (UNC) paths, see
<https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths>

The Rust standard library normalizes paths to this form when calling
`std::fs::canonicalize`, see
<https://doc.rust-lang.org/std/fs/fn.canonicalize.html>

However, some programs, do not parse these paths correctly, including
our ally `git`:

    $ git clone \\?\C:\Users\lorenz\tmp
    Cloning into 'tmp'...
    ssh: Could not resolve hostname \\\\?\\c: No such host is known.
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

The `dunce` crate solves the problem of having to deal with
normalization and avoiding weird UNC paths for us. Note that on
non-Windows platforms, it *behaves exactly like*
`std::fs::canonicalize`!
2025-08-22 15:11:43 +01:00
..
radicle fix: Normalize filesystem paths with `dunce` 2025-08-22 15:11:43 +01:00
radicle-cli fix: Normalize filesystem paths with `dunce` 2025-08-22 15:11:43 +01:00
radicle-cli-test fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-cob cob: add method for loading entry manifest 2025-08-19 14:27:35 +01:00
radicle-crypto fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-dag repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-fetch radicle-fetch: More fine-grained errors 2025-08-22 14:56:03 +02:00
radicle-node radicle-fetch: More fine-grained errors 2025-08-22 14:56:03 +02:00
radicle-protocol radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
radicle-remote-helper fix: Normalize filesystem paths with `dunce` 2025-08-22 15:11:43 +01:00
radicle-schemars fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-signals repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-ssh release: prepare crates 2025-08-12 12:13:49 +02:00
radicle-systemd release: prepare crates 2025-08-12 12:13:49 +02:00
radicle-term refactor: Replace return Err(anyhow!()) with anyhow::bail!() 2025-08-17 20:17:11 +02:00