279 Commits

Author SHA1 Message Date
Xiang Li
115dbdb927 Merge pull request #61 from Mistobaan/master
some go cleanups
2013-08-06 16:53:52 -07:00
Fabrizio (Misto) Milo
b6378dae51 use go's syntax 2013-08-06 16:47:57 -07:00
Fabrizio (Misto) Milo
0de2eff583 use switch 2013-08-06 16:41:00 -07:00
Brandon Philips
7c6d383227 Merge pull request #60 from philips/const-the-versions
fix(version): make the version numbers const
2013-08-06 16:06:39 -07:00
Brandon Philips
ab9c0448c9 fix(version): make the version numbers const
simple fix, thanks to @fmilo in #coreos
2013-08-06 16:03:45 -07:00
Xiang Li
bbdc80274a Merge pull request #59 from philips/generate-release-version
feat(version): generate version from git tags
2013-08-06 15:55:12 -07:00
Xiang Li
14436fc9c5 Merge pull request #58 from philips/update-third-party
fix(third_party): don't intermix go-raft
2013-08-06 15:43:26 -07:00
Brandon Philips
a7deba0f90 feat(version): generate version from git tags
This will generate the version based on git tags. So if it is built
directly on a tag it will use the tag name and if it is built off a
commit that isn't a tag it will look like:

    $ curl localhost:7001
    0-267-ga39cf1c
2013-08-06 15:39:30 -07:00
Brandon Philips
253765d81e bump(github.com/coreos/go-raft): e129a0807cdcbd53440c1d722907043d06c16f1b 2013-08-06 12:48:59 -07:00
Brandon Philips
9115a7e422 fix(third_party): don't intermix go-raft
the previous commit added both benbjohnson and coreos go-raft repos.
This is just asking for trouble. Only use the coreos version in the
third_party directory and maintain the coreos/master branch.
2013-08-06 12:47:55 -07:00
Xiang Li
418611a879 Merge pull request #57 from philips/README-update-build
README: update build instructions
2013-08-06 12:03:41 -07:00
Brandon Philips
e2a1662318 README: update build instructions 2013-08-06 12:01:34 -07:00
Xiang Li
0045b3b764 Merge pull request #56 from philips/add-third-party
Add third party
2013-08-06 11:53:12 -07:00
Brandon Philips
5f6d331e6a feat(third_party): use this directory
The third_party directory has all of the dependencies needed to build
etcd so that we can have a consistent build. `go get` should not be
called at any point during the build process.
2013-08-06 11:38:43 -07:00
Brandon Philips
a585f5fc2e bump(github.com/ccding/go-config-reader): ed2b178dfa43911665337544ccec96e57820daab 2013-08-06 11:35:26 -07:00
Brandon Philips
6813a92325 bump(github.com/coreos/go-etcd): 9d174bd052fc49e53d5978c2ecd81770aee3788d 2013-08-06 11:23:47 -07:00
Brandon Philips
bb7ed9314b bump(github.com/benbjohnson/go-raft): d46748244f1f1830a002b8f645342426c5d73e81 2013-08-06 11:18:15 -07:00
Brandon Philips
c03d4666b8 feat(third_party): initial update script
This update script does a go get and then checks in just the code into
the third_party directory
2013-08-06 10:52:21 -07:00
Brandon Philips
6b3bbc1dd5 bump(code.google.com/p/goprotobuf): d54cbe4bdc25 2013-08-06 10:51:55 -07:00
Brandon Philips
46bce9cc49 bump(code.google.com/p/go.net): ca4c826193c2 2013-08-06 10:51:54 -07:00
Brandon Philips
20833eb63d bump(bitbucket.org/kardianos/osext): 84d8cbacbe13 2013-08-06 10:51:54 -07:00
Brandon Philips
7992171974 bump(github.com/ccding/go-logging): d4e747a24b2af160872a886a430a16ac65f76456 2013-08-06 10:51:54 -07:00
Brandon Philips
aac485d67b bump(github.com/coreos/go-raft): 75c9644bbc43e5ef7805480c13deacec02195706 2013-08-06 10:51:54 -07:00
Xiang Li
b8c89a147b Merge pull request #54 from xiangli-cmu/master
Update
2013-08-05 16:52:35 -07:00
Xiang Li
026f93cd83 add watch benchmark 2013-08-04 23:10:16 -07:00
Xiang Li
10b5bc9871 fix wrong snapshot path 2013-08-04 22:02:40 -07:00
Xiang Li
06c9f1893f avoid set value to root 2013-08-04 18:16:49 -07:00
Xiang Li
b046e184d4 Merge https://github.com/coreos/etcd 2013-08-04 17:44:25 -07:00
Xiang Li
dc2eae8595 fix watcher test and keyword test 2013-08-04 17:42:28 -07:00
Xiang Li
8a4b2e83a5 change create->new, follow go spec 2013-08-04 17:17:40 -07:00
Xiang Li
6b08b55523 Merge pull request #51 from polvi/master
Make a note about go 1.1
2013-08-04 10:16:55 -07:00
polvi
0d0b59b254 Make a note about go 1.1 2013-08-04 10:16:07 -07:00
Xiang Li
ce33c4d29f gofmt 2013-08-03 23:30:15 -07:00
Xiang Li
66f4e0aa19 clear watchers before recover from a snapshot 2013-08-03 23:29:05 -07:00
Xiang Li
0310268d27 Merge pull request #47 from xiangli-cmu/master
support version and basic stats
2013-08-03 22:59:23 -07:00
Xiang Li
8f551e3dc1 fix wrong error 2013-08-03 22:56:39 -07:00
Xiang Li
9b8c5b0527 allow pervious machine to rejoin to the cluster without pervious log 2013-08-03 22:33:56 -07:00
Xiang Li
1b38a6b315 change version from 0.1 to pre-0.1 2013-08-03 22:13:49 -07:00
Xiang Li
53feb9d973 add space in comments 2013-08-03 21:16:09 -07:00
Xiang Li
50613c555b simplify machine list. do not need a separate struct to store machines, since we have already stored them into etcd store. 2013-08-02 20:21:11 -07:00
Xiang Li
67b66f75e0 in this case, err should be nil. avoid dereference 2013-08-02 20:19:16 -07:00
Xiang Li
7ea4ae8693 add RawGet that will return Response struct 2013-08-02 20:17:37 -07:00
Xiang Li
4a5abf1ab8 gofmt 2013-08-02 12:45:17 -07:00
Xiang Li
3ba4ea65f2 version name etcd 0.1 2013-08-02 12:44:16 -07:00
Xiang Li
0ebd133a0d support version and basic stats 2013-08-02 12:31:35 -07:00
Xiang Li
2225693f11 Merge pull request #46 from xiangli-cmu/master
change api due to go-etcd
2013-08-02 10:06:16 -07:00
Xiang Li
3683992183 CreateClient->NewClient 2013-08-02 09:54:59 -07:00
Xiang Li
773ee61fb2 Merge https://github.com/coreos/etcd 2013-08-01 18:06:12 -07:00
Xiang Li
e7f88579bd change api due to go-etcd 2013-08-01 17:42:06 -07:00
Xiang Li
c4d2834ebb Merge pull request #45 from ccding/master
revise log handling
2013-08-01 14:55:41 -07:00