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: containerd/continuity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.4
Choose a base ref
...
head repository: containerd/continuity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.5
Choose a head ref
  • 17 commits
  • 11 files changed
  • 2 contributors

Commits on Oct 28, 2024

  1. golangci-lint: don't use deprecated name for "govet" linter

        WARN [lintersdb] The name "vet" is deprecated. The linter has been renamed to: govet.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    a8c7143 View commit details
    Browse the repository at this point in the history
  2. golangci-lint: sort linters

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5158c3f View commit details
    Browse the repository at this point in the history
  3. commands/mount_unsupported: drop nil-assignment (revive)

        commands/mount_unsupported.go:26:31: var-declaration: should drop = nil from declaration of var MountCmd; it is the zero value (revive)
        var MountCmd *cobra.Command = nil
                                      ^
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    583d7ed View commit details
    Browse the repository at this point in the history
  4. don't use "ctx" for continuity.Context arguments

    ctx is commonly used for context.Context. Using it for any other purpose
    should be avoided to prevent confusion.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    2200bb4 View commit details
    Browse the repository at this point in the history
  5. rename variables that shadowed package-level type

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    94c0490 View commit details
    Browse the repository at this point in the history
  6. TestWalkFS: fix unhandled error

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    38f66a6 View commit details
    Browse the repository at this point in the history
  7. cmd/continuity: switch to google.golang.org/protobuf/proto

    The github.com/golang/protobuf/proto module is deprecated, and the main
    module already switched to google.golang.org/protobuf/proto in commit
    74a0169. This patch updates the cmd/continuity
    module to use the new module as well.
    
    Before this patch:
    
        $ cd cmd/continuity
        $ go install
        $ continuity build ./continuityfs > manifest.pb
        $ continuity dump ./manifest.pb
        resource: <
          path: "/fuse.go"
          uid: 501
          gid: 20
          mode: 420
          size: 7464
          digest: "sha256:3d86240dcc3ea8ec7ae85d6c4e0bf0be1385b5d1e38564dcec72a69b51fcf919"
        >
        resource: <
          path: "/provider.go"
          uid: 501
          gid: 20
          mode: 420
          size: 1728
          digest: "sha256:8e3da0fd4a8d5e454ff027d4948d4b116ddaeb5ccdd0e10af806a2ecf2599710"
        >
    
    With this patch:
    
        $ cd cmd/continuity
        $ go install
        $ continuity build ./continuityfs > manifest.pb
        $ continuity dump ./manifest.pb
        resource:  {
          path:  "/fuse.go"
          uid:  501
          gid:  20
          mode:  420
          size:  7464
          digest:  "sha256:3d86240dcc3ea8ec7ae85d6c4e0bf0be1385b5d1e38564dcec72a69b51fcf919"
        }
        resource:  {
          path:  "/provider.go"
          uid:  501
          gid:  20
          mode:  420
          size:  1728
          digest:  "sha256:8e3da0fd4a8d5e454ff027d4948d4b116ddaeb5ccdd0e10af806a2ecf2599710"
        }
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    fd64705 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #260 from thaJeztah/switch_proto

    cmd/continuity: switch to google.golang.org/protobuf/proto
    AkihiroSuda authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c156753 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #259 from thaJeztah/fix_lint_step1

    assorted linting fixes and minor cleanups
    AkihiroSuda authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    0e83ada View commit details
    Browse the repository at this point in the history
  10. cmd/continuity: fix SA1019: entry.User/entry.Group is deprecated

    Add nolint-comments, and a small utility to show either the user/group
    name (if present), otherwise fall back to use Uid/Gid.
    
    Before this patch:
    
        cd cmd/continuity
        go install
        continuity build ./continuityfs/ > manifest.pb
        continuity ls ./manifest.pb
        -rw-r--r--      7.5 kB  /fuse.go
        -rw-r--r--      1.7 kB  /provider.go
    
    With this patch:
    
        cd cmd/continuity
        go install
        continuity build ./continuityfs/ > manifest.pb
        continuity ls ./manifest.pb
        -rw-r--r--  501  20  7.5 kB  /fuse.go
        -rw-r--r--  501  20  1.7 kB  /provider.go
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    38fcdae View commit details
    Browse the repository at this point in the history
  11. cmd/continuity/continuityfs: SA1019: fuse.ENOENT is deprecated

        Error: continuityfs/fuse.go:200:15: SA1019: fuse.ENOENT is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
                return nil, fuse.ENOENT
                            ^
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    cadd3a2 View commit details
    Browse the repository at this point in the history
  12. Makefile: make "lint" target also lint cmd/continuity module

    cmd/continuity is a separate module, and therefore was not linted.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    4c00ab7 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. fs: fix Ctime returning Mtime

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f4f4fb5 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. fs: implement Atime, Ctime, Mtime for bsd and darwin

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    dbe44eb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #255 from thaJeztah/fix_lint

    Makefile: make "lint" target also lint cmd/continuity module and fix linting issues
    AkihiroSuda authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    163414b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #262 from thaJeztah/fix_freebsd

    fs: implement Atime, Ctime, Mtime for bsd and darwin
    AkihiroSuda authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3f84e3e View commit details
    Browse the repository at this point in the history
  4. Merge pull request #261 from thaJeztah/fix_mtime

    fs: fix Ctime returning Mtime
    AkihiroSuda authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    44e2adf View commit details
    Browse the repository at this point in the history
Loading