Commit Graph

4116 Commits

Author SHA1 Message Date
Brad Fitzpatrick 8ce47c69d4 make-release: don't clean stuff from the zip
Change-Id: I775926080f7cec04b3de4b574f78396613ae27c5
2014-02-27 22:03:52 -08:00
Nick O'Neill ae048b06a2 Merge "Almost finalized release notes for 0.7" 2014-02-28 05:43:18 +00:00
Nick O'Neill 926e3fcef8 Almost finalized release notes for 0.7
Change-Id: I5db1362d893af760af6b03131fd993e30d9b2245
2014-02-27 21:42:33 -08:00
Brad Fitzpatrick 4a079bbec4 Move dev-db shell script out of the root.
Change-Id: Iddb0b2316121ad13395b0624b1c1fdf61150bb6a
2014-02-27 21:26:02 -08:00
Brad Fitzpatrick 26cbd36e0b camput, camtool: update docs
Change-Id: If54df42be3b95ec9f10782454bc247449e1a74e6
2014-02-27 21:23:01 -08:00
Brad Fitzpatrick 306f727e9e TODO: remove done item
Change-Id: Ia3ac1d922953df3c6ab33863581fd823d6a8a1a6
2014-02-27 21:06:42 -08:00
Brad Fitzpatrick 01f2173e64 ui: fix link from old detail page to new UI detail page
Change-Id: Iaa36f532169d3f6697060d9baa2178caaa19423d
2014-02-27 21:06:03 -08:00
Brad Fitzpatrick 40e0a86315 genfileembed: touch the file modtime, even if contents are same, but it's old
Change-Id: I88d429445da6e251e4aebc0e31017e4ca8f0dd51
2014-02-27 21:00:01 -08:00
Brad Fitzpatrick 593e0f0f81 cmdmain, camput: PreExit should always run, not just in verbose mode
Change-Id: I6001a3474071a00f0ab56b031ac8c5504e5e9da5
2014-02-27 20:47:15 -08:00
mpl a73715c92a Merge "client: default to None auth if no auth in config" 2014-02-27 15:23:02 +00:00
Aaron Boodman ff16bcf1e9 Merge "Starting to fool around with property sheet UI" 2014-02-27 09:59:35 +00:00
Aaron Boodman 7ecc4858b9 Starting to fool around with property sheet UI
Looks like: http://i.imgur.com/HxE1oFi.png

Change-Id: Id3188148fd1ef97dac16a53e96ebe41f64cf1ee7
2014-02-27 01:57:49 -08:00
mpl c4c4d6407a client: default to None auth if no auth in config
Defer warning until discovery fails.
Also fix SetupAuth error checks in camtool.

Change-Id: Ib554595603994e929d465e4e0de6acaf319d5b42
2014-02-27 01:37:59 +01:00
Brad Fitzpatrick a3d915e5a9 leak: fix racy test
Based largely on Mathieu Lonjaret's Gerrit CL 2267.

Change-Id: I14634b6fc892e84cbdc718a9bb5a1aafca1ec4e9
2014-02-25 16:06:56 -08:00
Brad Fitzpatrick bf35e5f011 camput: fix camput blob from stdin
Change-Id: Ic9997c408e1241e16dd4470b3f733ef3fb4f79c9
2014-02-25 14:34:26 -08:00
mpl b4c684dd07 tests: ping camlistored before camput
Change-Id: Icf66bd5b990db07e9516b8ab8945cbf681caf25e
2014-02-24 19:57:44 +01:00
mpl 3f0974ef13 tests: make sure camlistored is running before cammount
Context: http://camlistore.org/issue/385

