Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/winfsp/cgofuse from 1.5.0 to 1.6.0 #422

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps github.com/winfsp/cgofuse from 1.5.0 to 1.6.0.

Release notes

Sourced from github.com/winfsp/cgofuse's releases.

v1.6.0

  • Rename import path to github.com/winfsp/cgofuse.

  • Convert package to module.

  • Support FUSE3 on Linux and FreeBSD. By default, cgofuse will link with FUSE2. To link with FUSE3 add -tags=fuse3 to your go build flags. (PR #87; thanks @​jfantinhardesty)

  • Support FUSE-T on macOS. (PR #73, #74; thanks @​djdv)

  • Preliminary support for Windows on ARM64.

  • Support Linux distributions that place fusermount in /usr/bin.

  • Add FileSystemChmod3 interface. Chmod3 is similar to Chmod except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemChown3 interface. Chown3 is similar to Chown except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemUtimens3 interface. Utimens3 is similar to Utimens except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemRename3 interface. Rename3 is similar to Rename except that it includes flags that are available only under FUSE3. These flags include RENAME_NOREPLACE and RENAME_EXCHANGE.

  • Add FileSystemGetpath interface. A case-insensitive file system can use Getpath to report the correct case of a file path on Windows.

  • Add FileSystemHost.SetCapDeleteAccess. A file system can use this capability to deny delete access on Windows. Such a file system must:

    • Implement the Access file system operation and handle the new fuse.DELETE_OK mask to return -fuse.EPERM for files that should not be deleted. An example implementation might look like:
      func (fs *filesystem) Access(path string, mask uint32) int {
          if "windows" == runtime.GOOS {
              if 0 != mask&fuse.DELETE_OK {
                  if "/nounlink" == path {
                      return -fuse.EPERM
                  }
              }
              return 0
          } else {
              return -fuse.ENOSYS
          }
      }
    • Return -fuse.EPERM from Unlink / Rmdir for files that should not be deleted.
  • Add FileSystemHost.SetCapOpenTrunc. A file system can use this capability to inform the host that it can handle the O_TRUNC flag.

  • Add FileSystemHost.SetDirectIO. A file system can use this capability to disable page caching on FUSE3.

  • Add FileSystemHost.SetUseIno. A file system can use this capability when it wants the host to use the ino values reported by Getattr and other operations on FUSE3.

Changelog

Sourced from github.com/winfsp/cgofuse's changelog.

Changelog

v1.6.0

  • Rename import path to github.com/winfsp/cgofuse.

  • Convert package to module.

  • Support FUSE3 on Linux and FreeBSD. By default, cgofuse will link with FUSE2. To link with FUSE3 add -tags=fuse3 to your go build flags.

  • Support FUSE-T on macOS.

  • Preliminary support for Windows on ARM64.

  • Support Linux distributions that place fusermount in /usr/bin.

  • Add FileSystemChmod3 interface. Chmod3 is similar to Chmod except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemChown3 interface. Chown3 is similar to Chown except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemUtimens3 interface. Utimens3 is similar to Utimens except that it includes a file handle that is available only under FUSE3.

  • Add FileSystemRename3 interface. Rename3 is similar to Rename except that it includes flags that are available only under FUSE3. These flags include RENAME_NOREPLACE and RENAME_EXCHANGE.

  • Add FileSystemGetpath interface. A case-insensitive file system can use Getpath to report the correct case of a file path on Windows.

  • Add FileSystemHost.SetCapDeleteAccess. A file system can use this capability to deny delete access on Windows. Such a file system must:

    • Implement the Access file system operation and handle the new fuse.DELETE_OK mask to return -fuse.EPERM for files that should not be deleted. An example implementation might look like:
      func (fs *filesystem) Access(path string, mask uint32) int {
          if "windows" == runtime.GOOS {
              if 0 != mask&fuse.DELETE_OK {
                  if "/nounlink" == path {
                      return -fuse.EPERM
                  }
              }
              return 0
          } else {
              return -fuse.ENOSYS
          }
      }
    • Return -fuse.EPERM from Unlink / Rmdir for files that should not be deleted.
  • Add FileSystemHost.SetCapOpenTrunc. A file system can use this capability to inform the host that it can handle the O_TRUNC flag.

  • Add FileSystemHost.SetDirectIO. A file system can use this capability to disable page caching on FUSE3.

  • Add FileSystemHost.SetUseIno. A file system can use this capability when it wants the host to use the ino values reported by Getattr and other operations on FUSE3.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/winfsp/cgofuse](https://github.com/winfsp/cgofuse) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/winfsp/cgofuse/releases)
- [Changelog](https://github.com/winfsp/cgofuse/blob/master/Changelog.md)
- [Commits](winfsp/cgofuse@v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/winfsp/cgofuse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 20, 2025
@jfantinhardesty jfantinhardesty merged commit 4b3a0fb into main Jan 23, 2025
15 checks passed
@jfantinhardesty jfantinhardesty deleted the dependabot/go_modules/github.com/winfsp/cgofuse-1.6.0 branch January 23, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant