tree: 2d779e5f9f481c670f0a721b7d2cfc6537494ed1 [path history] [tgz]
  1. vcweb/
  2. dav_svn.conf
  3. deployment.yaml
  4. Dockerfile
  5. Dockerfile.apache
  6. Makefile


We run a version control server for testing at


The server can serve Bazaar, Fossil, Git, Mercurial, and Subversion repositories. The root of each repository is, where VCS is the version control system's command name (bzr for Bazaar, and so on), and REPONAME is the repository name.

To serve a particular repository, the server downloads gs://vcs-test/VCS/ from Google Cloud Storage and unzips it into an empty directory. The result should be a valid repository directory for the given version control system. If the needed format of the zip file is unclear, download and inspect gs://vcs-test/VCS/ from

Google Cloud Storage imposes a default Cache-Control policy of 3600 seconds for publicly-readable objects; for instructions to disable caching per object, see gsutil setmeta. vcweb itself may serve stale data for up to five minutes after a zip file is updated. To force a rescan of Google Cloud Storage, fetch

Static files

The URL space is served by static files, fetched from gs://vcs-test/go/ The main use for static files is to write redirect HTML. See gs://vcs-test/go/ for examples. Note that because the server uses http.DetectContentType to deduce the content type from file data, it is not necessary to name HTML files with a .html suffix.


The server fetches an HTTPS certificate on demand from Let's Encrypt, using It caches the certificates in gs://vcs-test-autocert using