Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: folbricht/desync
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.2
Choose a base ref
...
head repository: folbricht/desync
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.3
Choose a head ref
  • 7 commits
  • 11 files changed
  • 2 contributors

Commits on Sep 2, 2026

  1. 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.
    folbricht authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    f1a54c4 View commit details
    Browse the repository at this point in the history
  2. 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.
    folbricht authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    e386956 View commit details
    Browse the repository at this point in the history
  3. 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.
    folbricht authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    6e96e94 View commit details
    Browse the repository at this point in the history
  4. 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.
    folbricht authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    627ab7f View commit details
    Browse the repository at this point in the history
  5. 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.
    matshch authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    1caabb8 View commit details
    Browse the repository at this point in the history
  6. 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.
    matshch authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    cc9a78c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    67f392a View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址