About

Proof-of-concept FUSE app for OS X that mirrors a local Perforce workspace that handles running commands like "p4 add" and "p4 edit" automatically as your apps add and edit files.
  • 0
    Members
  • 1
    Follower
  • 1
    Branch
Owners
tjuricek
Followers
lester_cheung (Lester Cheung)
Branches
  • Main

FSClient

This is a proof-of-concept "file system client" that uses Fuse for OS X to handle many of the "distracting" tasks of interacting with a Perforce server. It mirrors an existing Perforce client workspace on your system. As you add or edit files, we handle running p4 add or p4 edit in the background.

Requirements

  • OS X, I'm building for 10.10
  • osxfuse - see vendor/ directory, but this must be installed before using

Building

This project uses CMake.

Setup

  • Your client must have a .p4config file in it's root directory.
  • You should execute p4 login before using this client
  • Right now, this does not tweak read-only status. You probably want allwrite on your client.

Running

Typical runtime:

fsclient -w ACTUAL_WORKSPACE_DIR -m PATH_TO_MIRROR

Both locations must exist before running.

If you're done, make sure no app is referencing files in the mirror, then unmount it:

umount PATH_TO_MIRROR