Change-Id: I793298745096fc1696f01226698eb6682b24806d
2014-02-24 18:29:08 +01:00
Brad Fitzpatrick a61c921750 Merge "ui: Add QR code for configuring mobile clients." 2014-02-24 01:43:28 +00:00
Brad Fitzpatrick cd7e723088 osutil: fail if tests access host paths
Change-Id: I21e20698ebc6b1d3b3499299f6d3dd9ed3031baf
2014-02-23 10:59:56 -08:00
Brad Fitzpatrick 897591a444 camput: hermetic client config for test
Change-Id: I3c77b500da2d445851b0d8383a11e7f0942b2ff2
2014-02-23 10:59:41 -08:00
Brad Fitzpatrick 520191ecc5 client: don't access UserClientConfigPath or osutil.Homedir unless necessary
Change-Id: I618941204eb561461aab960bde576963296cea87
2014-02-23 10:59:20 -08:00
Brad Fitzpatrick 6d30b8d274 camlistored: make test use CAMLI_VAR_DIR instead of tweaking HOME/HOMEPATH/APPDATA
For upcoming change to enable strictness in osutil's use of host paths
during tests.

Change-Id: Ied1602d6dc4f5c92e97f760e04b97cc965610b20
2014-02-23 10:19:01 -08:00
Brad Fitzpatrick 09266d5960 osutil: add CAMLI_VAR_DIR for CamliVarDir
Change-Id: Idcb0a32ccc49cf24e61bdb81a4fdb1a0f049595c
2014-02-23 10:18:15 -08:00
Brad Fitzpatrick f318ad4410 googlestorage: don't use host configuration during tests
Change-Id: Id1415f170dbff650d876fc4c01cff04fb8d41415
2014-02-23 10:04:48 -08:00
Brad Fitzpatrick 99a4ee0fd3 osutil: don't use host config during tests
Change-Id: I28171f0dc9c3c21c9693805781275c39ed517d25
2014-02-23 10:00:45 -08:00
Brad Fitzpatrick 8bbe100bbc osutil: fail if used during tests
Disabled by default for now. Will fix cases and set by default, to proactively
catch future testing mistakes.

Change-Id: If292ccd105e214ee888bcad98efb4e49f052e4fd
2014-02-23 09:45:23 -08:00
Brad Fitzpatrick b099f5b101 leak: disable test by default for now
Change-Id: Idf590dc4b69b69e860c0d321428b18a30bf77254
2014-02-23 09:44:27 -08:00
Brad Fitzpatrick 2237aee0f3 leak: fix test print
Change-Id: I936cf556bf2e26d4862d6427f790aa4f5fca32f1
2014-02-23 09:40:44 -08:00
Brad Fitzpatrick 830864b715 client: don't call osutil.HomeDir during test.
Prep for future changing which makes this crash.

Change-Id: Ic02f7319deffb1d47e89f45d066fa4e62d45e499
2014-02-23 09:34:16 -08:00
Brad Fitzpatrick 18daf0b601 buildinfo: add func TestingLinked
Change-Id: I664f72ec04748079929d0ad96e24b33bc14c6c77
2014-02-23 09:21:11 -08:00
Brad Fitzpatrick 70b886dd5a react: Add a better package comment
Change-Id: I427bcc0e8554323def325bf2d15707963299e45e
2014-02-23 09:08:33 -08:00
mpl 831a81f2d9 Merge "buildbot: send sigterm instead of sigkill to child" 2014-02-22 18:06:44 +00:00
Bill Thiede 58b6497b14 ui: Add QR code for configuring mobile clients.
Creates new page @ /ui/mobile.html for generating a QR code that
embeds configuration data for setting up mobile clients.

Imports code.google.com/p/rsc/{gf256,qr} version:

parent: 149:a3cbaf2339c4 tip

This addresses the server and web components of
https://camlistore.org/issue/372

Change-Id: If9239dd138707080afd7dedb5770d04893cbf0ba
2014-02-21 19:58:54 -08:00
Brad Fitzpatrick 593682dc2d New Android app uploaded to Play. Version 2 aka '0.6.1'.
Change-Id: I0f655de272e15f854a909b629b68a2dd012e36c2
2014-02-21 18:17:59 -08:00
Brad Fitzpatrick 84fa82e0d0 Add the website to the top-level Dockerfile too
Change-Id: I5c6116c629dc31db215c0ec4ffba67a45d9b8516
2014-02-21 18:17:16 -08:00
Brad Fitzpatrick ccacf76451 camput: re-enable deadlock test, now that it's fixed
And tweak limits a bit lower.

