Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
A file is shown as folder and inside you can see all its versions (named according
to the date). Basically is like `at` but the path (not the date) goes first.
So if you go to:
$ ls <mountpoint>/versions/my_folder
dr-x------ 1 grecco 32000 0 Mar 13 01:39 my_file
and then:
$ ls <mountpoint>/versions/my_folder/my_file
-r-------- 1 grecco 32000 2 Mar 13 01:39 2014-03-12T14:53:34.471588505Z
-r-------- 1 grecco 32000 2 Mar 13 01:39 2014-03-12T14:53:36.6569929Z
-r-------- 1 grecco 32000 2 Mar 13 01:39 2014-03-12T14:53:38.842875168Z
-r-------- 1 grecco 32000 25 Mar 13 01:39 2014-03-12T21:16:09.905612807Z
These files are standard files which can be opened to see the file content as a
specific point of time.
Change-Id: I38a4d7bf35ba32407036535e629039e23dc32735
The original change, as indicated by the accompanying comment, was to avoid returning ENOSYS,
which causes the OSX kernel to disable that call volume-wide.
bazil.org/fuse returns ENOTSUP for each unimplemented call, so this isn't needed anymore.
37bfa8be92/fs/serve.go (L1112)
This patch changes the default return values as follows:
Getxattr: ErrNoXattr → ENOTSUP
Listxattr: nil → ENOTSUP
Setxattr: EPERM → ENOTSUP
Removexattr: EPERM → ENOTSUP
Change-Id: I6adb744f76385d36eadd531a9f1dd1670b46f452
The describe requests were launching a storm of RLocks which weren't
safe in the presence of goroutines trying to acquire write locks.
Instead, make the corpus locking the responsibility of the caller and
add Lock/Unlock/RLock/RUnlock methods to the index and move locking up
a level.
This also adds a fair bit of context.Context plumbing which was used
in earlier debugging.
Fixescamlistore/camlistore#709
Change-Id: I8d7254d1e1da541f8c080d62f5408aac807fd3b1
move to vendor
fix (lots) of breakages due to API changes
bazil.org/fuse: 37bfa8be929171feec943f3496bc4befdeaf10db
Change-Id: Ic92faf7585371027f3c521f7a24ae56d70d18547
import bazil.org/fuse at f6649cd46fb76b1e04ba9eeffb773cb189278d31
remove code.google.com/p/rsc/fuse.
Huge thanks to Tommi Virtanen for the fuse support.
Change-Id: I44b95ac1ea344648593c7376f83ca675a56077b3
This includes read-write support for extended attributes for mutable
files, and enough support on all other filesystem paths to prevent OS X
from falling back to AppleDouble files.
Change-Id: I2b275591f3bc69c25e1e9c8d59a7fa4cf0bb97ff
Currently one a few stats are tracked, but more can be added easily now.
The only test using this is using it to verify that the read-only open optimization
is used.
Change-Id: I1e2fb8a0222ade82631670d7c51e684778d031ae