Commit Graph

2758 Commits

Author SHA1 Message Date
Brad Fitzpatrick b4087ccc36 Remove CAMLI_DEV_UI_FILES and last zembed file. 2013-06-20 13:44:30 -07:00
Brad Fitzpatrick 48d282991c Remove all the html/css/js zembed files from the tree, for now. 2013-06-20 11:49:10 -07:00
Brad Fitzpatrick a0a6856a07 Set CAMLI_DEV_UI_FILES in dev-server, at least for now. 2013-06-20 11:48:30 -07:00
mpl d9258434fe ui: zembeds should belong to package ui, not newui
Change-Id: I5d69e73280051eb8b97f3e082e5cfe285439dac6
2013-06-20 19:07:05 +02:00
mpl 0a85af4da5 make.go: generate the zembeds and rename/mv some globals
We're using the tmp/bin/genfileembed built by
make.go to generate from the static resources
(.html,.js etc) the zembeds.*.go files that
will be embedded in the final binary.

This requires mirroring to the build dir all
said static resources.

A further step will be to remove all the zembeds
from the initial source tree (i.e the git repo).

Change-Id: I25a1aa38d0314b3074cdbedfd4422a685da66191
2013-06-20 15:50:09 +02:00
mpl f1c0c37cd7 dev/update_closure_compiler: new command
Go program that replaces get_closure_compiler from
misc/get_closure.pl

Change-Id: Ic7471c970afbfc65bc14d9ec2401aeb0d1ecd9a1
2013-06-20 00:15:08 +02:00
mpl 2430cf7a20 camlibot: run without --staticres --offline since they are gone
Change-Id: I14d696e2f07967719fa82e4782d8a4ed139b411e
2013-06-19 16:12:52 +02:00
mpl 22f3c5ed03 dev-server: rm --offline from usage since it is gone
Change-Id: I0e5b79113fc03e9cd5c232983a7242a0c543a55e
2013-06-19 15:36:59 +02:00
Brad Fitzpatrick 10d000d900 ui: serve Closure from embedded zip data when available
Change-Id: I9bb6bb4f13f69b293fd98441d82068c0677ffbd5
2013-06-18 23:14:36 -07:00
Brad Fitzpatrick 8071a49516 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-18 18:39:55 -07:00
Brad Fitzpatrick 757c09cb87 make.go: fix zip corruption with extra bytes from newlines
Change-Id: Ib6fc01c60885898e09abaea4e8eec0e79fb7581a
2013-06-18 18:39:43 -07:00
mpl 46d6f4d9ce make.go: allow for installation of genfileembed
With -embed_static, genfileembed is built, and
installed in tmp/build-gopath/bin

Change-Id: Ibca9c90349a7cf8d43e1f865792802772e9a08d3
2013-06-19 01:41:37 +02:00
Brad Fitzpatrick 3a8dc35241 make.go: don't put a 'closure' binary (updateclosure) in bin/ 2013-06-18 15:23:45 -07:00
Brad Fitzpatrick 58b0d0fa02 make.go: pull cleanGoEnv out into a function 2013-06-18 15:21:56 -07:00
Brad Fitzpatrick cca2466547 Mark closure's z_data.go as wanted, so it's not deleted. 2013-06-18 14:45:57 -07:00
mpl eaca89f8ab make.go: allow embedding of the closure resources
Change-Id: I2491740e2bbecc6484d60842df79cdc73fb22597
2013-06-18 23:27:15 +02:00
Brad Fitzpatrick 83e42a14a8 Add server/camlistored/ui/closure package stub.
Change-Id: I1b8fd14e1d30326077e313d53594136e0b7c9de5
2013-06-18 11:36:44 -07:00
Brad Fitzpatrick c4e516545f encrypt: scan all meta blobs into index on start.
Yet to do: allow configuring an index besides just in-memory, and meta blob compaction.

Change-Id: I76041f1bc01487d208a0231abfef6d874ab819d9
2013-06-18 11:16:13 -07:00
mpl b0118f15b1 closure: adding resources picked by updatelibrary
source: git rev 1389e13 on https://code.google.com/p/closure-library/

Change-Id: I7d5975c2801f24cbd368a8f048e9b073dee6d20d
2013-06-18 16:21:28 +02:00
mpl 0fc12f5eb3 Merge "updatelibrary: new command that will replace misc/get_closure.pl" 2013-06-18 12:45:31 +00:00
mpl 9fe8a4af10 updatelibrary: new command that will replace misc/get_closure.pl
This command allows to selectively download from the closure library
repository the resources (.js, .css files) that are required by
the ui.

Change-Id: Ie506fe5bf0e74215d91ffbfc30ae72321b91c6c9
2013-06-18 15:03:22 +02:00
Brad Fitzpatrick 2e632793ca encrypt: start of index recovery/compaction from meta blobs on start-up
Change-Id: I8aae66194ee67b1d63704ff98868e02f8b943e17
2013-06-17 21:56:25 -07:00
Brad Fitzpatrick 78b4084f4c osutil: simplify GoPackagePath
Change-Id: If0af2e19c56d495ff46dc38a19b5148fa9f014fe
2013-06-17 17:12:22 -07:00
Brad Fitzpatrick a82d394066 On Linux, don't assume fusermount is in /bin. Use PATH.
Change-Id: If6c59a3776dcc679e9fabaa989e35c8be38baa00
2013-06-17 07:43:44 -07:00
Brad Fitzpatrick d1fd483548 camput: remove Go 1.0 workaround.
Now that we rely on Go 1.1, we no longer need to workaround https://code.google.com/p/go/issues/detail?id=4589

