Commit Graph

3372 Commits

Author SHA1 Message Date
Brad Fitzpatrick 59f20db9b2 search: delete unimplemented and now-undesired BlobTypeConstraint
The CamliType and AnyCamliType are better.

Change-Id: I0fbe9e645fa0ca13d107f7012bcb0008dfd5d43d
2013-11-08 13:17:37 -05:00
Brad Fitzpatrick 948bc3ba48 search: query support for AttributeConstraint.ValueMatches (subqueries)
e.g. show me permanodes with a camliContent pointing to a jpeg over 2.5 MB

Change-Id: I8b9c5c4b3595b64538281f63db7852461fd0367c
2013-11-08 13:11:16 -05:00
Brad Fitzpatrick 9e1948be25 search: ValueSet
Change-Id: Ie8b1b2c24ab9dcefb4f5e5d2db885568646ca228
2013-11-08 11:35:21 -05:00
Brad Fitzpatrick 13a732c46b search: query permanode attributes (a start)
Change-Id: I1e6109df0d09edf894a32934eec5be7b6ad9fc1c
2013-11-08 11:25:51 -05:00
Brad Fitzpatrick 523f44130d Merge "pkg/index: keyType keyPermanodeClaim for "claim" index entry" 2013-11-08 15:35:30 +00:00
mpl 5031b01880 pkg/index: keyType keyPermanodeClaim for "claim" index entry
The index entry prefixed by "claim" had no keyType and
was always built "by hand" with pipes concatenation.
This change adds the documented keyPermanodeClaim to fix
that.

Change-Id: Ic59f7dbcccc6b223b155d5bffbf8e636209800cb
2013-11-08 16:20:43 +01:00
Robert Obryk 68d6af1e82 httputil: set the headers before writing them
Change-Id: Ibb7db1ca06744b64ec29664059364fe7a1e8e837
2013-11-08 02:06:27 +01:00
mpl fcb2d001bd third_party/goexif: fix shadowed err bug
Change-Id: Idf3c6669f7784958e24f82839cbe315492fbf24a
2013-11-08 01:21:15 +01:00
Mathieu Lonjaret c1b21a9668 Merge "builder: add client side Basic Auth support." 2013-11-07 16:04:20 +00:00
Bill Thiede 05fa589675 builder: add client side Basic Auth support.
Adds support for specifying additional masters to send results to.
The config file, named "builderbot-config", must be located in
osutil.CamliConfigDir(); on Unix, it will be under
$XDG_CONFIG_HOME/camlistore/, if XDG_CONFIG_HOME set, or
~/.config/camlistore/.  On Windows it will be under %APPDATA%\Camlistore\.
The expected format is one host per line, comments are not allowed and used
only for illustration below.  Some examples:

    # Post to default path on host1, no user auth.
    http://host1
    # Post to / on host2, no user auth.
    http://host2/
    # Post to /other/path on host3, no user auth.
    http://host3/other/path
    # Post to default path on host4, user 'user', password 'pass'.
    http://user:pass@host4
    # Post to / on host4 port 7070, user 'user', password 'pass'.
    http://user:pass@host4:7070/

This change also explicitly sets GOPATH to the copy of camlistore.org checked
out by the master before building the builder, and starting the build run.
This ensures we're not building against a random checkout of camlistore
pointed to by the user's environment.

The directory of the checked out source is moved from ${PWD}/camlistore.org
-> ${PWD}/src/camlistore.org so GOPATH can be set to $PWD and the requirement
of packages being under src/ is met.

Change-Id: I6e121c0aae9dae0c1832f782fa32619434ce9d2c
2013-11-06 19:16:58 -08:00
mpl 5493033843 Merge "index: add deletedAt method, and cache for deletion status" 2013-11-06 22:36:44 +00:00
mpl fdaf030bc0 index: add deletedAt method, and cache for deletion status
This method will be used to find out when a permanode or claim
was (un)deleted for the last time.

This change also introduces the keyDeletes index entry which
allows to find the permanodes/claims that a delete claim deletes.

Finally, since some index keys have changed, this CL introduces
a check for an index schema version, to force users to reindex
when needed.

http://camlistore.org/issue/191

Change-Id: I6f8e5d3030a6ddc8b21ff5dc5db311f2ea16f613
2013-11-06 23:34:13 +01:00
Brad Fitzpatrick c6779a183a Merge "blobserver/localdisk: fixed build problems on non-Windows" 2013-11-06 14:35:20 +00:00
Brad Fitzpatrick 6c8d529889 C+A: add Jakub Brzeski (Individual CLA)
Change-Id: I0a25223707c1d4463c627ebacd0734c12bdbc31e
2013-11-06 09:35:07 -05:00
jakubbrzeski 59ab94517d blobserver/localdisk: fixed build problems on non-Windows
Change-Id: I5ec0fa71449d8802c8005bf802b334a385f5d257
2013-11-06 11:43:44 +01:00
mpl 3f41db4c05 Merge "blobserver/localdisk: handle renaming error on windows" 2013-11-05 16:28:09 +00:00
mpl 44683a6e09 blobserver/localdisk: handle renaming error on windows
http://camlistore.org/issue/241

Change-Id: Ib9c042d6074ff0dedc16f1519263c424898337a2
2013-11-05 17:27:07 +01:00
mpl 2c2ce61ffa schema: missing claimType conversion
Change-Id: I92edb2b3148df8b79c6c39ea88a8c7d04cf3f789
2013-11-04 22:57:05 +01:00
Brad Fitzpatrick 05f11b5bbc schema: avoid a potential crash.
also, bb.m should only contain a string, not a typed string.

Change-Id: I235beaa460c8463f65be93ac6c78c8481fe1b758
2013-11-02 18:13:40 -07:00
mpl fbbe49e9b5 Merge "schema: add delete claim" 2013-11-02 23:45:36 +00:00
mpl d4b5e413a2 schema: add delete claim
Also rename other claim types for consistent style.

http://camlistore.org/issue/191

Change-Id: I1dc1283bd961481ad793b92262cf5ce641d9fdc8
2013-11-03 00:37:49 +01:00
Bill Thiede ce2376d176 github.com/nf/cr2: import tests from upstream.
commit f06bdf9a8450aebe6dcf08ac52a647bcfffb8b6f
Author: Bill Thiede <git@xinu.tv>
Date:   Sat Oct 12 19:16:59 2013 -0700

    Add license header.

commit 565eba79fa95609ee512af90aa503ce6c87d101a
Author: Bill Thiede <git@xinu.tv>
Date:   Sat Oct 12 18:59:58 2013 -0700

    Add testing for CR2 files from other cameras.

Change-Id: I7decaf56e8c3fef882f303f1d8623f816ec3853a
2013-11-01 20:31:56 -07:00
Bill Thiede d950d683b5 buildbot/master: reformat task's error message.
The error message is already preformated with \n newlinews, so <pre> is a more
appropriate tag, shows error messages with proper line-breaks.

