Brad Fitzpatrick
2b9db0a859
kvfile: say which lock file couldn't be acquired.
...
Still not a great error message, though. Should say pid or something.
Change-Id: I4382f23e62e58f8fd472e8d84c3555f4f951d90d
2013-09-22 20:14:23 +01:00
Brad Fitzpatrick
0d854e106c
devcam: don't use current environment as scratchpad for future process's environment
...
Remove calls to os.Setenv.
Change-Id: I9a0c611eb534b278459ddf724b8e7d181f2395ef
2013-09-22 20:13:28 +01:00
Brad Fitzpatrick
0385d88805
Update header's copyright holder.
...
Change-Id: I76acd86f442dfe85513a92061deb60e746100e8a
2013-09-22 19:42:41 +01:00
Brad Fitzpatrick
63b4f390cb
client: upload public key if necessary whenever uploading a signed blob
...
Change-Id: I2e61da4fa2eeae2332c67902f8dd5f064b027835
2013-09-22 19:38:42 +01:00
Brad Fitzpatrick
1834d682b8
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2013-09-22 13:10:50 +01:00
Brad Fitzpatrick
99ea128752
schema: fix a race on errors in FileReader.GetChunkOffsets, add tests
...
Change-Id: I51635d01c3c88c5f97ac15172c5b565f07dde350
2013-09-22 13:10:16 +01:00
Brad Fitzpatrick
652719fd3f
Merge "buildbot: Add more debugging."
2013-09-22 10:33:49 +00:00
Brad Fitzpatrick
e70f258b0b
Merge two copies of StatsReceiver into common location.
...
Change-Id: I05bd36aef3293927fb518296b43a088f284356ea
2013-09-22 11:19:10 +01:00
Bill Thiede
570ea2a82d
buildbot: Add more debugging.
...
This adds the error returned from exec to the log message, and
provides '(empty)' placeholders when no stdout or stderr is present
from the called binary.
This has the effect of changing the silent errors I was seeing on my
buildbot from:
"""
Error:
:
"""
To:
"""
Error:
exec: "devcam": executable file not found in $PATH
Stdout:
(empty)
Stderr:
(empty)
"""
Also provides a /stderr handler linked from the status page that
allows all the logs to be viewed. This is handy when the logs from an
individual test don't provide enough info to debug a build problem.
Change-Id: I4b3ef5a5db6aac1ddf41c41bc2fff310f19a82a1
2013-09-21 12:04:39 -07:00
Brad Fitzpatrick
cfc9ce026b
Add 0.5 to misc/release-history-tags
...
Change-Id: Id5756cd120ebd2548ac314f34e5f0095280fd71f
2013-09-21 19:57:49 +01:00
Brad Fitzpatrick
894a51a5b1
Remove dev-pass-camput from make-release.
...
Change-Id: I503895e1555b6c7eefef1e0af2baefceb623557d
2013-09-21 19:56:44 +01:00
Brad Fitzpatrick
e8f89f609b
website: document the 0.5 release, Castletownbere
...
Change-Id: I825bd08fdc60d84137e7b68663058ba7fa2fc42d
2013-09-21 18:27:42 +01:00
Brad Fitzpatrick
0f911b0ef4
Require transitive on shares when assembling file schema blobs.
...
Change-Id: I48be9855829448ddcb076d3b826c0394c1499f99
2013-09-21 17:51:13 +01:00
Brad Fitzpatrick
445e3f18fd
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2013-09-21 13:23:23 +01:00
Brad Fitzpatrick
b377055f1f
make.go: preserve executable bit when copying binaries to bin
...
Change-Id: Ia2c415aaaa2ab5ffa52766f5adfb4f5af7377961
2013-09-21 13:23:07 +01:00
Brad Fitzpatrick
56afabe249
Merge "Check IsTransitive in share handler and add tests."
2013-09-21 12:17:32 +00:00
Aaron Boodman
43135068a5
Check IsTransitive in share handler and add tests.
...
Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.
BUG=https://code.google.com/p/camlistore/issues/detail?id=226
Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
2013-09-21 13:16:01 +01:00
Brad Fitzpatrick
bec961cc00
make.go: don't use GOBIN; copy binaries out from temp GOPATH/bin by hand
...
Fixes http://camlistore.org/issue/229
Change-Id: I7769330e0982a92d4fa90bbce44330b6a473ee0b
2013-09-21 12:45:36 +01:00
Aaron Boodman
586b4cc5ab
Check IsTransitive in share handler and add tests.
...
Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.
BUG=https://code.google.com/p/camlistore/issues/detail?id=226
Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
2013-09-21 01:54:07 -07:00
mpl
db63bcc6d0
Merge "devcam test: generate keyblob with devcam put init"
2013-09-20 18:05:28 +00:00
mpl
0c1dc0d6e4
devcam test: generate keyblob with devcam put init
...
The integration tests run by devcam test require a
GPG keyblob in the default location (for camput), and
we do not track in git such a keyblob.
This change allows devcam test to create the keyblob
with devcam put init before running the tests.
Also, devcam server is now using CAMLI_KEYID instead
of hardcoding the key id in the dev server config file.
Change-Id: I030b88c9a9321016fedb62424e0e707621206922
2013-09-20 20:03:21 +02:00
mpl
5ce37244f5
zappy: make it pure Go so it builds on windows
...
Change-Id: I46c3c74db668b988c295ec3342d1b876f2b63e79
2013-09-20 19:21:55 +02:00
mpl
3cc63433bd
Merge "osutil: take into account env var for default secret ring"
2013-09-20 12:23:52 +00:00
mpl
c556debcc5
osutil: take into account env var for default secret ring
...
http://camlistore.org/issue/227
Change-Id: I40eac298d7d5d74760be65d9e13d531b562830b9
2013-09-20 14:22:12 +02:00
mpl
0bd61c829f
Merge "devcam server: sqlite support."
2013-09-20 12:05:41 +00:00
mpl
6210cc8d56
devcam server: sqlite support.
...
Also makes kv use CAMLI_DBNAME for the index file instead of
CAMLI_KVINDEX_FILE; one less env var to care about.
http://camlistore.org/issue/225
Change-Id: I954cc2e5ff8ed1bb213435af18f1ecc2948c4e59
2013-09-20 14:04:03 +02:00
Brad Fitzpatrick
740b8eec48
Close static-set blob after done parsing it.
...
Fixes http://camlistore.org/issue/230 I think.
No test, though.
Change-Id: I3b23d7e4c39bd19ba6ca9e33ec382fe3e0fd33f2
2013-09-20 12:23:28 +01:00
mpl
97fe4be9d6
Merge "devcam test, replaces make presubmit"
2013-09-19 15:05:07 +00:00
mpl
ba8f88c21a
devcam test, replaces make presubmit
...
http://camlistore.org/issue/223
Change-Id: Iaaea9926a98d7d3335fd6ee52daa225e51ec4703
2013-09-19 17:00:59 +02:00
Brad Fitzpatrick
5dad68ae49
Add TODOs on pkg/server/share.go
...
Change-Id: Ibc01fc6f9c266669bd556348075fdfae66cfc408
2013-09-19 10:28:51 +01:00
Brad Fitzpatrick
5c7653b9b0
Merge "Add support for downloading an assembled blob via the share URL."
2013-09-19 09:24:16 +00:00
Brad Fitzpatrick
79065de4b9
For SQLite compile errors, link to the wiki.
...
Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8
2013-09-19 10:17:57 +01:00
Aaron Boodman
544d901840
Add support for downloading an assembled blob via the share URL.
...
Bug: https://code.google.com/p/camlistore/issues/detail?id=220
Change-Id: I4604105d2679010d6f546692abbce0d57bae2983
2013-09-19 00:14:45 -07:00
Brad Fitzpatrick
f0a00be32b
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2013-09-16 15:57:17 +01:00
Brad Fitzpatrick
8319411ab4
Convert more ReceiveBlob into blobserver.Receive or blobserver.ReceiveNoHash
...
Change-Id: I9199555324b617167a6062a8b55ed09b449bae4f
2013-09-16 15:57:14 +01:00
Brad Fitzpatrick
128f56887b
Handle GET and HEAD the same in more (all?) places.
...
Change-Id: I486a95f0a6fc127d17dcf0abeb94eab292980156
2013-09-15 20:12:26 +01:00
Brad Fitzpatrick
e0db033ab7
Merge "Add ./dev/... to multiple build targets."
2013-09-15 17:09:13 +00:00
Brad Fitzpatrick
fbd9a38201
Merge "server/image: properly set image format."
2013-09-15 16:56:28 +00:00
Brad Fitzpatrick
a3fcac8def
Merge "server: set Content-Type on debug message."
2013-09-15 16:54:13 +00:00
Brad Fitzpatrick
7842e9e476
C: add Ali Afshar
...
Change-Id: I5b0e77a9371c884aaa8251998000f62a0369947e
2013-09-15 17:45:13 +01:00
Bill Thiede
88748612f7
server: set Content-Type on debug message.
...
It is currently autodetecting as text/plain which prevents chrome from
rendering content as HTML.
Change-Id: I58b99bf4d8719f37269937001461bdf71610d786
2013-09-14 15:23:22 -07:00
Brad Fitzpatrick
b34c6198e4
sqlite: add start of an fd leak test
...
Change-Id: I84857e7a57bc4d95fa1a0ddc1c7538d1924cb93a
2013-09-13 11:21:48 +01:00
Bill Thiede
12427b1fb1
server/image: properly set image format.
...
The value of format was empty and causing cr2 and jpeg images to fall through
to the the default case, encoding thumbnails as PNG.
This change sets the default case as jpeg, and ensures that cr2 is encoded as
jpeg. Png files now have their own explicit branch in the switch.
Tested by uploading a cr2, jpeg and png file to camlistore, then viewed the
mime type in the thumbnail response for each.
Change-Id: Ibe4400f220014b3fd72d9ae420c7d60c2f8cb33a
2013-09-12 19:53:38 -07:00
Brad Fitzpatrick
afb81d0f5d
Add checker for iterator Close calls
...
Change-Id: I90ba84635dd55ee056acedb8d0c0f5fa5d2a0ef5
2013-09-12 18:13:29 +01:00
Brad Fitzpatrick
45034814d8
Add pkg/leak, to help find leaks.
...
Change-Id: I52b15f168f63c5ac40c40f258d1f3ff2ffd4965e
2013-09-12 17:51:09 +01:00
Brad Fitzpatrick
0375ee2d47
Do directory describe queries in parallel.
...
Change-Id: I9e3a4d97a97b177356d11d4ff0a735d80bfc63db
TODO: use syncutil.Group in many more places.
2013-09-12 16:22:00 +01:00
Brad Fitzpatrick
c8044d02ea
Add syncutil.Group: an easy way to do multiple things at once.
...
Change-Id: Ie28885a5f42019dd1c3fb14f92c7cc5d40e08742
2013-09-12 16:18:39 +01:00
Brad Fitzpatrick
1a99796288
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2013-09-12 16:10:51 +01:00
Brad Fitzpatrick
59534f0ad6
Move pkg/gate to pkg/syncutil, to house more stuff.
...
Change-Id: I737458641a9de03da55ed627bfac10f3377a13aa
2013-09-12 16:04:10 +01:00
mpl
6cf55d78b0
index: GetDirMembers, forgot to close iterator
...
Could fix too many open files problem with sqlite reported by ajft
Change-Id: Icde85b11dcd96a336d1bba1e15a7665a1b4a874a
2013-09-12 16:35:12 +02:00