mirror of https://github.com/etcd-io/dbtester.git
*: update vendor, install scripts
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
12d21f65e5
commit
cc93034f26
|
|
@ -1,5 +1,5 @@
|
|||
hash: 7363da479f04a9f4a0296e6b006f54e6cf28652de9700d4e84982cce6291cd3c
|
||||
updated: 2017-05-11T18:23:49.23633434-07:00
|
||||
hash: 4dcd43827539e50ac5becec4cdc24a88e9aef8a0e7c8aa6a81d17f21c78f1f45
|
||||
updated: 2017-05-17T09:07:03.948089644-07:00
|
||||
imports:
|
||||
- name: bitbucket.org/zombiezen/gopdf
|
||||
version: 1c63dc69751bc45441c2ce1f56b631c55294b4d5
|
||||
|
|
@ -13,11 +13,11 @@ imports:
|
|||
- internal/optional
|
||||
- storage
|
||||
- name: github.com/ajstarks/svgo
|
||||
version: 2489f1e6d405e953ac052d1e7ae3769672bf43bb
|
||||
version: 19107c66f5c698e4151e641bc726cadded2f60b5
|
||||
- name: github.com/cheggaaa/pb
|
||||
version: d7e6ca3010b6f084d8056847f55d7f572f180678
|
||||
- name: github.com/coreos/etcd
|
||||
version: f337754e721ff48921a93fc9a68787911d0c9427
|
||||
version: 1763f7d4d1f865f7650d64a6c29983f7dc2494fb
|
||||
subpackages:
|
||||
- auth/authpb
|
||||
- client
|
||||
|
|
@ -91,7 +91,7 @@ imports:
|
|||
- name: github.com/gyuho/dataframe
|
||||
version: 73de2c550b1177c1640f3dacbbc1af00f913fedb
|
||||
- name: github.com/gyuho/linux-inspect
|
||||
version: 0cbebdd92997b7290328c305e0cfea5666a889d7
|
||||
version: dea6b03d00cdc1d7849f16195d107a2f5884e218
|
||||
subpackages:
|
||||
- df
|
||||
- etc
|
||||
|
|
@ -102,7 +102,7 @@ imports:
|
|||
- schema
|
||||
- top
|
||||
- name: github.com/hashicorp/consul
|
||||
version: db3599762f860c83a528cd23d95b3aa10b0b3784
|
||||
version: ad40a855bd5003eb5d4c48f791479828d6a9393e
|
||||
subpackages:
|
||||
- api
|
||||
- name: github.com/hashicorp/go-cleanhttp
|
||||
|
|
@ -118,7 +118,7 @@ imports:
|
|||
- name: github.com/kr/pty
|
||||
version: f7ee69f31298ecbe5d2b349c711e2547a617d398
|
||||
- name: github.com/llgcode/draw2d
|
||||
version: 1286d3b2030ac9952e59c5ef29ef3cc24a8e83d5
|
||||
version: dcbfbe505d35de8166ccfc47ff9e4bb020473e18
|
||||
subpackages:
|
||||
- draw2dbase
|
||||
- draw2dimg
|
||||
|
|
@ -168,7 +168,7 @@ imports:
|
|||
- jws
|
||||
- jwt
|
||||
- name: golang.org/x/text
|
||||
version: 470f45bf29f4147d6fbd7dfd0a02a848e49f5bf4
|
||||
version: 19e51611da83d6be54ddafce4a4af510cb3e9ea4
|
||||
subpackages:
|
||||
- secure/bidirule
|
||||
- transform
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import:
|
|||
- package: github.com/cheggaaa/pb
|
||||
version: d7e6ca3010b6f084d8056847f55d7f572f180678
|
||||
- package: github.com/coreos/etcd
|
||||
version: f337754e721ff48921a93fc9a68787911d0c9427
|
||||
version: 1763f7d4d1f865f7650d64a6c29983f7dc2494fb
|
||||
subpackages:
|
||||
- auth/authpb
|
||||
- client
|
||||
|
|
@ -56,7 +56,7 @@ import:
|
|||
- package: github.com/gyuho/dataframe
|
||||
version: 73de2c550b1177c1640f3dacbbc1af00f913fedb
|
||||
- package: github.com/gyuho/linux-inspect
|
||||
version: 0cbebdd92997b7290328c305e0cfea5666a889d7
|
||||
version: dea6b03d00cdc1d7849f16195d107a2f5884e218
|
||||
subpackages:
|
||||
- df
|
||||
- etc
|
||||
|
|
@ -67,7 +67,7 @@ import:
|
|||
- schema
|
||||
- top
|
||||
- package: github.com/hashicorp/consul
|
||||
version: db3599762f860c83a528cd23d95b3aa10b0b3784
|
||||
version: ad40a855bd5003eb5d4c48f791479828d6a9393e
|
||||
subpackages:
|
||||
- api
|
||||
- package: github.com/samuel/go-zookeeper
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
rm -f /tmp/consul.zip
|
||||
curl -sf -o /tmp/consul.zip https://releases.hashicorp.com/consul/0.7.5/consul_0.7.5_linux_amd64.zip
|
||||
curl -sf -o /tmp/consul.zip https://releases.hashicorp.com/consul/0.8.3/consul_0.8.3_linux_amd64.zip
|
||||
|
||||
rm -f ${GOPATH}/bin/consul
|
||||
unzip /tmp/consul.zip -d ${GOPATH}/bin
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ git clone https://github.com/${USER_NAME}/etcd \
|
|||
|
||||
cd ${GOPATH}/src/${GIT_PATH}
|
||||
|
||||
git reset --hard 5856c8bce9778a12d79038fdb1f3fba9416bd297
|
||||
git reset --hard HEAD
|
||||
|
||||
./build
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
GO_VERSION=1.8
|
||||
GO_VERSION=1.8.1
|
||||
|
||||
sudo rm -f /usr/local/go/bin/go && sudo rm -rf /usr/local/go && sudo rm -f /bin/go
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ touch $HOME/zookeeper/zookeeper.data/myid
|
|||
sudo chmod -R 777 $HOME/zookeeper/zookeeper.data/
|
||||
COMMENT
|
||||
|
||||
ZK_VERSION=3.5.2-alpha
|
||||
ZK_VERSION=3.5.3-beta
|
||||
sudo rm -rf $HOME/zookeeper
|
||||
sudo curl -sf -o /tmp/zookeeper-$ZK_VERSION.tar.gz -L https://www.apache.org/dist/zookeeper/zookeeper-$ZK_VERSION/zookeeper-$ZK_VERSION.tar.gz
|
||||
sudo tar -xzf /tmp/zookeeper-$ZK_VERSION.tar.gz -C /tmp/
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Filter Effects
|
|||
|
||||
Metadata elements
|
||||
|
||||
desc, defs, g (style, transform, id), mask, marker, pattern, title, (a)ddress, link, script, use
|
||||
desc, defs, g (style, transform, id), mask, marker, pattern, title, (a)ddress, link, script, style, use
|
||||
|
||||
Usage: (assuming GOPATH is set)
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ func (svg *SVG) genattr(ns []string) {
|
|||
svg.println(svgns)
|
||||
}
|
||||
|
||||
// Structure, Metadata, Scripting, Transformation, and Links
|
||||
// Structure, Metadata, Scripting, Style, Transformation, and Links
|
||||
|
||||
// Start begins the SVG document with the width w and height h.
|
||||
// Other attributes may be optionally added, for example viewbox or additional namespaces
|
||||
|
|
@ -126,12 +126,13 @@ func (svg *SVG) Startraw(ns ...string) {
|
|||
// End the SVG document
|
||||
func (svg *SVG) End() { svg.println("</svg>") }
|
||||
|
||||
// Script defines a script with a specified type, (for example "application/javascript").
|
||||
// linkembed defines an element with a specified type,
|
||||
// (for example "application/javascript", or "text/css").
|
||||
// if the first variadic argument is a link, use only the link reference.
|
||||
// Otherwise, treat those arguments as the text of the script (marked up as CDATA).
|
||||
// if no data is specified, just close the script element
|
||||
func (svg *SVG) Script(scriptype string, data ...string) {
|
||||
svg.printf(`<script type="%s"`, scriptype)
|
||||
// if no data is specified, just close the element
|
||||
func (svg *SVG) linkembed(tag string, scriptype string, data ...string) {
|
||||
svg.printf(`<%s type="%s"`, tag, scriptype)
|
||||
switch {
|
||||
case len(data) == 1 && islink(data[0]):
|
||||
svg.printf(" %s/>\n", href(data[0]))
|
||||
|
|
@ -141,13 +142,23 @@ func (svg *SVG) Script(scriptype string, data ...string) {
|
|||
for _, v := range data {
|
||||
svg.println(v)
|
||||
}
|
||||
svg.printf("]]>\n</script>\n")
|
||||
svg.printf("]]>\n</%s>\n", tag)
|
||||
|
||||
default:
|
||||
svg.println(`/>`)
|
||||
}
|
||||
}
|
||||
|
||||
// Script defines a script with a specified type, (for example "application/javascript").
|
||||
func (svg *SVG) Script(scriptype string, data ...string) {
|
||||
svg.linkembed("script", scriptype, data...)
|
||||
}
|
||||
|
||||
// Style defines the specified style (for example "text/css")
|
||||
func (svg *SVG) Style(scriptype string, data ...string) {
|
||||
svg.linkembed("style", scriptype, data...)
|
||||
}
|
||||
|
||||
// Gstyle begins a group, with the specified style.
|
||||
// Standard Reference: http://www.w3.org/TR/SVG11/struct.html#GElement
|
||||
func (svg *SVG) Gstyle(s string) { svg.println(group("style", s)) }
|
||||
|
|
|
|||
|
|
@ -76,9 +76,10 @@ func (p *Path) MoveTo(x, y float64) {
|
|||
// LineTo adds a line to the current path
|
||||
func (p *Path) LineTo(x, y float64) {
|
||||
if len(p.Components) == 0 { //special case when no move has been done
|
||||
p.MoveTo(0, 0)
|
||||
p.MoveTo(x, y)
|
||||
} else {
|
||||
p.appendToPath(LineToCmp, x, y)
|
||||
}
|
||||
p.appendToPath(LineToCmp, x, y)
|
||||
p.x = x
|
||||
p.y = y
|
||||
}
|
||||
|
|
@ -86,9 +87,10 @@ func (p *Path) LineTo(x, y float64) {
|
|||
// QuadCurveTo adds a quadratic bezier curve to the current path
|
||||
func (p *Path) QuadCurveTo(cx, cy, x, y float64) {
|
||||
if len(p.Components) == 0 { //special case when no move has been done
|
||||
p.MoveTo(0, 0)
|
||||
p.MoveTo(x, y)
|
||||
} else {
|
||||
p.appendToPath(QuadCurveToCmp, cx, cy, x, y)
|
||||
}
|
||||
p.appendToPath(QuadCurveToCmp, cx, cy, x, y)
|
||||
p.x = x
|
||||
p.y = y
|
||||
}
|
||||
|
|
@ -96,9 +98,10 @@ func (p *Path) QuadCurveTo(cx, cy, x, y float64) {
|
|||
// CubicCurveTo adds a cubic bezier curve to the current path
|
||||
func (p *Path) CubicCurveTo(cx1, cy1, cx2, cy2, x, y float64) {
|
||||
if len(p.Components) == 0 { //special case when no move has been done
|
||||
p.MoveTo(0, 0)
|
||||
p.MoveTo(x, y)
|
||||
} else {
|
||||
p.appendToPath(CubicCurveToCmp, cx1, cy1, cx2, cy2, x, y)
|
||||
}
|
||||
p.appendToPath(CubicCurveToCmp, cx1, cy1, cx2, cy2, x, y)
|
||||
p.x = x
|
||||
p.y = y
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue