commit | a5582db9027532d7138791b060613dbec00dbd2a | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Mon Jun 06 16:39:35 2016 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Tue Jun 07 14:56:46 2016 +0200 |
tree | 55c5cb3fd2028e86d25075816877b5db2098924a | |
parent | 5ab9c20f75df8d93c9f9d147d3d7a4a34bd8189d [diff] |
Add gitfs-multifs, to serve multiple workspaces: go install github.com/google/gitfs/cmd/gitfs-{multifs,expand-manifest} gitfs-expand-manifest --gitiles https://android.googlesource.com/ > /tmp/m.xml mkdir /tmp/mnt gitfs-multifs -cache /tmp/cache -gitiles https://android.googlesource.com/ /tmp/mnt & ln -s /tmp/m.xml /tmp/mnt/config/ws Change-Id: I31ca65c3817d8b15419d75bdef0e2ec4a8091143
This is a FUSE filesystem that provides light-weight, read-only checkouts of Android.
To start,
go install github.com/google/gitfs/cmd/gitfs-{multifs,expand-manifest} gitfs-expand-manifest --gitiles https://android.googlesource.com/ \ > /tmp/m.xml mkdir /tmp/mnt gitfs-multifs -cache /tmp/cache -gitiles https://android.googlesource.com/ /tmp/mnt &
then, in another terminal, execute
ln -s /tmp/m.xml /tmp/mnt/config/ws
To create a workspace “ws” corresponding to the manifest in m.xml.
This is not an official Google product.