Change-Id: Ifcf63ae4c9fa857c48bd825edb8f83f1527ed57a
2013-10-30 21:21:19 -07:00
Brad Fitzpatrick dcf5f6abe7 client: clean up. finish moving all Android stuff to pkg/client/android
Change-Id: Ia3d19a323d9c734a01ec9a12509b115191afcfdd
2013-10-26 11:08:34 -07:00
Brad Fitzpatrick f38f40c453 importer: flesh out most of the Host/Object interface
Change-Id: Ia7e6ac3aa5e86bfa1fe950ad0c3944989c1d3f8a
2013-10-25 00:23:29 -07:00
Brad Fitzpatrick 5e2a4d8e9a search: add Handler.Describe, make serveDescribe HTTP handler use it
Change-Id: I6f5a45b066aa02ad40cc7fdd2067ac6c178a62ab
2013-10-25 00:23:10 -07:00
Brad Fitzpatrick 967b8619a5 blobserver: add ReceiveString wrapper
Change-Id: I90a6bda084cb23af54047bf3288695c623a1894a
2013-10-25 00:22:29 -07:00
Brad Fitzpatrick 0dfaad41a7 blob: add RefFromString
Change-Id: I1e98874fd43c1570c2e79907dbdbc7e44ca64bf7
2013-10-25 00:22:10 -07:00
Brad Fitzpatrick abdfd02bbb search: add camliImportRoot to set of indexed properties
Change-Id: I63a16e704569b2c834cda7cc9c84ce14bb31511d
2013-10-24 22:49:31 -07:00
Brad Fitzpatrick ee57e351d2 Remove debug cruft actually submitted.
Change-Id: Iaa805afd2d6e76108319edf06113de8a260f7e46
2013-10-24 22:49:18 -07:00
Brad Fitzpatrick 0324143892 importer: make the schema.Signer available to the importer
Change-Id: Iad1a2f3bfe381b31a381957edb85d6d4aa21b38c
2013-10-24 22:45:28 -07:00
Brad Fitzpatrick 4fd71c6d16 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-24 21:23:45 -07:00
Brad Fitzpatrick bfb43cf909 Merge "misc/buildbot: a few fixes + README" 2013-10-25 04:17:10 +00:00
mpl 9ab3af23b6 misc/buildbot: a few fixes + README
-hack to disallow remote bots reports, until we have some auth working
-verify that the alternative latest hash provider response looks like
a git hash before using it.
-check that the buildbot code is the most recent before building
-a few more debugging prints
-some paths fixes
-README to get started

Change-Id: Ibe8b4472586b4902d3f28f70a2cceadfb6e41c80
2013-10-25 01:29:36 +02:00
mpl 8ca1378869 devcam: reintroduce --sqlite when building server
Change-Id: I2f0fadc380803237057a0dd774070ff79a980a98
2013-10-25 01:00:43 +02:00
Mathieu Lonjaret 9d0a1da517 Merge "pre-commit hook: gofmt files from git index rather than working directory." 2013-10-23 21:38:55 +00:00
Salman Aljammaz 7b870f3d9e pre-commit hook: gofmt files from git index rather than working directory.
Fixes http://camlistore.org/issue/245

Change-Id: Ib5647ad7d0f05141243732923112bc9597cb1512
2013-10-23 22:36:16 +01:00
mpl e430101765 Merge "website: serve latest git hash (for buildbots)" 2013-10-23 19:57:20 +00:00
mpl 7d2b1d78e1 website: serve latest git hash (for buildbots)
Change-Id: I5332e111609f0d9f957609a4dcee6030653397d4
2013-10-23 21:55:21 +02:00
Brad Fitzpatrick 008cf7325f Merge "HACKING: commit message tips" 2013-10-23 18:43:38 +00:00
Salman Aljammaz a3686d6ec0 devcam: Add mount command, also factor out build() and vebose flags
Change-Id: Ia501cad493d1707c63ebea9640a4d8fa6355da4c
2013-10-23 17:49:09 +01:00
mpl a60234f9fd HACKING: commit message tips
Change-Id: I59e2646c745b91281507bed2383381b529b4869e
2013-10-23 17:15:05 +02:00
Mathieu Lonjaret c16ada0121 Merge "goexif: merge upstream and document process." 2013-10-22 21:05:27 +00:00
Brad Fitzpatrick 5edc5db361 Merge "HACKING: ./misc/review, pre-commit hook" 2013-10-22 16:15:36 +00:00
Brad Fitzpatrick a40ba96cee Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-22 09:07:57 -07:00
Brad Fitzpatrick 712b87f389 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-22 09:02:03 -07:00
Brad Fitzpatrick b19f79618f importer: start of RootObject method and SetAttr
Change-Id: I2cc64e259a5c377595d719e6eb0df1b41d83d679
2013-10-22 09:01:57 -07:00
mpl ec17a244d2 HACKING: ./misc/review, pre-commit hook
Change-Id: I8ac1145b6e5455f1c4bbaeb77cdd535262c3fd65
2013-10-22 18:01:28 +02:00
Brad Fitzpatrick 1bca6495a9 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-22 09:00:11 -07:00
Brad Fitzpatrick 18de812d8b Merge "devcam: fix up package doc strings" 2013-10-22 15:38:46 +00:00