Xiang Li
98351b9756
Merge pull request #436 from thwarted/help-version-fixups
...
docs(server/config.go): minor formatting changes
2014-01-02 13:50:19 -08:00
Brandon Philips
5260c7c939
Merge pull request #434 from rwindelz/master
...
fix (scripts/release-version.ps1): fix windows build
2014-01-02 12:39:15 -08:00
Brian Waldon
78e2fc1bc8
Merge pull request #437 from bcwaldon/README-indexes
...
chore(README): Expand README with more info about indexes
2014-01-02 12:33:49 -08:00
Brian Waldon
c17ad07bdb
chore(README): Expand README with more info about indexes
2014-01-02 11:35:17 -08:00
Andy Bakun
5b105ed156
fix deprecated option tests
2014-01-02 11:11:27 -06:00
Andy Bakun
af3240fa18
docs(server/config.go): minor formatting changes
...
When -version or -help are given, don't warn about having to derive
the data directory name.
Print warnings about deprecated options on separate lines so the log
isn't screwy.
2014-01-02 04:30:38 -06:00
rwindelz
45b4d6d194
fix(build.ps1): not required to be admin to run build in windows
...
mklink /D in windows requires elevated privilege (Runas Administrator),
'/J' to create a directory junction point runs with user privilege
use an explicit fully qualified path for junction target
2014-01-01 22:23:07 -08:00
rwindelz
04ad7a91dd
fix (scripts/release-version.ps1): fix windows build
...
fix reflects changes made in commit
7670c85d70
2014-01-01 21:16:40 -08:00
Xiang Li
fd0d0813ce
Merge pull request #432 from btipling/fix_trimsplit
...
Trimsplit Wasn't using separator, more efficient.
2014-01-01 13:46:08 -08:00
Bjorn Tipling
5a4c41be37
Don't copy strings.
2014-01-01 13:44:04 -08:00
Xiang Li
57f94f65a8
Merge pull request #433 from xiangli-cmu/prevNode
...
feat(node_extern.go) add prevNode field
2014-01-01 12:59:41 -08:00
Xiang Li
189b98c03f
refactor(node_extern.go) remove unused prevValue field
2014-01-01 20:01:29 +08:00
Xiang Li
f46fdbf078
feat(node_extern.go) add prevNode field
2014-01-01 19:50:07 +08:00
Bjorn Tipling
ed2d7d64cd
Trimsplit Wasn't using separator, more efficient.
2013-12-31 09:13:41 -08:00
Xiang Li
c49711ae2c
Merge pull request #429 from philips/README-remove-prevValue
...
fix(README): remove prevValue references in the README
2013-12-30 13:53:17 -08:00
Xiang Li
b7be38da12
Merge pull request #430 from philips/remove-old-release-version
...
chore(release_version): remove this unused file
2013-12-30 13:52:44 -08:00
Brandon Philips
6b8b6cda66
Merge pull request #431 from btipling/master
...
Weird grammar, not sure I fixed it well enough.
2013-12-30 13:06:09 -08:00
Bjorn Tipling
850cbf6018
Weird grammar, not sure I fixed it well enough.
2013-12-30 12:49:19 -08:00
Brandon Philips
dcabc6ae80
chore(release_version): remove this unused file
...
Fixes #425
2013-12-30 11:37:32 -08:00
brianbianco
1ab3db18bb
fix(README): remove prevValue references in the README
...
We plan on adding a PrevNode field in the Response object but it hasn't
been needed thus far. Discussion was here:
http://thread.gmane.org/gmane.comp.distributed.etcd/56
Fixes #428
2013-12-30 10:44:35 -08:00
Brandon Philips
8edc1f30d9
Merge pull request #424 from xiangli-cmu/fix_lock_doc
...
docs(README.md) fix wrong index value in lock section
2013-12-29 17:26:26 -08:00
Xiang Li
5266968b61
docs(README.md) fix wrong index value in lock section
2013-12-30 09:24:18 +08:00
Brandon Philips
9bd36f173e
Merge pull request #422 from dsoprea/master
...
Add documentation for enumerating sorted, in-order keys.
2013-12-29 10:09:01 -08:00
Dustin Oprea
e66f6d76e6
Modified doc.
2013-12-28 11:38:59 -05:00
Dustin Oprea
c62603ba73
Added documentation for sorted listings.
2013-12-28 11:37:32 -05:00
Xiang Li
4692d6e966
Merge pull request #421 from philips/README-api-versioning
...
feat(README): add an API versioning section
2013-12-28 07:33:13 -08:00
Brandon Philips
9049a2afd5
feat(README): add an API versioning section
...
Based on a question on the mailing list. Add a section about API
versioning.
2013-12-28 07:13:41 -08:00
Brandon Philips
3b485e20bb
Merge pull request #419 from kula/fix-leader-documentation
...
fix(README): fixup leader docs
2013-12-27 22:48:31 -08:00
Thomas L. Kula
d447ba52ad
fix(README): fixup leader docs
...
The leader module uses PUT to set a leader value and DELETE to delete one. Fix
the documents to reflect that.
2013-12-27 15:15:19 -05:00
Xiang Li
e96234382a
Merge pull request #417 from philips/fixup-readme
...
fix(README): Remove excress backticks
2013-12-25 23:06:25 -08:00
Brandon Philips
78e2a27ee0
fix(README): Remove excress backticks
2013-12-25 19:28:43 -08:00
Xiang Li
715b4d7bfc
Merge pull request #408 from xiangli-cmu/compareAndDelete
...
Compare and delete
2013-12-25 13:16:27 -08:00
Xiang Li
c36f306a1d
test(delete_handler_test.go) fix inconsistent between test case and comments
2013-12-25 19:05:40 +08:00
Xiang Li
bfa7d54b02
refactor(store.go) handle short condition first
2013-12-25 19:01:04 +08:00
Brandon Philips
5271378fc2
Merge pull request #416 from drnic/patch-1
...
[readme] references to BOSH releases using etcd
v0.2.0
2013-12-23 11:14:28 -08:00
Dr Nic Williams
5ab2f5454c
[readme] references to BOSH releases using etcd
2013-12-23 09:49:24 -08:00
Ben Johnson
4748da1e09
Merge pull request #415 from philips/fix-lock-docs
...
fix(README): fixup lock docs
2013-12-23 05:53:23 -08:00
Brandon Philips
c3b4d10b74
fix(README): fixup lock docs
...
I thought that @benbjohnson had changed the lock "value" to "name" but
that doesn't look to be the case. It is OK, just fix the docs.
2013-12-22 22:03:07 -08:00
Xiang Li
f026d1c14e
Merge pull request #414 from philips/getting-started
...
fix(README): we are building containers too
v0.2.0-rc4
2013-12-22 20:43:19 -08:00
Brandon Philips
e30bf19684
fix(README): we are building containers too
...
We are building a docker container now too so don't get specific about
just the binary.
I thought about adding instructions to the README but lets just keep
following the pattern of putting version getting started guides on the
release page.
2013-12-22 20:13:02 -08:00
Xiang Li
d4553714d9
Merge pull request #413 from philips/event_history
...
fix(event_history): fix a bug in event queue
2013-12-22 15:48:31 -08:00
Brandon Philips
e1d909eb0e
test(store/event_test): add a test for a full queue
2013-12-22 15:42:51 -08:00
Brandon Philips
317b34f4a0
refactor(store/event_history): cleanup some comments
2013-12-22 15:42:10 -08:00
Xiang Li
0937b4d266
refactor(event_history.go) remove the extra logic
2013-12-22 15:42:10 -08:00
Xiang Li
ef988020b7
fix(event_history) fix a bug in event queue
2013-12-22 15:42:10 -08:00
Xiang Li
70c8c09360
Merge pull request #412 from mojotech/cas/403-proper-http-statuses
...
Use more appropriate HTTP status codes for error cases.
2013-12-21 20:29:40 -08:00
Chris Shoemaker
d89fa131ab
feat(v2/errors): Use more appropriate HTTP status codes for error cases.
...
This commits adds test coverage for all the error and non-error cases
described below, but only the behavior of the 403, 404 and 412 cases
are changing in this commit.
When setting a key results in a new resource, we asset an HTTP status
code of 201 (aka "Created").
When attempting to get a resource that doesn't exist, we assert an
HTTP status code of 404 (aka "Not Found").
When attempting to delete a directory without dir=true, or a non-empty
directory without recursive=true, but the request is otherwise valid,
we assert an HTTP status code of 403 (aka "Forbidden").
When a precondition (e.g. specified by prevIndex, or prevValue) is not
met, but the request is otherwise syntactically valid, we assert an
HTTP status code of 412 (aka "Precondition Failed"). However,
prevExist is handled slightly differently. If prevExist=false fails,
then this is treated like a failed precondition, so it should use
PreconditionFailed. But, if prevExist=true fails, then this is
treated like other requests that require the existence of the
resource, and uses NotFound if the resource doesn't exist.
We continue to assert an HTTP status code of 400 when the request is
syntactically invalid (e.g. when prevIndex=bad_index).
2013-12-21 21:39:19 -05:00
Chris Shoemaker
3f85829e87
fix(v2/tests): make comments and tests agree about what's being tested
...
In cases where the comments were incorrect, this changes them to agree
with the tests. In cases where the comments were correct, this extends
the tests to cover the behavior described in the comment.
2013-12-21 21:39:19 -05:00
Chris Shoemaker
3cde996d21
refactor(v2/tests): don't repeat construction of full test URL
2013-12-21 21:39:19 -05:00
Chris Shoemaker
39fb266776
fix(error.go): fix typo in comment
2013-12-21 21:39:19 -05:00