Commit Graph

253 Commits

Author SHA1 Message Date
Brad Fitzpatrick 453fd92fbe client: don't register client flags by default
Change-Id: I73a3242f1cfd2af9a63dd53c7174843a234c5f18
2011-10-10 17:38:18 -07:00
Brett Slatkin 69ec51052f camput: Change permanode -name to use the attribute "title" to match camlistore UI
Change-Id: I74e97fa22a5710b3f4d510d1d3c7de2d69b343ae
2011-09-30 03:42:31 +00:00
Brad Fitzpatrick dc69d53aae Some Issue 18 statistics work on camput
Change-Id: I409b0616aac5c8bdfd234cafed831b7339391ffa
2011-09-29 10:37:24 -07:00
Brad Fitzpatrick b966e55154 Start of camput files memstat flag, for Issue 18
Change-Id: I2b35bd9ed83e1fb899cf165ad82da95e16d0deba
2011-09-28 19:08:17 -07:00
Brad Fitzpatrick 2ec0a974b6 make camput use schema.WriteFile; add flag to enable rollsum splits
Change-Id: If436f7aa5d8360fbe1aaa07795b326e1eb5066f4
2011-09-28 11:16:51 -07:00
Brad Fitzpatrick c79121e1bc more camput syntax work.
Change-Id: I6d77c8b88c4242168f838ef72a288198f1c197dd
2011-09-26 20:02:35 -07:00
Brad Fitzpatrick 0bfb253381 Merge "blob command for new camput cli" 2011-09-26 16:20:31 +00:00
Brad Fitzpatrick f793ef9cd8 Merge "attr command for new camput cli" 2011-09-26 16:18:55 +00:00
mpl 93da4a48d3 blob command for new camput cli
Change-Id: I7e20119761c0670aa2d01b5f7f38439eddcf4304
2011-09-26 15:57:00 +02:00
mpl 839d8bb858 attr command for new camput cli
Change-Id: I4f3b1231d8817f3874a6a3b499dc364ebd971957
2011-09-26 12:33:30 +02:00
mpl e35f2d0b40 permanode command for new camput cli
Change-Id: I5d5867b196feb4b358cacfaab14f96357134d43b
2011-09-26 12:30:44 +02:00
Brad Fitzpatrick 12f236da37 Start of major camput command-line cleanup.
So far only "init" and "file" are done:

$ grep -r RegisterCommand clients/go/camput
clients/go/camput/init.go:      RegisterCommand("init", c)
clients/go/camput/files.go:     RegisterCommand("file", cmd)

New command line syntax is:

Usage: camput [globalopts] <mode> [commandopts] [commandargs]

Examples:

  camput init

  camput file [opts] <files/directories>

  camput permanode [opts] (create a new permanode)

  camput share [opts] <blobref to share via haveref>

  camput blob <files>     (raw, without any metadata)
  camput blob -           (read from stdin)

  camput attr <permanode> <name> <value>         Set attribute
  camput attr --add <permanode> <name> <value>   Adds attribute (e.g. "tag")
  camput attr --del <permanode> <name> [<value>] Deletes named attribute [value]

For mode-specific help:

  camput MODE -help

Change-Id: I4aeabeff6450beab83c13d94c16bd007addb8b58
2011-09-25 17:40:01 -07:00
Brad Fitzpatrick c3d6526fd1 camput: do directories in parallel, don't deadlock, cleanup, sanitize logging, ...
start of much more work.

Change-Id: I667260895a3f6f1425937189ff9752b18bd6de0d
2011-09-24 17:20:47 -07:00
Brad Fitzpatrick 35231e69f6 shell for camput tests, with TODO of a found bug
Change-Id: Ifc93b4fb0d4ae0e8b84982cb0427d86be4fdae89
2011-09-24 14:15:04 -07:00
Brad Fitzpatrick c8f8f8d59e camput: let tinkerTransport's underlying transport be changed
Change-Id: I0b24d593c27b937c961825442801db4c7031c81d
2011-09-24 14:14:41 -07:00
Brad Fitzpatrick 71ed6f8165 camput: add a 'havecache', like brackup's inventory cache
Change-Id: Ie5399fb08febf685f72d17a51d65962da9a3d32d
2011-09-17 16:59:04 -07:00
Brad Fitzpatrick 6f91469776 camput statcache
Change-Id: I0b469b3497b7ae87f0de039a1398c3102139cdf4
2011-09-17 15:14:37 -07:00
Brad Fitzpatrick 3fbb8487e8 move some debug stuff out of camput into new camdebug
Change-Id: I94c0451b7fabdccdcaff9ae3e5f4097bdb426b78
2011-09-17 12:02:05 -07:00
Brad Fitzpatrick 8c3edb6006 Add missing file from 83a0f2b47c
Change-Id: I8e9b905276bf1e48a378fd88b38884bb9767a5b6
2011-09-17 10:26:32 -07:00
Brad Fitzpatrick 83a0f2b47c some camput work, adding start of a stat cache
Change-Id: I2d4090362a639eed2af6ce02dbaae81f249dfd57
2011-09-16 18:03:13 -07:00
Brad Fitzpatrick e1bb80e41e limit camput concurrency
Change-Id: I7a4806faf99e365e792477af3c5870a2b06a6770
2011-09-16 12:38:03 -07:00
Brad Fitzpatrick d35c4a4ddc minor client/upload changes
Change-Id: I02ec44ff72575e547fee5e44667d648cf06b54f8
2011-09-15 21:52:33 -07:00
Brad Fitzpatrick c0ea8dbcb1 Issue 17: file vs. bytes schema change
Details:
http://code.google.com/p/camlistore/issues/detail?id=17