Change-Id: Ib6631679e7f9bcea82ef96df0f50d9ecace31aa3
2013-06-16 20:56:58 -07:00
Brad Fitzpatrick c6577d600c encrypt: writing, but not yet reading meta blobs
Change-Id: I395ec3cb19b7bee23e15fed231e2e0a10258c729
2013-06-15 21:49:46 -07:00
Brad Fitzpatrick 1fddf9579a encrypt: more paranoia in FetchStreaming
Change-Id: Ie072a56015eb8a921328eccc6684647d2a153df3
2013-06-15 20:37:33 -07:00
Brad Fitzpatrick 3176c5be43 encrypt: require big ugly I_AGREE configuration in order to use it, so people don't get misled
Change-Id: I4259e423d6a4b733f353a1e8792c6b8cb3c95c43
2013-06-15 20:08:37 -07:00
Brad Fitzpatrick 3111bd5e0e encrypt: enumerate support
Change-Id: Ia7a20b2501a53b52fb514763c57e0ed2d6468735
2013-06-15 18:04:34 -07:00
Brad Fitzpatrick 3b6b49cb89 encrypt: fetch support (decryption)
Change-Id: I17f36a30efd300874b1844e99038ff11a978feef
2013-06-15 17:20:10 -07:00
Brad Fitzpatrick 537005fa32 encrypt: stat support.
Can now upload encrypted blobs.

Change-Id: Ib39e3b3218c99f139b0ed2b6d4a232160b4e1e64
2013-06-15 16:44:49 -07:00
Brad Fitzpatrick c3b87326c8 dev-camput: flag to specify path
Change-Id: I16eea9df236af332755d9e8902aac100dfdf6ba7
2013-06-15 16:44:31 -07:00
Brad Fitzpatrick 4bf389bb81 encrypt: actually write encrypted blob to backend
Change-Id: I889088481af141e07a97cd1e4b89c459c5eaaedf
2013-06-15 16:06:11 -07:00
Brad Fitzpatrick 9f63df26a4 blobref: consistent receiver names, add SHA1FromBytes
Change-Id: I4582c8b0ca2a60507846d9d1317b466edd16d12d
2013-06-15 15:51:29 -07:00
Brad Fitzpatrick 8e3a432e53 encrypt: write encrypted blobs.
no meta or retrieval yet, though.

Change-Id: I9f3a53500ca6b96226fbcfe65e8278481618d3b0
2013-06-15 15:42:37 -07:00
Brad Fitzpatrick d12007af52 encrypt: enough of a shell to start up in dev-server, even if nothing works yet
Change-Id: I7e3c17d952a943afd4cfb57939f25bf181aaa6fd
2013-06-15 15:05:27 -07:00
Brad Fitzpatrick 675f4e16ea Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-15 14:27:27 -07:00
Brad Fitzpatrick ee165ffaef encryption TODOs/notes
Change-Id: Ifbbae03a71096d3c99008280f4ffd9b7bf13b365
2013-06-15 14:27:10 -07:00
Brad Fitzpatrick 79f7e014ca Merge "start of permanode attributes doc" 2013-06-15 21:05:04 +00:00
Brad Fitzpatrick f04df91c04 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-15 09:51:18 -07:00
Brad Fitzpatrick 1f709f46af Add the go-import meta tag back (See: go help remote). It got lost somehow.
Change-Id: Id33c8be4040af6ec6023685e3a5f2fbfb4424b13
2013-06-15 09:51:06 -07:00
Brad Fitzpatrick c75f500b27 Fix make.go sqlite3 check.
Fixes https://github.com/bradfitz/camlistore/issues/4

Change-Id: I16a13aa86a4357b538de25d13c17d2d9b3d824a6
2013-06-14 13:21:04 -07:00
Brad Fitzpatrick 1c4964c1bc Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-14 12:56:04 -07:00
Brad Fitzpatrick ca58d8e2e0 Remove noisy var _ = log.Printf lines.
Change-Id: Ia58b8ef5f271f542ae4fe61c7fb1497322770322
2013-06-14 12:55:55 -07:00
mpl 742d0afb71 Merge "genjsdeps: now pkg + cmd in misc/closure/" 2013-06-13 22:11:18 +00:00
mpl ad5f3b854d genjsdeps: now pkg + cmd in misc/closure/
pkg/server/ui.go uses misc/closure too

fixes http://camlistore.org/issue/142

Change-Id: I614e34e6b7d493d66aa61108e3ca940854844c0f
2013-06-14 00:29:45 +02:00
mpl 5aeda6ecfc Merge "camlibot: run in staticres mode until closureRoot works" 2013-06-13 21:59:17 +00:00
mpl 7efc0d131e camlibot: run in staticres mode until closureRoot works
Change-Id: I24252453e1935d9e7308512c705f8ca6e3fda01b
2013-06-14 00:16:35 +02:00
mpl 40b4485b9e buildbot: actually print output when server fails to start
Makes it way easier for debugging.

Change-Id: Ic71c78134664cb512d1ae2b14eb994724e367ef9
2013-06-14 00:08:42 +02:00
mpl 24ee976607 Merge "buildbot: actually print output when server fails to start" 2013-06-13 21:50:42 +00:00