Repository navigation
Comparing changes
Open a pull request
base repository: folbricht/desync
base: v1.1.2
head repository: folbricht/desync
compare: v1.1.3
- 7 commits
- 11 files changed
- 2 contributors
Commits on Sep 2, 2026
-
Report an unsupported platform instead of panicking (#410)
The walk asserts the stat result is a *syscall.Stat_t and panics when it isn't. It never is on the platforms this file builds for, but the write side makes the same assertion in verifyDeviceNode and returns an error, and Next() has a caller to report to. Also drops the four remaining legacy `// +build` lines. //go:build has been authoritative since Go 1.17 and the module requires far newer.
Configuration menu - View commit details
-
Copy full SHA for f1a54c4 - Browse repository at this point
Copy the full SHA f1a54c4View commit details -
Point the installation instructions at the release binaries (#412)
The section covered `go install` and building from a clone, so the release archives weren't discoverable from the docs at all despite being what most people want.
Configuration menu - View commit details
-
Copy full SHA for e386956 - Browse repository at this point
Copy the full SHA e386956View commit details -
Determine the size of a block device off Linux (#413)
Stat reports zero for a device, so every non-Linux platform returned zero for one. `desync make` on a block device produced an index for an empty blob rather than failing. Linux reads the size with an ioctl. Seeking to the end is what's portable across the BSDs and macOS, and reports the same value the ioctl does where both are available. A device with no size to report, a character device such as /dev/zero, is now an error rather than a silent zero.
Configuration menu - View commit details
-
Copy full SHA for 6e96e94 - Browse repository at this point
Copy the full SHA 6e96e94View commit details -
Require a writable store to build a SwapWriteStore (#411)
NewSwapWriteStore took a plain Store while StoreChunk asserted the wrapped store was a WriteStore. Building one around a store that isn't compiled and constructed without complaint, then panicked on the first write: panic: interface conversion: desync.roStore is not desync.WriteStore Taking a WriteStore makes that a compile error. Swap already refuses to replace a writable store with one that isn't, so the assertion in StoreChunk now holds by construction. The command line already checked the store was writable before wrapping it, so this was only reachable through the library.
Configuration menu - View commit details
-
Copy full SHA for 627ab7f - Browse repository at this point
Copy the full SHA 627ab7fView commit details -
Fix TestDocumentationLinks with vendored dependencies (#414)
Some build systems utilize `go mod vendor` to support offline hermetic builds, and this command copies only Go packages and does not copy directories with documentation if they do not have any Go source code in them, thus breaking the test. But there is no reason to even check vendored code's documentation links, so just skip them.
Configuration menu - View commit details
-
Copy full SHA for 1caabb8 - Browse repository at this point
Copy the full SHA 1caabb8View commit details -
Skip Setgid test when we cannot set this bit (#415)
Some environments are too restricted to set setgid, so check that we can do that before expecting the rest of the code to do that.
Configuration menu - View commit details
-
Copy full SHA for cc9a78c - Browse repository at this point
Copy the full SHA cc9a78cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f392a - Browse repository at this point
Copy the full SHA 67f392aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.1.2...v1.1.3