Change-Id: Ia1237952a2a66f1dcacd00c5c28eb360d9f1d1d7
2011-09-13 11:57:50 -07:00
mpl b0dda5e86f Various renamings. dropped getTagged.
Change-Id: I20982074071b819110fe07cb795ffcb7d6c8560e
2011-09-04 00:48:49 +02:00
Brad Fitzpatrick 88c89757e1 gofixes for latest Go changes
Change-Id: Ib7b3aea5adff0e1683bcb421cc3549c31d9fe174
2011-08-25 19:14:47 +04:00
Iain Peet cb183a1ae2 Implemented Google Storage requests required for blobserver.
This commit really just contains the camlistore-independent
google storage code (googlestorage.go).  I've stubbed out the Storage
interface, but that's not yet done.

Committing now because this is large enough already.

Change-Id: Ie122b11bebed13b36f99f80144787ad4edc0ed51
2011-08-18 10:47:45 -04:00
mpl 27c4e677d4 allow comma separated list for tags in camput
I prefer -tag tag1 -tag tag2 better though,
will do later.

Change-Id: I36bbd9d26f1d87bab005381e6ce42e506155abb4
2011-08-08 01:25:36 +02:00
Brad Fitzpatrick 0a2f4b7507 Merge "first cut at a Camlistore WebDAV server" 2011-08-07 01:52:55 +00:00
Robert Hencke 52a15c7b91 first cut at a Camlistore WebDAV server
don't let it burn out your eyes too badly

Change-Id: I7b1b1df0abbcafff411025d30bd32cd250d2221d
2011-08-06 20:46:37 -05:00
mpl 7860ecead0 allow on the fly tagging when uploading with camput
Change-Id: Ib4318551f6d020499294362f8c650e11da208eab
2011-08-06 19:29:05 +02:00
Iain Peet 46881bb549 Initial work on google storage for developers.
Brought in goauth2 client library, added a utility for obtaining
tokens for the first time.

Change-Id: I7c8301912a086df55732c1a1bc4ddf619438d66c
2011-07-20 15:31:55 -04:00
mpl 42a60238da added Type test to Superset.NewFileReader (as per TODO)
Change-Id: I2c9b0868e1df65306e978552db2e135c5d623289
2011-07-13 10:52:37 +02:00
Amit Levy d6825c9af8 Changed all references of sort.SortStrings to sort.Strings per commit 9012 of go
Change-Id: I2af1eeea05b65db10b17bc077a8af2dd5778910d
2011-07-08 17:54:03 -04:00
Brad Fitzpatrick 024e801ca7 gofmt the whole tree
Change-Id: Ic1b3dd12a4ede83b299dcf51f342e72d4f8700da
2011-07-02 09:09:50 -07:00
Brad Fitzpatrick 15057eec02 Update to Go 8944
Change-Id: I7940180cbe882884286e56ee4fc7bf5589aad9e0
2011-06-29 21:13:03 -07:00
Brad Fitzpatrick 30adc073f5 Version the mysql db schemas; warn on startup if wrong with tip to fix.
Change-Id: I3bc881bc5b078062bc96f80dec1e8f9ac71ece61
2011-06-19 14:36:46 -07:00
caine 4b8997ed48 clients/go/camsync: return stats struct and use them in verbose mode
Change-Id: Icb0d86df5dd33f1bbb37112abe8b549c49a3de24
2011-06-15 11:29:51 -04:00
caine f5effec0e5 clients/python: Make ignore patterns into a command-line flag.
Change-Id: I51f65aee97a8187df303a854d53270da12c4aa7c
2011-06-13 18:53:16 -04:00
Brad Fitzpatrick 691273a284 index more about files: filename, properties set, mime type 2011-06-11 10:55:35 -07:00
Amir Mohammad Saied 6465ab5c37 Android: Make sure application does not force close if server:port is not set 2011-06-10 12:10:43 -07:00
Brad Fitzpatrick c61317703c indexer: index file sha1s, sizes (for js search lookup later) 2011-06-08 18:26:57 -07:00
Brad Fitzpatrick a7f6368685 rollsum: make a tree out of the splits 2011-06-05 12:33:11 -07:00
Brad Fitzpatrick 99f79ed8b5 some more debug rollsum info 2011-06-04 17:44:24 -07:00
Brad Fitzpatrick 8ab1532a15 rollsum: OnSplit, Bits. add camput debug mode for it. 2011-06-04 16:14:33 -07:00
Brad Fitzpatrick b652dc62e8 make CachingFetcher also a StreamingFetcher 2011-06-04 09:12:02 -07:00
Brad Fitzpatrick 59e577c023 Rename blobref.Fetcher to blobref.SeekFetcher 2011-06-04 08:56:03 -07:00
Brad Fitzpatrick 9b3280ce10 Update to new Go exec API 2011-06-02 16:47:40 -07:00
Brad Fitzpatrick 4e08e4805f Move some key stuff from camlistored to jsonsign, use from camput. 2011-05-30 12:38:26 -07:00
Brad Fitzpatrick 90405dc424 schema: PopulateRegularFileMap take just size, not FileInfo, add NewCommonFilenameMap 2011-05-29 10:39:41 -07:00
Brad Fitzpatrick 50abe93da6 gofmt on camput and little style things 2011-05-26 16:41:49 -07:00