mirror of
https://github.com/winfsp/cgofuse.git
synced 2025-04-18 23:04:00 +03:00
rename links to point within the winfsp org
This commit is contained in:
parent
f12b47055e
commit
8a65318862
@ -1,6 +1,6 @@
|
||||
version: '{build}'
|
||||
|
||||
clone_folder: C:\projects\go\src\github.com\billziss-gh\cgofuse
|
||||
clone_folder: C:\projects\go\src\github.com\winfsp\cgofuse
|
||||
|
||||
environment:
|
||||
CPATH: C:\projects\winfsp\inc\fuse
|
||||
@ -24,7 +24,7 @@ install:
|
||||
$usingTask.AssemblyFile = '$(WDKContentRoot)build\bin\Microsoft.DriverKit.Build.Tasks.16.0.dll'
|
||||
$targets.Save("C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.Common.targets")
|
||||
- choco install winfsp --version=1.0.17072 -y
|
||||
- git clone -q --recurse-submodules https://github.com/billziss-gh/winfsp.git C:\projects\winfsp
|
||||
- git clone -q --recurse-submodules https://github.com/winfsp/winfsp.git C:\projects\winfsp
|
||||
- git -C C:\projects\winfsp checkout -q release/1.2
|
||||
|
||||
build_script:
|
||||
@ -42,7 +42,7 @@ test_script:
|
||||
- C:\projects\winfsp\tools\nmake-ext-test.bat
|
||||
|
||||
# hard code fsreg parameters because appveyor does not like percents ("--VolumePrefix=%1 %2")
|
||||
- C:\projects\winfsp\tools\fsreg.bat gomemfs "C:\projects\go\src\github.com\billziss-gh\cgofuse\memfs.exe" "--VolumePrefix=\gomemfs\share M:" "D:P(A;;RPWPLC;;;WD)"
|
||||
- C:\projects\winfsp\tools\fsreg.bat gomemfs "C:\projects\go\src\github.com\winfsp\cgofuse\memfs.exe" "--VolumePrefix=\gomemfs\share M:" "D:P(A;;RPWPLC;;;WD)"
|
||||
|
||||
# test against WinFsp v1.0
|
||||
- 'net use M: \\gomemfs\share'
|
||||
@ -55,8 +55,8 @@ test_script:
|
||||
|
||||
# test against WinFsp v1.2 DLL with chflags, setcrtime and setchgtime
|
||||
# HACK: mixing DLL and FSD versions; do not try this at home
|
||||
- copy C:\projects\winfsp\build\VStudio\build\Release\winfsp-x64.dll C:\projects\go\src\github.com\billziss-gh\cgofuse
|
||||
- copy C:\projects\winfsp\build\VStudio\build\Release\winfsp-x86.dll C:\projects\go\src\github.com\billziss-gh\cgofuse
|
||||
- copy C:\projects\winfsp\build\VStudio\build\Release\winfsp-x64.dll C:\projects\go\src\github.com\winfsp\cgofuse
|
||||
- copy C:\projects\winfsp\build\VStudio\build\Release\winfsp-x86.dll C:\projects\go\src\github.com\winfsp\cgofuse
|
||||
- 'net use M: \\gomemfs\share'
|
||||
- 'M: & cd'
|
||||
- C:\projects\winfsp\build\VStudio\build\Release\winfsp-tests-x64.exe --external --resilient --share-prefix=\gomemfs\share -create_allocation_test -create_fileattr_test -getfileinfo_name_test -delete_access_test -setsecurity_test -querydir_namelen_test -reparse* -stream*
|
||||
|
@ -2,7 +2,7 @@ freebsd_task:
|
||||
freebsd_instance:
|
||||
image_family: freebsd-12-1
|
||||
env:
|
||||
CIRRUS_WORKING_DIR: /tmp/go/src/github.com/billziss-gh/cgofuse
|
||||
CIRRUS_WORKING_DIR: /tmp/go/src/github.com/winfsp/cgofuse
|
||||
GOPATH: /tmp/go
|
||||
install_script:
|
||||
- kldload fuse
|
||||
|
@ -6,9 +6,9 @@ pkg install -y fusefs-libs
|
||||
|
||||
# cgofuse: build and test
|
||||
export GOPATH=/tmp/go
|
||||
mkdir -p /tmp/go/src/github.com/billziss-gh
|
||||
cp -R /tmp/repo/cgofuse /tmp/go/src/github.com/billziss-gh
|
||||
cd /tmp/go/src/github.com/billziss-gh/cgofuse
|
||||
mkdir -p /tmp/go/src/github.com/winfsp
|
||||
cp -R /tmp/repo/cgofuse /tmp/go/src/github.com/winfsp
|
||||
cd /tmp/go/src/github.com/winfsp/cgofuse
|
||||
go build -v ./...
|
||||
go build -v ./examples/memfs
|
||||
go build -v ./examples/passthrough
|
||||
|
@ -2,8 +2,8 @@ set -ex
|
||||
|
||||
# cgofuse: build and test
|
||||
export GOPATH=/tmp/go
|
||||
mkdir -p /tmp/go/src/github.com/billziss-gh
|
||||
cp -R /tmp/repo/cgofuse /tmp/go/src/github.com/billziss-gh
|
||||
cd /tmp/go/src/github.com/billziss-gh/cgofuse
|
||||
mkdir -p /tmp/go/src/github.com/winfsp
|
||||
cp -R /tmp/repo/cgofuse /tmp/go/src/github.com/winfsp
|
||||
cd /tmp/go/src/github.com/winfsp/cgofuse
|
||||
go build -v ./...
|
||||
# go test -v ./fuse -run 'TestUnmount|TestSignal'
|
||||
|
@ -18,7 +18,7 @@ before_install:
|
||||
# secfs.test
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install libacl1-dev; fi
|
||||
- mkdir -p /tmp/t/{m,p}
|
||||
- git clone -q https://github.com/billziss-gh/secfs.test.git /tmp/t/secfs.test
|
||||
- git clone -q https://github.com/winfsp/secfs.test.git /tmp/t/secfs.test
|
||||
- git -C /tmp/t/secfs.test checkout -q 3dba1298402d3c612fe5f0624ce8168c9354707b
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sed -e 's/^fs=.*$/fs="cgofuse"/' -i "" /tmp/t/secfs.test/fstest/fstest/tests/conf; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sed -e 's/^fs=.*$/fs="cgofuse"/' -i"" /tmp/t/secfs.test/fstest/fstest/tests/conf; fi
|
||||
|
@ -34,7 +34,7 @@ RUN \
|
||||
# install WinFsp-FUSE
|
||||
RUN \
|
||||
wget -q -O winfsp.zip \
|
||||
https://github.com/billziss-gh/winfsp/archive/release/1.2.zip && \
|
||||
https://github.com/winfsp/winfsp/archive/release/1.2.zip && \
|
||||
7z e winfsp.zip 'winfsp-release-1.2/inc/fuse/*' -o/usr/local/include/winfsp
|
||||
|
||||
ENV \
|
||||
|
12
README.md
12
README.md
@ -3,8 +3,8 @@
|
||||
</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://godoc.org/github.com/billziss-gh/cgofuse/fuse">
|
||||
<img src="https://godoc.org/github.com/billziss-gh/cgofuse/fuse?status.svg"/>
|
||||
<a href="https://godoc.org/github.com/winfsp/cgofuse/fuse">
|
||||
<img src="https://godoc.org/github.com/winfsp/cgofuse/fuse?status.svg"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@ -20,7 +20,7 @@ Cgofuse is a cross-platform FUSE library for Go. It is supported on multiple pla
|
||||
## How to build
|
||||
|
||||
**Windows cgo**
|
||||
- Prerequisites: [WinFsp](https://github.com/billziss-gh/winfsp), gcc (e.g. from [Mingw-builds](http://mingw-w64.org/doku.php/download))
|
||||
- Prerequisites: [WinFsp](https://github.com/winfsp/winfsp), gcc (e.g. from [Mingw-builds](http://mingw-w64.org/doku.php/download))
|
||||
- Build:
|
||||
```
|
||||
> cd cgofuse
|
||||
@ -29,7 +29,7 @@ Cgofuse is a cross-platform FUSE library for Go. It is supported on multiple pla
|
||||
```
|
||||
|
||||
**Windows !cgo**
|
||||
- Prerequisites: [WinFsp](https://github.com/billziss-gh/winfsp)
|
||||
- Prerequisites: [WinFsp](https://github.com/winfsp/winfsp)
|
||||
- Build:
|
||||
```
|
||||
> cd cgofuse
|
||||
@ -109,7 +109,7 @@ Cross-compilation only works for Windows, macOS and Linux.
|
||||
|
||||
User mode file systems are expected to implement `fuse.FileSystemInterface`. To make implementation simpler a file system can embed ("inherit") a `fuse.FileSystemBase` which provides default implementations for all operations. To mount a file system one must instantiate a `fuse.FileSystemHost` using `fuse.NewFileSystemHost`.
|
||||
|
||||
The full documentation is available at GoDoc.org: [package fuse](https://godoc.org/github.com/billziss-gh/cgofuse/fuse)
|
||||
The full documentation is available at GoDoc.org: [package fuse](https://godoc.org/github.com/winfsp/cgofuse/fuse)
|
||||
|
||||
There are currently three example file systems:
|
||||
|
||||
@ -122,7 +122,7 @@ There are currently three example file systems:
|
||||
Cgofuse is regularly built and tested on [Travis CI](https://travis-ci.org/billziss-gh/cgofuse), [AppVeyor](https://ci.appveyor.com/project/billziss-gh/cgofuse) and [DockerHub](https://hub.docker.com/r/billziss/xgo-cgofuse). The following software is being used to test cgofuse.
|
||||
|
||||
**Windows (cgo and !cgo)**
|
||||
- [winfsp-tests](https://github.com/billziss-gh/winfsp/tree/master/tst/winfsp-tests)
|
||||
- [winfsp-tests](https://github.com/winfsp/winfsp/tree/master/tst/winfsp-tests)
|
||||
- [fsx](https://github.com/billziss-gh/secfs.test/tree/master/fstools/src/fsx)
|
||||
|
||||
**macOS**
|
||||
|
@ -15,7 +15,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -18,8 +18,8 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/examples/shared"
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/examples/shared"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func trace(vals ...interface{}) func(vals ...interface{}) {
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
type Notifyfs struct {
|
||||
|
@ -20,8 +20,8 @@ import (
|
||||
"path/filepath"
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/examples/shared"
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/examples/shared"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func trace(vals ...interface{}) func(vals ...interface{}) {
|
||||
|
@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func setuidgid() func() {
|
||||
|
@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func setuidgid() func() {
|
||||
|
@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func setuidgid() func() {
|
||||
|
@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func setuidgid() func() {
|
||||
|
@ -17,7 +17,7 @@ package main
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"github.com/billziss-gh/cgofuse/fuse"
|
||||
"github.com/winfsp/cgofuse/fuse"
|
||||
)
|
||||
|
||||
func setuidgid() func() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user