Change-Id: I7a38ffce37a997aa6ce9943e13605e76476f5646
2014-02-21 15:38:21 -08:00
Brad Fitzpatrick 735aca5825 Merge "camput: limit upload concurrency (number of goroutines)" 2014-02-21 23:35:19 +00:00
Brad Fitzpatrick 2760426f93 Merge "Getting started with 0.7 release notes." 2014-02-21 23:34:34 +00:00
Nick O'Neill 2157c76b1b Getting started with 0.7 release notes.
Change-Id: I23dae7c1219c2632d2e0a505699631058a7b4163
2014-02-21 15:16:25 -08:00
Bill Thiede b28dcbe9be make: add cammount to default targets.
Fixes default build on Linux (and probably Darwin).

Change-Id: Ice9e4cfbcde2b565c7f084c5cac57468bea08165
2014-02-21 14:30:23 -08:00
Tamás Gulácsi 89fc2bb83e camput: limit upload concurrency (number of goroutines)
Use separate workers for directory uploads.
Limit upload concurrency to 3+2+3 (normal+directories+stat)
goroutines on Android, and 10+5+10 otherwise.

Thanks to the predictably failing test (1333551)
which we can test against, we can eliminate the need for
unbounded number of upload goroutines (see ee4550b).

Change-Id: Idac4c94b7d7ec4fc6c6a77fed111e0ece0843545
2014-02-21 21:31:13 +01:00
mpl 8f2c67241f buildbot: send sigterm instead of sigkill to child
Because if e.g. 'devcam test' is the current child process, we want it to be
able to catch the signal and kill its own child too.

Change-Id: I3e3c9c10c8d7f5d793c98b604baf8df56608003e
2014-02-21 20:52:30 +01:00
Brad Fitzpatrick 14ef41c0ad Merge "make: only build binaries and their dependencies." 2014-02-21 19:32:12 +00:00
Brad Fitzpatrick 85e2e5e301 Fix crash with "go test -v -cpu=1,1 ./cmd/camput/"
Don't double-register the help flag. Only affects tests run twice, like above.

Change-Id: Ia235f2e2aa4a70e3b5a5c6fe21d8add90069664f
2014-02-21 10:59:34 -08:00
Brad Fitzpatrick 1333551de1 camput: predictably-failing disabled deadlock test
Change-Id: Ibf0877ac1b4e32ad32fe9592c487915130f9f488
2014-02-20 12:08:03 -08:00
Bill Thiede a68ee60ec0 make: only build binaries and their dependencies.
New behavior for -targets:
- Empty only builds default binaries for this requested platform.
- * builds binaries and recursively builds pkg/..., server/..., and
    third_party/... (old empty behavior).
- Or specify the packages you want to build separated by commas.

This should fix the failing build on FreeBSD.

Change-Id: I3e19fd26b7fa5526bb2139487f25a07fa01952c4
2014-02-19 21:00:21 -08:00
Brad Fitzpatrick 0f046b8a45 client: actually submit code that compiles
Change-Id: I4e3b2f786d46a524a52ce1a86d7bd5b625818527
2014-02-19 19:57:22 -08:00
Brad Fitzpatrick 76322ec428 client: don't do discovery in non-HTTP mode
Change-Id: Idcef3b58827fffe1f3df091c3e675b91d0ed8960
2014-02-19 19:50:19 -08:00
mpl 513a45eb06 Merge "buildbot: add timeout for task run" 2014-02-19 17:52:07 +00:00
mpl e004ef414b buildbot: add timeout for task run
Change-Id: I49594d7d9aaa20d94213033d41e055c64e3da30c
2014-02-19 16:30:04 +01:00