From 4ede70d95ad8adc836a02b419617c3760434ba99 Mon Sep 17 00:00:00 2001
From: Will Norris
Item | Status | Notes |
---|---|---|
Blob Server | 95% | See doc/protocol/ |
Blob Server | 95% | See doc/protocol/ |
Sharing | 50% | See mailing list thread "Example of sharing" |
Search API | 0% | initial hand waving only |
{
and is valid JSON in i
A permanode is simply a signed schema blob with no data inside that would be interesting to - mutate. See the + mutate. See the permanode spec.
A permanent reference to a mutable object then is simply the blobref of diff --git a/website/camweb.go b/website/camweb.go index 9bd92fc4c..8277eb322 100644 --- a/website/camweb.go +++ b/website/camweb.go @@ -267,7 +267,7 @@ func redirectPath(u *url.URL) string { if strings.HasPrefix(u.Path, "/gw/") { path := strings.TrimPrefix(u.Path, "/gw/") - if strings.HasPrefix(path, "doc") || strings.HasPrefix(path, "clients") { + if strings.HasPrefix(path, "clients") || strings.HasPrefix(path, "server") { return gerritURLPrefix + "master/" + path } // Assume it's a commit diff --git a/website/camweb_test.go b/website/camweb_test.go index e7e994f5c..7a192eb11 100644 --- a/website/camweb_test.go +++ b/website/camweb_test.go @@ -28,7 +28,7 @@ func TestRedirect(t *testing.T) { }{ {"/foo", ""}, {"/gw/502aff1fd522c454e39a3723b596aca43d206d4e", "https://camlistore.googlesource.com/camlistore/+/502aff1fd522c454e39a3723b596aca43d206d4e"}, - {"/gw/doc", "https://camlistore.googlesource.com/camlistore/+/master/doc"}, + {"/gw/server", "https://camlistore.googlesource.com/camlistore/+/master/server"}, {"/code/?p=camlistore.git;a=commit;h=b0d2a8f0e5f27bbfc025a96ec3c7896b42d198ed", "https://camlistore.googlesource.com/camlistore/+/b0d2a8f0e5f27bbfc025a96ec3c7896b42d198ed"}, {"/docs/schema/", "/doc/schema/"},