Compare commits
52 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9dc4a3a2af | ||
|
|
a569b25446 | ||
|
|
89d8d125c3 | ||
|
|
114cea0b01 | ||
|
|
df31b2130d | ||
|
|
de7bba74a6 | ||
|
|
cedaa4496b | ||
|
|
cc3ffa31a4 | ||
|
|
aba0ca8183 | ||
|
|
deb5f90234 | ||
|
|
96f2381980 | ||
|
|
bb5bce91f9 |
||
|
|
3abe3b4a92 | ||
|
|
b3c8d414ac | ||
|
|
7a80facf83 | ||
|
|
083bece85f | ||
|
|
9e3b6a0110 | ||
|
|
5b84a77b93 | ||
|
|
97cc9275be | ||
|
|
e4166346b8 |
||
|
|
60bdf65bc8 |
||
|
|
3def4ff38d | ||
|
|
7fa0f75731 |
||
|
|
376ab7ef79 |
||
|
|
b35520b81d | ||
|
|
f7b019c0e6 | ||
|
|
94ad3bdca9 | ||
|
|
053463c201 | ||
|
|
67e4ba3019 | ||
|
|
4ef4ff6a93 | ||
|
|
6dbd97aea6 | ||
|
|
5701beadc5 | ||
|
|
ef50a93336 | ||
|
|
73fc892b8b |
||
|
|
989809a30c |
||
|
|
e3ead83240 |
||
|
|
3289fe09eb | ||
|
|
0c4425c1a2 | ||
|
|
ba0cd9fb88 | ||
|
|
17ba79b85c | ||
|
|
b26cf08a51 | ||
|
|
911122fb49 | ||
|
|
31f444ef9a | ||
|
|
ccd233fee4 | ||
|
|
89c322da82 | ||
|
|
853225606d | ||
|
|
7843a0289a | ||
|
|
0028d72444 | ||
|
|
766f1f04b8 | ||
|
|
2bbe85f557 | ||
|
|
0b2f20d050 | ||
|
|
02a7205b07 |
8 changed files with 549 additions and 962 deletions
15
.gitignore
vendored
15
.gitignore
vendored
|
|
@ -3,3 +3,18 @@
|
|||
/etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1.tar.gz
|
||||
/man-3.3.12.tar.gz
|
||||
/etcd-f29b1ada19713544b698dab8c94c97cfa1e83dac.tar.gz
|
||||
/etcd-cca0d5c1bed134ac30e1354241f7655d2a118db4.tar.gz
|
||||
/etcd-3.3.13.tar.gz
|
||||
/man-3.3.13.tar.gz
|
||||
/etcd-3.4.3.tar.gz
|
||||
/man-3.4.3.tar.gz
|
||||
/etcd-3.4.7.tar.gz
|
||||
/man-3.4.7.tar.gz
|
||||
/etcd-3.4.13.tar.gz
|
||||
/man-3.4.13.tar.gz
|
||||
/etcd-3.4.14.tar.gz
|
||||
/man-3.4.14.tar.gz
|
||||
/etcd-3.5.0.tar.gz
|
||||
/etcd-3.5.5.tar.gz
|
||||
/etcd-3.5.11.tar.gz
|
||||
/etcd-3.5.13.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,261 +0,0 @@
|
|||
diff -up etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/config.go.hack1 etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/config.go
|
||||
--- etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/config.go.hack1 2019-03-14 20:11:28.569755622 +0100
|
||||
+++ etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/config.go 2019-03-14 20:23:17.601851367 +0100
|
||||
@@ -122,14 +122,14 @@ func newConfig() *config {
|
||||
),
|
||||
}
|
||||
|
||||
- fs := cfg.cf.flagSet
|
||||
- fs.Usage = func() {
|
||||
+ fs := InitFlagSet(cfg.cf.flagSet)
|
||||
+ cfg.cf.flagSet.Usage = func() {
|
||||
fmt.Fprintln(os.Stderr, usageline)
|
||||
}
|
||||
|
||||
fs.StringVar(&cfg.configFile, "config-file", "", "Path to the server configuration file")
|
||||
|
||||
- // member
|
||||
+ fs.AddGroup("member")
|
||||
fs.StringVar(&cfg.ec.Dir, "data-dir", cfg.ec.Dir, "Path to the data directory.")
|
||||
fs.StringVar(&cfg.ec.WalDir, "wal-dir", cfg.ec.WalDir, "Path to the dedicated wal directory.")
|
||||
fs.Var(
|
||||
@@ -162,7 +162,7 @@ func newConfig() *config {
|
||||
fs.DurationVar(&cfg.ec.GRPCKeepAliveInterval, "grpc-keepalive-interval", cfg.ec.GRPCKeepAliveInterval, "Frequency duration of server-to-client ping to check if a connection is alive (0 to disable).")
|
||||
fs.DurationVar(&cfg.ec.GRPCKeepAliveTimeout, "grpc-keepalive-timeout", cfg.ec.GRPCKeepAliveTimeout, "Additional duration of wait before closing a non-responsive connection (0 to disable).")
|
||||
|
||||
- // clustering
|
||||
+ fs.AddGroup("clustering")
|
||||
fs.Var(
|
||||
flags.NewUniqueURLsWithExceptions(embed.DefaultInitialAdvertisePeerURLs, ""),
|
||||
"initial-advertise-peer-urls",
|
||||
@@ -187,7 +187,7 @@ func newConfig() *config {
|
||||
fs.BoolVar(&cfg.ec.EnableV2, "enable-v2", cfg.ec.EnableV2, "Accept etcd V2 client requests.")
|
||||
fs.BoolVar(&cfg.ec.PreVote, "pre-vote", cfg.ec.PreVote, "Enable to run an additional Raft election phase.")
|
||||
|
||||
- // proxy
|
||||
+ fs.AddGroup("proxy")
|
||||
fs.Var(cfg.cf.proxy, "proxy", fmt.Sprintf("Valid values include %q", cfg.cf.proxy.Valids()))
|
||||
fs.UintVar(&cfg.cp.ProxyFailureWaitMs, "proxy-failure-wait", cfg.cp.ProxyFailureWaitMs, "Time (in milliseconds) an endpoint will be held in a failed state.")
|
||||
fs.UintVar(&cfg.cp.ProxyRefreshIntervalMs, "proxy-refresh-interval", cfg.cp.ProxyRefreshIntervalMs, "Time (in milliseconds) of the endpoints refresh interval.")
|
||||
@@ -195,7 +195,7 @@ func newConfig() *config {
|
||||
fs.UintVar(&cfg.cp.ProxyWriteTimeoutMs, "proxy-write-timeout", cfg.cp.ProxyWriteTimeoutMs, "Time (in milliseconds) for a write to timeout.")
|
||||
fs.UintVar(&cfg.cp.ProxyReadTimeoutMs, "proxy-read-timeout", cfg.cp.ProxyReadTimeoutMs, "Time (in milliseconds) for a read to timeout.")
|
||||
|
||||
- // security
|
||||
+ fs.AddGroup("security")
|
||||
fs.StringVar(&cfg.ec.ClientTLSInfo.CertFile, "cert-file", "", "Path to the client server TLS cert file.")
|
||||
fs.StringVar(&cfg.ec.ClientTLSInfo.KeyFile, "key-file", "", "Path to the client server TLS key file.")
|
||||
fs.BoolVar(&cfg.ec.ClientTLSInfo.ClientCertAuth, "client-cert-auth", false, "Enable client cert authentication.")
|
||||
@@ -218,41 +218,44 @@ func newConfig() *config {
|
||||
)
|
||||
fs.Var(flags.NewUniqueStringsValue("*"), "host-whitelist", "Comma-separated acceptable hostnames from HTTP client requests, if server is not secure (empty means allow all).")
|
||||
|
||||
- // logging
|
||||
+ fs.AddGroup("logging")
|
||||
fs.StringVar(&cfg.ec.Logger, "logger", "capnslog", "Specify 'zap' for structured logging or 'capnslog'.")
|
||||
fs.Var(flags.NewUniqueStringsValue(embed.DefaultLogOutput), "log-output", "DEPRECATED: use '--log-outputs'.")
|
||||
fs.Var(flags.NewUniqueStringsValue(embed.DefaultLogOutput), "log-outputs", "Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd, or list of comma separated output targets.")
|
||||
fs.BoolVar(&cfg.ec.Debug, "debug", false, "Enable debug-level logging for etcd.")
|
||||
fs.StringVar(&cfg.ec.LogPkgLevels, "log-package-levels", "", "(To be deprecated) Specify a particular log level for each etcd package (eg: 'etcdmain=CRITICAL,etcdserver=DEBUG').")
|
||||
|
||||
- // version
|
||||
+ fs.AddGroup("version")
|
||||
fs.BoolVar(&cfg.printVersion, "version", false, "Print the version and exit.")
|
||||
|
||||
fs.StringVar(&cfg.ec.AutoCompactionRetention, "auto-compaction-retention", "0", "Auto compaction retention for mvcc key value store. 0 means disable auto compaction.")
|
||||
fs.StringVar(&cfg.ec.AutoCompactionMode, "auto-compaction-mode", "periodic", "interpret 'auto-compaction-retention' one of: periodic|revision. 'periodic' for duration based retention, defaulting to hours if no time unit is provided (e.g. '5m'). 'revision' for revision number based retention.")
|
||||
|
||||
- // pprof profiler via HTTP
|
||||
+ fs.AddGroup("profiling")
|
||||
fs.BoolVar(&cfg.ec.EnablePprof, "enable-pprof", false, "Enable runtime profiling data via HTTP server. Address is at client URL + \"/debug/pprof/\"")
|
||||
|
||||
// additional metrics
|
||||
fs.StringVar(&cfg.ec.Metrics, "metrics", cfg.ec.Metrics, "Set level of detail for exported metrics, specify 'extensive' to include histogram metrics")
|
||||
|
||||
- // auth
|
||||
+ fs.AddGroup("auth")
|
||||
fs.StringVar(&cfg.ec.AuthToken, "auth-token", cfg.ec.AuthToken, "Specify auth token specific options.")
|
||||
fs.UintVar(&cfg.ec.BcryptCost, "bcrypt-cost", cfg.ec.BcryptCost, "Specify bcrypt algorithm cost factor for auth password hashing.")
|
||||
|
||||
- // gateway
|
||||
+ fs.AddGroup("gateway")
|
||||
fs.BoolVar(&cfg.ec.EnableGRPCGateway, "enable-grpc-gateway", true, "Enable GRPC gateway.")
|
||||
|
||||
- // experimental
|
||||
+ fs.AddGroup("experimental")
|
||||
fs.BoolVar(&cfg.ec.ExperimentalInitialCorruptCheck, "experimental-initial-corrupt-check", cfg.ec.ExperimentalInitialCorruptCheck, "Enable to check data corruption before serving any client/peer traffic.")
|
||||
fs.DurationVar(&cfg.ec.ExperimentalCorruptCheckTime, "experimental-corrupt-check-time", cfg.ec.ExperimentalCorruptCheckTime, "Duration of time between cluster corruption check passes.")
|
||||
fs.StringVar(&cfg.ec.ExperimentalEnableV2V3, "experimental-enable-v2v3", cfg.ec.ExperimentalEnableV2V3, "v3 prefix for serving emulated v2 state.")
|
||||
fs.StringVar(&cfg.ec.ExperimentalBackendFreelistType, "experimental-backend-bbolt-freelist-type", cfg.ec.ExperimentalBackendFreelistType, "ExperimentalBackendFreelistType specifies the type of freelist that boltdb backend uses(array and map are supported types)")
|
||||
|
||||
- // unsafe
|
||||
+ fs.AddGroup("unsafe")
|
||||
fs.BoolVar(&cfg.ec.ForceNewCluster, "force-new-cluster", false, "Force to create a new one member cluster.")
|
||||
|
||||
+ fs.GenMan()
|
||||
+ os.Exit(0)
|
||||
+
|
||||
// ignored
|
||||
for _, f := range cfg.ignored {
|
||||
fs.Var(&flags.IgnoredFlag{Name: f}, f, "")
|
||||
diff -up etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/fake_flagset.go.hack1 etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/fake_flagset.go
|
||||
--- etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/fake_flagset.go.hack1 2019-03-14 20:11:28.570755620 +0100
|
||||
+++ etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdmain/fake_flagset.go 2019-03-14 20:11:28.570755620 +0100
|
||||
@@ -0,0 +1,157 @@
|
||||
+package etcdmain
|
||||
+
|
||||
+import (
|
||||
+ "flag"
|
||||
+ "fmt"
|
||||
+ "strconv"
|
||||
+ "strings"
|
||||
+ "time"
|
||||
+)
|
||||
+
|
||||
+type flagInfo struct {
|
||||
+ value fmt.Stringer
|
||||
+ name string
|
||||
+ usage string
|
||||
+}
|
||||
+
|
||||
+type stringValue string
|
||||
+
|
||||
+func (s *stringValue) String() string { return string(*s) }
|
||||
+
|
||||
+type uintValue uint
|
||||
+
|
||||
+func (i *uintValue) String() string { return strconv.FormatUint(uint64(*i), 10) }
|
||||
+
|
||||
+type uint64Value uint64
|
||||
+
|
||||
+func (i *uint64Value) String() string { return strconv.FormatUint(uint64(*i), 10) }
|
||||
+
|
||||
+type int64Value int64
|
||||
+
|
||||
+func (i *int64Value) String() string { return strconv.FormatInt(int64(*i), 10) }
|
||||
+
|
||||
+type durationValue time.Duration
|
||||
+
|
||||
+func (d *durationValue) String() string { return (*time.Duration)(d).String() }
|
||||
+
|
||||
+type boolValue bool
|
||||
+
|
||||
+func (b *boolValue) String() string { return strconv.FormatBool(bool(*b)) }
|
||||
+
|
||||
+type FakeFlagSet struct {
|
||||
+ fs *flag.FlagSet
|
||||
+ flags map[string][]flagInfo
|
||||
+ groups []string
|
||||
+ lastGroup string
|
||||
+}
|
||||
+
|
||||
+func InitFlagSet(fs *flag.FlagSet) *FakeFlagSet {
|
||||
+ return &FakeFlagSet{
|
||||
+ fs: fs,
|
||||
+ flags: make(map[string][]flagInfo),
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) AddGroup(name string) {
|
||||
+ fs.flags[name] = nil
|
||||
+ fs.groups = append(fs.groups, name)
|
||||
+ fs.lastGroup = name
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) Var(value flag.Value, name string, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: value,
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.Var(value, name, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) StringVar(p *string, name string, value string, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*stringValue)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.StringVar(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+// -- int Value
|
||||
+type intValue int
|
||||
+
|
||||
+func (i *intValue) String() string { return strconv.Itoa(int(*i)) }
|
||||
+
|
||||
+func (fs *FakeFlagSet) UintVar(p *uint, name string, value uint, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*uintValue)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.UintVar(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) Uint64Var(p *uint64, name string, value uint64, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*uint64Value)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.Uint64Var(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) IntVar(p *int, name string, value int, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*intValue)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.IntVar(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) Int64Var(p *int64, name string, value int64, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*int64Value)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.Int64Var(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) DurationVar(p *time.Duration, name string, value time.Duration, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*durationValue)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.DurationVar(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) BoolVar(p *bool, name string, value bool, usage string) {
|
||||
+ fs.flags[fs.lastGroup] = append(fs.flags[fs.lastGroup], flagInfo{
|
||||
+ value: (*boolValue)(&value),
|
||||
+ name: name,
|
||||
+ usage: usage,
|
||||
+ })
|
||||
+ fs.fs.BoolVar(p, name, value, usage)
|
||||
+}
|
||||
+
|
||||
+func (fs *FakeFlagSet) GenMan() {
|
||||
+ fmt.Printf(".TH \"ETCD\" \"1\" \" etcd User Manuals\" \"Etcd contributors\" \"Nov 2017\" \"\"\n")
|
||||
+ fmt.Printf(".SH NAME:\netcd - Distributed reliable key-value store for the most critical data of a distributed system\n\n")
|
||||
+ fmt.Printf(".SH USAGE:\netcd [flags]\n\n")
|
||||
+ fmt.Printf(".SH DESCRIPTION:\nEtcd is a distributed key-value store designed to reliably and quickly preserve and provide access to critical data. It enables reliable distributed coordination through distributed locking, leader elections, and write barriers. An etcd cluster is intended for high availability and permanent data storage and retrieval.\n\n")
|
||||
+ fmt.Printf(".SH GENERAL OPTIONS\n\n")
|
||||
+ for _, group := range fs.groups {
|
||||
+ fmt.Printf(".I %v flags\n\n", strings.Title(group))
|
||||
+ for _, flag := range fs.flags[group] {
|
||||
+ var flagstr string
|
||||
+ if len(flag.name) == 1 {
|
||||
+ flagstr = "-" + flag.name
|
||||
+ } else {
|
||||
+ flagstr = "--" + flag.name
|
||||
+ }
|
||||
+ fmt.Printf(".RS\n\\fB%v %v\\fP\n %v\n\n.RE\n", flagstr, flag.value.String(), flag.usage)
|
||||
+ }
|
||||
+ }
|
||||
+ fmt.Printf(".SH SEE ALSO:\n\\fBetcdctl(1)\\fP, \\fBetcdctl2(1)\\fP, \\fBetcdctl3(1)\\fP\n\n")
|
||||
+}
|
||||
|
|
@ -1,120 +0,0 @@
|
|||
diff -up etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv2/ctl.go.hack2 etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv2/ctl.go
|
||||
--- etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv2/ctl.go.hack2 2019-03-12 20:09:09.000000000 +0100
|
||||
+++ etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv2/ctl.go 2019-03-14 20:20:04.887079104 +0100
|
||||
@@ -36,6 +36,68 @@ func Start() {
|
||||
}
|
||||
app.Usage = "A simple command line client for etcd."
|
||||
|
||||
+ cli.AppHelpTemplate = `.TH "ETCD" "1" " etcd User Manuals" "Etcd contributors" "Nov 2017" ""
|
||||
+.SH NAME:
|
||||
+{{.Name}} - {{.Usage}}
|
||||
+
|
||||
+{{if .Version}}
|
||||
+.SH VERSION:
|
||||
+ {{.Version}}
|
||||
+{{end}}
|
||||
+
|
||||
+.SH USAGE:
|
||||
+ {{.HelpName}} {{if .VisibleFlags}}[global options]{{end}}{{if .Commands}} command [command options]{{end}} {{if .ArgsUsage}}{{.ArgsUsage}}{{else}}[arguments...]{{end}}
|
||||
+ {{if .Commands}}
|
||||
+
|
||||
+.SH COMMANDS:
|
||||
+{{range .Commands}}{{if not .HideHelp}}\fB{{ .Name }}\fP{{ "\n\t\t\t" }}{{.Usage}}{{ "\n" }}
|
||||
+
|
||||
+{{end}}{{end}}{{end}}{{if .VisibleFlags}}
|
||||
+
|
||||
+.SH GLOBAL OPTIONS:
|
||||
+{{range .VisibleFlags}}{{ . }}
|
||||
+
|
||||
+{{end}}{{end}}
|
||||
+
|
||||
+.SH SEE ALSO
|
||||
+{{range .Commands}}{{if not .HideHelp}}{{if ne .Name "help" }}\fBetcdctl-{{ .Name }}(1)\fP,
|
||||
+{{end}}{{end}}{{end}}
|
||||
+`
|
||||
+
|
||||
+ cli.CommandHelpTemplate = `.TH "ETCD" "1" " etcd User Manuals" "Etcd contributors" "Nov 2017" ""
|
||||
+.SH NAME:
|
||||
+ {{.HelpName}} - {{.Usage}}
|
||||
+
|
||||
+.SH USAGE:
|
||||
+ {{.HelpName}}{{if .VisibleFlags}} [command options]{{end}} {{if .ArgsUsage}}{{.ArgsUsage}}{{else}}[arguments...]{{end}}
|
||||
+
|
||||
+{{if .VisibleFlags}}
|
||||
+.SH OPTIONS:
|
||||
+ {{range .VisibleFlags}}{{.}}
|
||||
+ {{end}}{{end}}
|
||||
+`
|
||||
+
|
||||
+
|
||||
+ cli.SubcommandHelpTemplate = `.TH "ETCD" "1" " etcd User Manuals" "Etcd contributors" "Nov 2017" ""
|
||||
+.SH NAME:
|
||||
+ {{.HelpName}} - {{.Usage}}
|
||||
+
|
||||
+.SH USAGE:
|
||||
+ {{.HelpName}} command{{if .VisibleFlags}} [command options]{{end}} {{if .ArgsUsage}}{{.ArgsUsage}}{{else}}[arguments...]{{end}}
|
||||
+
|
||||
+.SH COMMANDS:
|
||||
+{{range .VisibleCategories}}{{if .Name}}
|
||||
+{{.Name}}:{{end}}{{range .VisibleCommands}}
|
||||
+\fB{{ .Name }}\fP{{"\n\t\t\t"}}{{.Usage}}{{ "\n" }}{{end}}
|
||||
+{{end}}
|
||||
+
|
||||
+{{if .VisibleFlags}}
|
||||
+.SH OPTIONS:
|
||||
+{{range .VisibleFlags}}{{.}}
|
||||
+{{end}}{{end}}
|
||||
+`
|
||||
+
|
||||
+
|
||||
app.Flags = []cli.Flag{
|
||||
cli.BoolFlag{Name: "debug", Usage: "output cURL commands which can be used to reproduce the request"},
|
||||
cli.BoolFlag{Name: "no-sync", Usage: "don't synchronize cluster information before sending request"},
|
||||
diff -up etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv3/ctl_nocov.go.hack2 etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv3/ctl_nocov.go
|
||||
--- etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv3/ctl_nocov.go.hack2 2019-03-14 20:20:04.888079103 +0100
|
||||
+++ etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/etcdctl/ctlv3/ctl_nocov.go 2019-03-14 20:32:35.376178988 +0100
|
||||
@@ -16,13 +16,20 @@
|
||||
|
||||
package ctlv3
|
||||
|
||||
-import "go.etcd.io/etcd/etcdctl/ctlv3/command"
|
||||
+//import "github.com/coreos/etcd/etcdctl/ctlv3/command"
|
||||
+import cobra "github.com/spf13/cobra/doc"
|
||||
|
||||
func Start() {
|
||||
rootCmd.SetUsageFunc(usageFunc)
|
||||
// Make help just show the usage
|
||||
rootCmd.SetHelpTemplate(`{{.UsageString}}`)
|
||||
- if err := rootCmd.Execute(); err != nil {
|
||||
- command.ExitWithError(command.ExitError, err)
|
||||
+ //if err := rootCmd.Execute(); err != nil {
|
||||
+ // command.ExitWithError(command.ExitError, err)
|
||||
+ //}
|
||||
+ header := &cobra.GenManHeader{
|
||||
+ Title: "etcdctl3",
|
||||
+ Section: "1",
|
||||
}
|
||||
+
|
||||
+ cobra.GenManTree(rootCmd, header, "")
|
||||
}
|
||||
diff -up etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/vendor/github.com/urfave/cli/flag.go.hack2 etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/vendor/github.com/urfave/cli/flag.go
|
||||
--- etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/vendor/github.com/urfave/cli/flag.go.hack2 2019-03-12 20:09:09.000000000 +0100
|
||||
+++ etcd-e1ca3b4434945e57e8e3a451cdbde74a903cc8e1/vendor/github.com/urfave/cli/flag.go 2019-03-14 20:20:04.883079109 +0100
|
||||
@@ -670,7 +670,7 @@ func prefixedNames(fullName, placeholder
|
||||
parts := strings.Split(fullName, ",")
|
||||
for i, name := range parts {
|
||||
name = strings.Trim(name, " ")
|
||||
- prefixed += prefixFor(name) + name
|
||||
+ prefixed += "\\fB" + prefixFor(name) + name + "\\fP"
|
||||
if placeholder != "" {
|
||||
prefixed += " " + placeholder
|
||||
}
|
||||
@@ -745,7 +745,7 @@ func stringifyFlag(f Flag) string {
|
||||
usageWithDefault := strings.TrimSpace(fmt.Sprintf("%s%s", usage, defaultValueString))
|
||||
|
||||
return withEnvHint(fv.FieldByName("EnvVar").String(),
|
||||
- fmt.Sprintf("%s\t%s", prefixedNames(fv.FieldByName("Name").String(), placeholder), usageWithDefault))
|
||||
+ fmt.Sprintf("%s\n\t\t\t%s", prefixedNames(fv.FieldByName("Name").String(), placeholder), usageWithDefault))
|
||||
}
|
||||
|
||||
func stringifyIntSliceFlag(f IntSliceFlag) string {
|
||||
426
changelog
Normal file
426
changelog
Normal file
|
|
@ -0,0 +1,426 @@
|
|||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.14-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Dec 26 16:38:31 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.4.14-1
|
||||
- Update to 3.4.14
|
||||
- Close: rhbz#1901781
|
||||
|
||||
* Fri Sep 04 00:08:52 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.4.13-1
|
||||
- Update to 3.4.13
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.7-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Apr 05 15:36:23 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.4.7-1
|
||||
- Update to 3.4.7
|
||||
|
||||
* Mon Feb 17 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.3.13-5
|
||||
- Rebuilt for GHSA-jf24-p9p9-4rjh
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.13-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.13-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Jul 10 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.3.13-2
|
||||
- Add Obsoletes for old name
|
||||
|
||||
* Wed May 08 01:20:48 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.13-1
|
||||
- Release 3.3.13
|
||||
|
||||
* Tue Apr 16 15:51:11 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-4.20190413gitf29b1ad
|
||||
- etcd.service: do not pass command line flags already defined in environment
|
||||
|
||||
* Mon Apr 15 15:11:24 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-3.20190413gitf29b1ad
|
||||
- Fix building of etcd
|
||||
|
||||
* Sat Apr 13 22:31:30 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-2.20190413gitf29b1ad
|
||||
- Bump to commit f29b1ada19713544b698dab8c94c97cfa1e83dac
|
||||
|
||||
* Thu Mar 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-1.20190314gite1ca3b4
|
||||
- Bump to commit e1ca3b4434945e57e8e3a451cdbde74a903cc8e1
|
||||
- Add new goipath
|
||||
- Updated patches
|
||||
- Updated man pages
|
||||
|
||||
* Sun Feb 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.16-6
|
||||
- Fix broken version specification
|
||||
- Backport variadic parameter fix
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 3.2.16-4
|
||||
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
||||
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.16-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Mar 20 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.16-2
|
||||
- Put back the missing prep, post, preun and postun scripts
|
||||
resolves: #1557356
|
||||
|
||||
* Fri Mar 09 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.16-1.git121edf0
|
||||
- Update to 3.2.16
|
||||
|
||||
* Tue Mar 06 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-5.gitbb66589
|
||||
- Update to spec 3.0
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Nov 30 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-3
|
||||
- Polish the spec file
|
||||
|
||||
* Tue Nov 07 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-2
|
||||
- Generate man pages
|
||||
|
||||
* Sun Sep 24 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-1
|
||||
- Update to 3.2.7
|
||||
related: #1448611
|
||||
|
||||
* Tue Aug 15 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.5-1
|
||||
- Update to 3.2.5
|
||||
resolves: #1448611
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sun Jun 11 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.9-1
|
||||
- Update to 3.1.9
|
||||
resolves: #1460496
|
||||
|
||||
* Mon Jun 05 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.8-1
|
||||
Update to 3.1.8
|
||||
resolves: #1458717
|
||||
|
||||
* Tue May 02 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.7-1
|
||||
- Update to 3.1.7
|
||||
resolves: #1447232
|
||||
|
||||
* Thu Apr 20 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.6-1
|
||||
- Update to 3.1.6
|
||||
resolves: #1444068
|
||||
|
||||
* Tue Mar 28 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.5-1
|
||||
- Update to 3.1.5
|
||||
resolves: #1436452
|
||||
|
||||
* Mon Mar 27 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.4-1
|
||||
- Update to 3.1.4
|
||||
resolves: #1435028
|
||||
|
||||
* Mon Mar 20 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.3-1
|
||||
- Update to v3.1.3
|
||||
related: #1415341
|
||||
|
||||
* Tue Mar 14 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.0-1
|
||||
- Update to v3.1.0
|
||||
related: #1415341
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Jan 23 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.0.17-1
|
||||
- Update to v3.0.17
|
||||
etcd-top removed by upstream
|
||||
resolves: #1415622
|
||||
|
||||
* Fri Nov 18 2016 jchaloup <jchaloup@redhat.com> - 3.0.15-2
|
||||
- Remove ppc64le architecture restriction
|
||||
resolves: #1396463
|
||||
|
||||
* Tue Nov 15 2016 jchaloup <jchaloup@redhat.com> - 3.0.15-1
|
||||
- Update to v3.0.15
|
||||
related: #1382965
|
||||
|
||||
* Mon Nov 07 2016 jchaloup <jchaloup@redhat.com> - 3.0.14-1
|
||||
- Update to v3.0.14
|
||||
related: #1382965
|
||||
|
||||
* Thu Oct 27 2016 jchaloup <jchaloup@redhat.com> - 3.0.13-1
|
||||
- Update to v3.0.13
|
||||
related: #1382965
|
||||
|
||||
* Mon Oct 24 2016 jchaloup <jchaloup@redhat.com> - 3.0.12-2
|
||||
- Extend supported architectures with s390x
|
||||
|
||||
* Thu Oct 13 2016 jchaloup <jchaloup@redhat.com> - 3.0.12-1
|
||||
- Update to v3.0.12
|
||||
related: #1382965
|
||||
|
||||
* Fri Sep 16 2016 jchaloup <jchaloup@redhat.com> - 3.0.9-1
|
||||
- Update to v3.0.9
|
||||
related: #1374880
|
||||
|
||||
* Wed Sep 14 2016 jchaloup <jchaloup@redhat.com> - 3.0.8-1
|
||||
- Update to v3.0.8
|
||||
resolves: #1374880
|
||||
|
||||
* Fri Sep 09 2016 jchaloup <jchaloup@redhat.com> - 3.0.7-1
|
||||
- Update to v3.0.7
|
||||
resolves: #1370678
|
||||
|
||||
* Tue Aug 16 2016 jchaloup <jchaloup@redhat.com> - 3.0.4-2
|
||||
- Hack test to provide ability to run unit-tests and integration tests
|
||||
Still, keeping it disabled by default as it keeps failing
|
||||
related: #1351818
|
||||
|
||||
* Tue Aug 02 2016 jchaloup <jchaloup@redhat.com> - 3.0.4-1
|
||||
- Update to 3.0.4
|
||||
related: #1351818
|
||||
|
||||
* Thu Jul 28 2016 jchaloup <jchaloup@redhat.com> - 3.0.2-1
|
||||
- Update to 3.0.2
|
||||
resolves: #1351818
|
||||
|
||||
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-0.2.beta0
|
||||
- https://fedoraproject.org/wiki/Changes/golang1.7
|
||||
|
||||
* Sun May 15 2016 jchaloup <jchaloup@redhat.com> - 3.0.0-0.1.beta0
|
||||
- Update to v3.0.0-beta0 (build from bundled until new deps appear in dist-git)
|
||||
resolves: #1333988
|
||||
|
||||
* Sat Apr 30 2016 jchaloup <jchaloup@redhat.com> - 2.3.3-1
|
||||
- Update to v2.3.3
|
||||
resolves: #1331896
|
||||
|
||||
* Fri Apr 22 2016 jchaloup <jchaloup@redhat.com> - 2.3.2-1
|
||||
- Update to v2.3.2
|
||||
resolves: #1329438
|
||||
|
||||
* Sat Apr 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.1-3
|
||||
- Enable aarch64
|
||||
|
||||
* Wed Apr 06 2016 jchaloup <jchaloup@redhat.com> - 2.3.1-2
|
||||
- Don't apply patch (for tests only which are disabled atm)
|
||||
|
||||
* Mon Apr 04 2016 jchaloup <jchaloup@redhat.com> - 2.3.1-1
|
||||
- Update to v.2.3.1
|
||||
resolves: #1323375
|
||||
|
||||
* Sun Mar 20 2016 jchaloup <jchaloup@redhat.com> - 2.3.0-1
|
||||
- Update to v2.3.0
|
||||
resolves: #1314441
|
||||
|
||||
* Wed Mar 09 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-4
|
||||
- Only ppc64le is supported, ppc64 not
|
||||
related: #1315419
|
||||
|
||||
* Tue Mar 08 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-3
|
||||
- Extend archs to all supported
|
||||
resolves: #1315419
|
||||
|
||||
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
|
||||
- https://fedoraproject.org/wiki/Changes/golang1.6
|
||||
|
||||
* Thu Feb 18 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-1
|
||||
- Update to v2.2.5
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jan 21 2016 jchaloup <jchaloup@redhat.com> - 2.2.4-1
|
||||
- Update to v2.2.4
|
||||
resolves: #1300558
|
||||
|
||||
* Fri Jan 08 2016 jchaloup <jchaloup@redhat.com> - 2.2.3-1
|
||||
- Update to v2.2.3
|
||||
resolves: #1296809
|
||||
|
||||
* Tue Dec 29 2015 jchaloup <jchaloup@redhat.com> - 2.2.2-2
|
||||
- add missing options to etcd help (thanks to Joy Pu ypu@redhat.com)
|
||||
- add more information when running etcd as a service
|
||||
|
||||
* Mon Dec 07 2015 jchaloup <jchaloup@redhat.com> - 2.2.2-1
|
||||
- Update to v2.2.2
|
||||
|
||||
* Mon Nov 16 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-4
|
||||
- Update etcd.conf: add new options, fix current
|
||||
|
||||
* Fri Oct 30 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-3
|
||||
- Add After=network-online.target and Wants=network-online.target
|
||||
to etcd.service
|
||||
|
||||
* Tue Oct 20 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-2
|
||||
- Set Type=notify instead of simple in etcd.service (upstream #1576)
|
||||
related: #1272438
|
||||
|
||||
* Fri Oct 16 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-1
|
||||
- Update to v2.2.1
|
||||
resolves: #1272438
|
||||
|
||||
* Fri Sep 11 2015 jchaloup <jchaloup@redhat.com> - 2.2.0-1
|
||||
- Update to v2.2.0 (etcd-migrate gone)
|
||||
- Update to spec-2.1
|
||||
resolves: #1253864
|
||||
|
||||
* Mon Aug 31 2015 jchaloup <jchaloup@redhat.com> - 2.1.2-1
|
||||
- Update to v2.1.2
|
||||
resolves: #1258599
|
||||
|
||||
* Thu Jul 30 2015 jchaloup <jchaloup@redhat.com> - 2.1.1-2
|
||||
- Enable debug info again
|
||||
related: #1214958
|
||||
|
||||
* Mon Jul 20 2015 jchaloup <jchaloup@redhat.com> - 2.1.1-1
|
||||
- fix definition of GOPATH for go1.5
|
||||
- fix definition of gobuild function for non-debug way
|
||||
- Update to v2.1.1
|
||||
resolves: #1214958
|
||||
|
||||
* Fri Jul 10 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-3
|
||||
- set GOMAXPROCS to use all processors available
|
||||
|
||||
* Mon Jun 29 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-2
|
||||
- Remove -s option from -ldflags string as it removes symbol table
|
||||
'go tool l6' gives explanation of all available options
|
||||
resolves: #1236320
|
||||
|
||||
* Fri Jun 26 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-1
|
||||
- Update to v2.0.13
|
||||
|
||||
* Thu Jun 25 2015 jchaloup <jchaloup@redhat.com> - 2.0.12-2
|
||||
- Add restart policy and set LimitNOFILE to/in etcd.service file
|
||||
- Update etcd.config file: add new flags and remove depricated
|
||||
- Update 'go build' flags for GIT_SHA (used in build script)
|
||||
- Don't use 4001 and 7001 ports in etcd.conf, they are replaced with 2379 and 2380
|
||||
|
||||
* Wed Jun 24 2015 jchaloup <jchaloup@redhat.com> - 2.0.12-1
|
||||
- Update to v2.0.12
|
||||
- Polish spec file
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri May 22 2015 jchaloup <jchaloup@redhat.com> - 2.0.11-2
|
||||
- ETCD_ADVERTISE_CLIENT_URLS has to be set if ETCD_LISTEN_CLIENT_URLS is
|
||||
related: #1222416
|
||||
|
||||
* Mon May 18 2015 jchaloup <jchaloup@redhat.com> - 2.0.11-1
|
||||
- Update to v2.0.11
|
||||
resolves: #1222416
|
||||
|
||||
* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 2.0.10-1
|
||||
- Update to v2.0.10
|
||||
resolves: #1214705
|
||||
|
||||
* Wed Apr 08 2015 jchaloup <jchaloup@redhat.com> - 2.0.9-1
|
||||
- Update to v2.0.9
|
||||
resolves: #1209666
|
||||
|
||||
* Fri Apr 03 2015 jchaloup <jchaloup@redhat.com> - 2.0.8-0.2
|
||||
- Update spec file to fit for rhel too (thanks to eparis)
|
||||
related: #1207881
|
||||
|
||||
* Wed Apr 01 2015 jchaloup <jchaloup@redhat.com> - 2.0.8-0.1
|
||||
- Update to v2.0.8
|
||||
resolves: #1207881
|
||||
|
||||
* Tue Mar 31 2015 jchaloup <jchaloup@redhat.com> - 2.0.7-0.1
|
||||
- Update to v2.0.7
|
||||
Add Godeps.json to doc
|
||||
related: #1191441
|
||||
|
||||
* Thu Mar 12 2015 jchaloup <jchaloup@redhat.com> - 2.0.5-0.1
|
||||
- Bump to 9481945228b97c5d019596b921d8b03833964d9e (v2.0.5)
|
||||
|
||||
* Tue Mar 10 2015 Eric Paris <eparis@redhat.com> - 2.0.3-0.2
|
||||
- Fix .service files to work if no config file
|
||||
|
||||
* Fri Feb 20 2015 jchaloup <jchaloup@redhat.com> - 2.0.3-0.1
|
||||
- Bump to upstream 4d728cc8c488a545a8bdeafd054d9ccc2bfb6876
|
||||
|
||||
* Wed Feb 18 2015 jchaloup <jchaloup@redhat.com> - 2.0.1-0.2
|
||||
- Update configuration and service file
|
||||
Fix depricated ErrWrongType after update of gogo/protobuf
|
||||
related: #1191441
|
||||
|
||||
* Wed Feb 11 2015 jchaloup <jchaloup@redhat.com> - 2.0.1-0.1
|
||||
- Update to 2.0.1
|
||||
resolves: #1191441
|
||||
|
||||
* Mon Feb 09 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.5
|
||||
- Add missing debug info to binaries (patch from Jan Kratochvil)
|
||||
resolves: #1184257
|
||||
|
||||
* Fri Jan 30 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.4
|
||||
- Update to etcd-2.0.0
|
||||
- use gopath as the last directory to search for source code
|
||||
related: #1176138
|
||||
|
||||
* Mon Jan 26 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.3.rc1
|
||||
- default to /var/lib/etcd/default.etcd as 2.0 uses that default (f21 commit byt eparis)
|
||||
related: #1176138
|
||||
fix /etc/etcd/etcd.conf path
|
||||
|
||||
* Tue Jan 20 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.2.rc1
|
||||
- Update of BuildRequires/Requires, Provides and test
|
||||
Add BuildRequire on jonboulle/clockwork
|
||||
related: #1176138
|
||||
|
||||
* Tue Dec 23 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-0.1.rc1
|
||||
- Resolves: rhbz#1176138 - update to v2.0.0-rc1
|
||||
- do not redefine gopath
|
||||
- use jonboulle/clockwork from within Godeps
|
||||
|
||||
* Fri Oct 17 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-7
|
||||
- Add ExclusiveArch for go_arches
|
||||
|
||||
* Mon Oct 06 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-6
|
||||
- related: #1047194
|
||||
Remove dependency on go.net
|
||||
|
||||
* Mon Oct 06 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-5
|
||||
- Fix the .service file so it can launch!
|
||||
related: #1047194
|
||||
|
||||
* Mon Sep 22 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-4
|
||||
- resolves: #1047194
|
||||
Update to 0.4.6 from https://github.com/projectatomic/etcd-package
|
||||
|
||||
* Tue Aug 19 2014 Adam Miller <maxamillion@fedoraproject.org> - 0.4.6-3
|
||||
- Add devel sub-package
|
||||
|
||||
* Wed Aug 13 2014 Eric Paris <eparis@redhat.com> - 0.4.6-2
|
||||
- Bump to 0.4.6
|
||||
- run as etcd, not root
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Oct 20 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-5
|
||||
- goprotobuf library unbundled (see rhbz #1018477)
|
||||
- go-log library unbundled (see rhbz #1018478)
|
||||
- go-raft library unbundled (see rhbz #1018479)
|
||||
- go-systemd library unbundled (see rhbz #1018480)
|
||||
- kardianos library unbundled (see rhbz #1018481)
|
||||
|
||||
* Sun Oct 13 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-4
|
||||
- go.net library unbundled (see rhbz #1018476)
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-3
|
||||
- Prepare for packages unbundling
|
||||
- Verbose build
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-2
|
||||
- Fix typo in the etc.service file
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-1
|
||||
- Ver. 0.1.2
|
||||
- Integrate with systemd
|
||||
|
||||
* Mon Aug 26 2013 Luke Cypret <cypret@fedoraproject.org> - 0.1.1-1
|
||||
- Initial creation
|
||||
649
etcd.spec
649
etcd.spec
|
|
@ -1,590 +1,153 @@
|
|||
# https://github.com/coreos/etcd
|
||||
# Generated by go2rpm 1.8.2
|
||||
%bcond_without check
|
||||
%bcond_with bootstrap
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/etcd-io/etcd
|
||||
%global goipath go.etcd.io/etcd
|
||||
%global forgeurl https://github.com/coreos/etcd
|
||||
%global oldgoipath github.com/coreos/etcd
|
||||
%global oldgoname %gorpmname %{oldgoipath}
|
||||
%global commit f29b1ada19713544b698dab8c94c97cfa1e83dac
|
||||
%global forgeurl https://github.com/etcd-io/etcd
|
||||
Version: 3.5.13
|
||||
|
||||
%gometa
|
||||
|
||||
%global man_version 3.3.12
|
||||
%global common_description %{expand:
|
||||
Distributed reliable key-value store for the most critical data of a distributed
|
||||
system.}
|
||||
|
||||
%global golicenses LICENSE NOTICE
|
||||
%global godocs CONTRIBUTING.md README.md Documentation\\\
|
||||
README-*.md READMEv2-etcdctl.md
|
||||
|
||||
%global gosupfiles client/v2/example_keys_test.go\\\
|
||||
client/v3/clientv3util/example_key_test.go\\\
|
||||
client/v3/concurrency/example_election_test.go\\\
|
||||
client/v3/concurrency/example_mutex_test.go\\\
|
||||
client/v3/concurrency/example_stm_test.go\\\
|
||||
client/v3/example_auth_test.go\\\
|
||||
client/v3/example_cluster_test.go\\\
|
||||
client/v3/example_kv_test.go\\\
|
||||
client/v3/example_lease_test.go\\\
|
||||
client/v3/example_maintenance_test.go\\\
|
||||
client/v3/example_metrics_test.go\\\
|
||||
client/v3/example_test.go\\\
|
||||
client/v3/example_watch_test.go
|
||||
|
||||
Name: etcd
|
||||
Version: 3.3.12
|
||||
Release: 5%{?dist}
|
||||
Summary: A highly-available key value store for shared configuration
|
||||
License: ASL 2.0
|
||||
Release: %autorelease
|
||||
Summary: Distributed reliable key-value store for the most critical data of a distributed system
|
||||
|
||||
License: Apache-2.0
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
Source1: %{name}.service
|
||||
Source2: %{name}.conf
|
||||
Source3: man-%{man_version}.tar.gz
|
||||
# sh genmanpages.sh path_to_built_source
|
||||
Source10: genmanpages.sh
|
||||
# Not patches to apply here, but used on the source to generate man pages
|
||||
Source11: 0001-hack-etcdmain-to-generate-etcd.1.patch
|
||||
Source12: 0001-hack-to-generate-man-pages.patch
|
||||
|
||||
BuildRequires: golang(github.com/bgentry/speakeasy)
|
||||
BuildRequires: golang(github.com/coreos/go-semver/semver)
|
||||
BuildRequires: golang(github.com/coreos/go-systemd/daemon)
|
||||
BuildRequires: golang(github.com/coreos/go-systemd/journal)
|
||||
BuildRequires: golang(github.com/coreos/pkg/capnslog)
|
||||
BuildRequires: golang(github.com/dgrijalva/jwt-go)
|
||||
BuildRequires: golang(github.com/dustin/go-humanize)
|
||||
BuildRequires: golang(github.com/ghodss/yaml)
|
||||
BuildRequires: golang(github.com/gogo/protobuf/gogoproto)
|
||||
BuildRequires: golang(github.com/gogo/protobuf/proto)
|
||||
BuildRequires: golang(github.com/golang/groupcache/lru)
|
||||
BuildRequires: golang(github.com/golang/protobuf/proto)
|
||||
BuildRequires: golang(github.com/google/btree)
|
||||
BuildRequires: golang(github.com/google/uuid)
|
||||
BuildRequires: golang(github.com/grpc-ecosystem/go-grpc-middleware)
|
||||
BuildRequires: golang(github.com/grpc-ecosystem/go-grpc-prometheus)
|
||||
BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime)
|
||||
BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities)
|
||||
BuildRequires: golang(github.com/jonboulle/clockwork)
|
||||
BuildRequires: golang(github.com/kr/pty)
|
||||
BuildRequires: golang(github.com/olekukonko/tablewriter)
|
||||
BuildRequires: golang(github.com/prometheus/client_golang/prometheus)
|
||||
BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp)
|
||||
BuildRequires: golang(github.com/prometheus/client_model/go)
|
||||
BuildRequires: golang(github.com/soheilhy/cmux)
|
||||
BuildRequires: golang(github.com/spf13/cobra)
|
||||
BuildRequires: golang(github.com/spf13/pflag)
|
||||
BuildRequires: golang(github.com/tmc/grpc-websocket-proxy/wsproxy)
|
||||
BuildRequires: golang(github.com/ugorji/go/codec)
|
||||
BuildRequires: golang(github.com/urfave/cli)
|
||||
BuildRequires: golang(github.com/xiang90/probing)
|
||||
BuildRequires: golang(go.uber.org/zap)
|
||||
BuildRequires: golang(go.uber.org/zap/zapcore)
|
||||
BuildRequires: golang(golang.org/x/crypto/bcrypt)
|
||||
BuildRequires: golang(golang.org/x/net/context)
|
||||
BuildRequires: golang(golang.org/x/net/http2)
|
||||
BuildRequires: golang(golang.org/x/net/trace)
|
||||
BuildRequires: golang(golang.org/x/time/rate)
|
||||
BuildRequires: golang(google.golang.org/grpc)
|
||||
BuildRequires: golang(google.golang.org/grpc/balancer)
|
||||
BuildRequires: golang(google.golang.org/grpc/codes)
|
||||
BuildRequires: golang(google.golang.org/grpc/connectivity)
|
||||
BuildRequires: golang(google.golang.org/grpc/credentials)
|
||||
BuildRequires: golang(google.golang.org/grpc/grpclog)
|
||||
BuildRequires: golang(google.golang.org/grpc/health)
|
||||
BuildRequires: golang(google.golang.org/grpc/health/grpc_health_v1)
|
||||
BuildRequires: golang(google.golang.org/grpc/keepalive)
|
||||
BuildRequires: golang(google.golang.org/grpc/metadata)
|
||||
BuildRequires: golang(google.golang.org/grpc/naming)
|
||||
BuildRequires: golang(google.golang.org/grpc/peer)
|
||||
BuildRequires: golang(google.golang.org/grpc/resolver)
|
||||
BuildRequires: golang(google.golang.org/grpc/resolver/dns)
|
||||
BuildRequires: golang(google.golang.org/grpc/resolver/passthrough)
|
||||
BuildRequires: golang(google.golang.org/grpc/status)
|
||||
BuildRequires: golang(gopkg.in/cheggaaa/pb.v1)
|
||||
BuildRequires: golang(gopkg.in/yaml.v2)
|
||||
BuildRequires: golang(go.etcd.io/bbolt)
|
||||
%{?systemd_requires}
|
||||
BuildRequires: systemd
|
||||
Requires(pre): shadow-utils
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
%description
|
||||
A highly-available key value store for shared configuration.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: etcd golang devel libraries
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
Golang development libraries for etcd, a highly-available key value store for
|
||||
shared configuration.
|
||||
|
||||
This package contains compatibility glue for code that still imports the
|
||||
%{goipath} Go namespace.
|
||||
|
||||
|
||||
%package -n compat-%{oldgoname}-devel
|
||||
Summary: etcd golang devel libraries
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n compat-%{oldgoname}-devel
|
||||
Golang development libraries for etcd, a highly-available key value store for
|
||||
shared configuration.
|
||||
|
||||
This package contains compatibility glue for code that still imports the
|
||||
%{oldgoipath} Go namespace.
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%setup -q -n man-%{man_version} -T -b 3
|
||||
%forgesetup
|
||||
%goprep -k
|
||||
rm -rf vendor/
|
||||
rm -rf cmd/vendor
|
||||
rm -rf raft/rafttest
|
||||
|
||||
rm -rf vendor
|
||||
for d in contrib etcdctl etcdutl pkg raft hack security; do
|
||||
mv $d/README.md README-$d.md
|
||||
done
|
||||
mv etcdctl/READMEv2.md READMEv2-etcdctl.md
|
||||
mv client/v2/README.md README-clientv2.md
|
||||
mv client/v3/README.md README-clientv3.md
|
||||
|
||||
mkdir -p man/man1
|
||||
cp ../man-%{man_version}/*.1 man/man1/.
|
||||
mkdir -p api/v3/ client/pkg/v3 etcdctl/v3 etcdutl/v3 pkg/v3 raft/v3 server/v3 tools/v3
|
||||
shopt -s extglob
|
||||
mv api/!(v3) api/v3/.
|
||||
mv client/pkg/!(v3) client/pkg/v3/.
|
||||
mv etcdctl/!(v3) etcdctl/v3/.
|
||||
mv etcdutl/!(v3) etcdutl/v3/.
|
||||
mv pkg/!(v3) pkg/v3/.
|
||||
mv raft/!(v3) raft/v3/.
|
||||
mv server/!(v3) server/v3/.
|
||||
mv tools/!(v3) tools/v3/.
|
||||
shopt -u extglob
|
||||
|
||||
|
||||
%if %{without bootstrap}
|
||||
%generate_buildrequires
|
||||
%go_generate_buildrequires
|
||||
|
||||
# Create a sysusers.d config file
|
||||
cat >etcd.sysusers.conf <<EOF
|
||||
u etcd - 'etcd user' %{_sharedstatedir}/%{name} -
|
||||
EOF
|
||||
|
||||
%build
|
||||
%gobuildroot
|
||||
|
||||
%gobuild -o _bin/etcd %{goipath}
|
||||
%gobuild -o _bin/etcdctl %{goipath}/etcdctl
|
||||
|
||||
%gobuild -o %{gobuilddir}/bin/etcd %{goipath}/server/v3
|
||||
%gobuild -o %{gobuilddir}/bin/etcdctl %{goipath}/etcdctl/v3
|
||||
%gobuild -o %{gobuilddir}/bin/etcdutl %{goipath}/etcdutl/v3
|
||||
%endif
|
||||
|
||||
%install
|
||||
install -D -p -m 0755 _bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -D -p -m 0755 _bin/%{name}ctl %{buildroot}%{_bindir}/%{name}ctl
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
|
||||
install -m 644 -t %{buildroot}%{_sysconfdir}/%{name} %{SOURCE2}
|
||||
%gopkginstall
|
||||
|
||||
# install manpages
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install -p -m 644 man/man1/* %{buildroot}%{_mandir}/man1
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -dm 0755 %{buildroot}%{_sysconfdir}/%{name}
|
||||
install -pm 644 -t %{buildroot}%{_sysconfdir}/%{name} %{SOURCE2}
|
||||
|
||||
# And create /var/lib/etcd
|
||||
install -d -m 0755 %{buildroot}%{_sharedstatedir}/%{name}
|
||||
|
||||
# source codes for building projects
|
||||
%goinstall integration/fixtures etcdserver/api/v2http/testdata
|
||||
|
||||
install -m 0755 -vd %{buildroot}%{gopath}/src/%(dirname %{oldgoipath})
|
||||
ln -s %{gopath}/src/%{goipath} %{buildroot}%{gopath}/src/%{oldgoipath}
|
||||
install -dm 0755 %{buildroot}%{_sharedstatedir}/%{name}
|
||||
|
||||
install -m0644 -D etcd.sysusers.conf %{buildroot}%{_sysusersdir}/etcd.conf
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
# tools/functional-tester/etcd-agent expects etcd binary at GOPATH/bin/etcd
|
||||
%gochecks -d clientv3 -d e2e -d tools/functional-tester/etcd-agent -d integration -d clientv3/integration
|
||||
|
||||
|
||||
%pre
|
||||
getent group %{name} >/dev/null || groupadd -r %{name}
|
||||
getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/%{name} \
|
||||
-s /sbin/nologin -c "etcd user" %{name}
|
||||
%gocheck -d client/v2 \
|
||||
-d client/v3 \
|
||||
-d raft/v3 \
|
||||
-d server/v3/auth \
|
||||
-d server/v3/wal/walpb \
|
||||
-d tests/e2ev \
|
||||
-d tests/integration \
|
||||
-d tests/e2e \
|
||||
-d tests/integration/client \
|
||||
-t tests/integration/clientv3 \
|
||||
-d server/v3/etcdserver/api/membership \
|
||||
-d server/v3/mvcc/backend \
|
||||
-d pkg/v3/proxy
|
||||
%endif
|
||||
|
||||
|
||||
%post
|
||||
%systemd_post %{name}.service
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_preun %{name}.service
|
||||
|
||||
|
||||
%postun
|
||||
%systemd_postun %{name}.service
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc *.md
|
||||
%doc CONTRIBUTING.md README.md
|
||||
%doc Documentation README-*.md READMEv2-etcdctl.md
|
||||
%{_bindir}/*
|
||||
%config(noreplace) %{_sysconfdir}/%{name}
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}ctl
|
||||
%dir %attr(-,%{name},%{name}) %{_sharedstatedir}/%{name}
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
|
||||
%files devel -f devel.file-list
|
||||
%license LICENSE
|
||||
%doc *.md
|
||||
|
||||
|
||||
%files -n compat-%{oldgoname}-devel
|
||||
%dir %{gopath}/src/%(dirname %{oldgoipath})
|
||||
%{gopath}/src/%{oldgoipath}
|
||||
%endif
|
||||
|
||||
%gopkgfiles
|
||||
%{_sysusersdir}/etcd.conf
|
||||
|
||||
%changelog
|
||||
* Mon Feb 17 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.3.12-5
|
||||
- Rebuilt for GHSA-jf24-p9p9-4rjh
|
||||
|
||||
* Tue Apr 16 15:51:11 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-4.20190413gitf29b1ad
|
||||
- etcd.service: do not pass command line flags already defined in environment
|
||||
|
||||
* Mon Apr 15 15:11:24 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-3.20190413gitf29b1ad
|
||||
- Fix building of etcd
|
||||
|
||||
* Sat Apr 13 22:31:30 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-2.20190413gitf29b1ad
|
||||
- Bump to commit f29b1ada19713544b698dab8c94c97cfa1e83dac
|
||||
|
||||
* Thu Mar 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.3.12-1.20190314gite1ca3b4
|
||||
- Bump to commit e1ca3b4434945e57e8e3a451cdbde74a903cc8e1
|
||||
- Add new goipath
|
||||
- Updated patches
|
||||
- Updated man pages
|
||||
|
||||
* Sun Feb 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.16-6
|
||||
- Fix broken version specification
|
||||
- Backport variadic parameter fix
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 3.2.16-4
|
||||
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
||||
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.16-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Mar 20 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.16-2
|
||||
- Put back the missing prep, post, preun and postun scripts
|
||||
resolves: #1557356
|
||||
|
||||
* Fri Mar 09 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.16-1.git121edf0
|
||||
- Update to 3.2.16
|
||||
|
||||
* Tue Mar 06 2018 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-5.gitbb66589
|
||||
- Update to spec 3.0
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Nov 30 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-3
|
||||
- Polish the spec file
|
||||
|
||||
* Tue Nov 07 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-2
|
||||
- Generate man pages
|
||||
|
||||
* Sun Sep 24 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.7-1
|
||||
- Update to 3.2.7
|
||||
related: #1448611
|
||||
|
||||
* Tue Aug 15 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.2.5-1
|
||||
- Update to 3.2.5
|
||||
resolves: #1448611
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sun Jun 11 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.9-1
|
||||
- Update to 3.1.9
|
||||
resolves: #1460496
|
||||
|
||||
* Mon Jun 05 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.8-1
|
||||
Update to 3.1.8
|
||||
resolves: #1458717
|
||||
|
||||
* Tue May 02 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.7-1
|
||||
- Update to 3.1.7
|
||||
resolves: #1447232
|
||||
|
||||
* Thu Apr 20 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.6-1
|
||||
- Update to 3.1.6
|
||||
resolves: #1444068
|
||||
|
||||
* Tue Mar 28 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.5-1
|
||||
- Update to 3.1.5
|
||||
resolves: #1436452
|
||||
|
||||
* Mon Mar 27 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.4-1
|
||||
- Update to 3.1.4
|
||||
resolves: #1435028
|
||||
|
||||
* Mon Mar 20 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.3-1
|
||||
- Update to v3.1.3
|
||||
related: #1415341
|
||||
|
||||
* Tue Mar 14 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.1.0-1
|
||||
- Update to v3.1.0
|
||||
related: #1415341
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Jan 23 2017 Jan Chaloupka <jchaloup@redhat.com> - 3.0.17-1
|
||||
- Update to v3.0.17
|
||||
etcd-top removed by upstream
|
||||
resolves: #1415622
|
||||
|
||||
* Fri Nov 18 2016 jchaloup <jchaloup@redhat.com> - 3.0.15-2
|
||||
- Remove ppc64le architecture restriction
|
||||
resolves: #1396463
|
||||
|
||||
* Tue Nov 15 2016 jchaloup <jchaloup@redhat.com> - 3.0.15-1
|
||||
- Update to v3.0.15
|
||||
related: #1382965
|
||||
|
||||
* Mon Nov 07 2016 jchaloup <jchaloup@redhat.com> - 3.0.14-1
|
||||
- Update to v3.0.14
|
||||
related: #1382965
|
||||
|
||||
* Thu Oct 27 2016 jchaloup <jchaloup@redhat.com> - 3.0.13-1
|
||||
- Update to v3.0.13
|
||||
related: #1382965
|
||||
|
||||
* Mon Oct 24 2016 jchaloup <jchaloup@redhat.com> - 3.0.12-2
|
||||
- Extend supported architectures with s390x
|
||||
|
||||
* Thu Oct 13 2016 jchaloup <jchaloup@redhat.com> - 3.0.12-1
|
||||
- Update to v3.0.12
|
||||
related: #1382965
|
||||
|
||||
* Fri Sep 16 2016 jchaloup <jchaloup@redhat.com> - 3.0.9-1
|
||||
- Update to v3.0.9
|
||||
related: #1374880
|
||||
|
||||
* Wed Sep 14 2016 jchaloup <jchaloup@redhat.com> - 3.0.8-1
|
||||
- Update to v3.0.8
|
||||
resolves: #1374880
|
||||
|
||||
* Fri Sep 09 2016 jchaloup <jchaloup@redhat.com> - 3.0.7-1
|
||||
- Update to v3.0.7
|
||||
resolves: #1370678
|
||||
|
||||
* Tue Aug 16 2016 jchaloup <jchaloup@redhat.com> - 3.0.4-2
|
||||
- Hack test to provide ability to run unit-tests and integration tests
|
||||
Still, keeping it disabled by default as it keeps failing
|
||||
related: #1351818
|
||||
|
||||
* Tue Aug 02 2016 jchaloup <jchaloup@redhat.com> - 3.0.4-1
|
||||
- Update to 3.0.4
|
||||
related: #1351818
|
||||
|
||||
* Thu Jul 28 2016 jchaloup <jchaloup@redhat.com> - 3.0.2-1
|
||||
- Update to 3.0.2
|
||||
resolves: #1351818
|
||||
|
||||
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-0.2.beta0
|
||||
- https://fedoraproject.org/wiki/Changes/golang1.7
|
||||
|
||||
* Sun May 15 2016 jchaloup <jchaloup@redhat.com> - 3.0.0-0.1.beta0
|
||||
- Update to v3.0.0-beta0 (build from bundled until new deps appear in dist-git)
|
||||
resolves: #1333988
|
||||
|
||||
* Sat Apr 30 2016 jchaloup <jchaloup@redhat.com> - 2.3.3-1
|
||||
- Update to v2.3.3
|
||||
resolves: #1331896
|
||||
|
||||
* Fri Apr 22 2016 jchaloup <jchaloup@redhat.com> - 2.3.2-1
|
||||
- Update to v2.3.2
|
||||
resolves: #1329438
|
||||
|
||||
* Sat Apr 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.1-3
|
||||
- Enable aarch64
|
||||
|
||||
* Wed Apr 06 2016 jchaloup <jchaloup@redhat.com> - 2.3.1-2
|
||||
- Don't apply patch (for tests only which are disabled atm)
|
||||
|
||||
* Mon Apr 04 2016 jchaloup <jchaloup@redhat.com> - 2.3.1-1
|
||||
- Update to v.2.3.1
|
||||
resolves: #1323375
|
||||
|
||||
* Sun Mar 20 2016 jchaloup <jchaloup@redhat.com> - 2.3.0-1
|
||||
- Update to v2.3.0
|
||||
resolves: #1314441
|
||||
|
||||
* Wed Mar 09 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-4
|
||||
- Only ppc64le is supported, ppc64 not
|
||||
related: #1315419
|
||||
|
||||
* Tue Mar 08 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-3
|
||||
- Extend archs to all supported
|
||||
resolves: #1315419
|
||||
|
||||
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
|
||||
- https://fedoraproject.org/wiki/Changes/golang1.6
|
||||
|
||||
* Thu Feb 18 2016 jchaloup <jchaloup@redhat.com> - 2.2.5-1
|
||||
- Update to v2.2.5
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jan 21 2016 jchaloup <jchaloup@redhat.com> - 2.2.4-1
|
||||
- Update to v2.2.4
|
||||
resolves: #1300558
|
||||
|
||||
* Fri Jan 08 2016 jchaloup <jchaloup@redhat.com> - 2.2.3-1
|
||||
- Update to v2.2.3
|
||||
resolves: #1296809
|
||||
|
||||
* Tue Dec 29 2015 jchaloup <jchaloup@redhat.com> - 2.2.2-2
|
||||
- add missing options to etcd help (thanks to Joy Pu ypu@redhat.com)
|
||||
- add more information when running etcd as a service
|
||||
|
||||
* Mon Dec 07 2015 jchaloup <jchaloup@redhat.com> - 2.2.2-1
|
||||
- Update to v2.2.2
|
||||
|
||||
* Mon Nov 16 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-4
|
||||
- Update etcd.conf: add new options, fix current
|
||||
|
||||
* Fri Oct 30 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-3
|
||||
- Add After=network-online.target and Wants=network-online.target
|
||||
to etcd.service
|
||||
|
||||
* Tue Oct 20 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-2
|
||||
- Set Type=notify instead of simple in etcd.service (upstream #1576)
|
||||
related: #1272438
|
||||
|
||||
* Fri Oct 16 2015 jchaloup <jchaloup@redhat.com> - 2.2.1-1
|
||||
- Update to v2.2.1
|
||||
resolves: #1272438
|
||||
|
||||
* Fri Sep 11 2015 jchaloup <jchaloup@redhat.com> - 2.2.0-1
|
||||
- Update to v2.2.0 (etcd-migrate gone)
|
||||
- Update to spec-2.1
|
||||
resolves: #1253864
|
||||
|
||||
* Mon Aug 31 2015 jchaloup <jchaloup@redhat.com> - 2.1.2-1
|
||||
- Update to v2.1.2
|
||||
resolves: #1258599
|
||||
|
||||
* Thu Jul 30 2015 jchaloup <jchaloup@redhat.com> - 2.1.1-2
|
||||
- Enable debug info again
|
||||
related: #1214958
|
||||
|
||||
* Mon Jul 20 2015 jchaloup <jchaloup@redhat.com> - 2.1.1-1
|
||||
- fix definition of GOPATH for go1.5
|
||||
- fix definition of gobuild function for non-debug way
|
||||
- Update to v2.1.1
|
||||
resolves: #1214958
|
||||
|
||||
* Fri Jul 10 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-3
|
||||
- set GOMAXPROCS to use all processors available
|
||||
|
||||
* Mon Jun 29 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-2
|
||||
- Remove -s option from -ldflags string as it removes symbol table
|
||||
'go tool l6' gives explanation of all available options
|
||||
resolves: #1236320
|
||||
|
||||
* Fri Jun 26 2015 jchaloup <jchaloup@redhat.com> - 2.0.13-1
|
||||
- Update to v2.0.13
|
||||
|
||||
* Thu Jun 25 2015 jchaloup <jchaloup@redhat.com> - 2.0.12-2
|
||||
- Add restart policy and set LimitNOFILE to/in etcd.service file
|
||||
- Update etcd.config file: add new flags and remove depricated
|
||||
- Update 'go build' flags for GIT_SHA (used in build script)
|
||||
- Don't use 4001 and 7001 ports in etcd.conf, they are replaced with 2379 and 2380
|
||||
|
||||
* Wed Jun 24 2015 jchaloup <jchaloup@redhat.com> - 2.0.12-1
|
||||
- Update to v2.0.12
|
||||
- Polish spec file
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri May 22 2015 jchaloup <jchaloup@redhat.com> - 2.0.11-2
|
||||
- ETCD_ADVERTISE_CLIENT_URLS has to be set if ETCD_LISTEN_CLIENT_URLS is
|
||||
related: #1222416
|
||||
|
||||
* Mon May 18 2015 jchaloup <jchaloup@redhat.com> - 2.0.11-1
|
||||
- Update to v2.0.11
|
||||
resolves: #1222416
|
||||
|
||||
* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 2.0.10-1
|
||||
- Update to v2.0.10
|
||||
resolves: #1214705
|
||||
|
||||
* Wed Apr 08 2015 jchaloup <jchaloup@redhat.com> - 2.0.9-1
|
||||
- Update to v2.0.9
|
||||
resolves: #1209666
|
||||
|
||||
* Fri Apr 03 2015 jchaloup <jchaloup@redhat.com> - 2.0.8-0.2
|
||||
- Update spec file to fit for rhel too (thanks to eparis)
|
||||
related: #1207881
|
||||
|
||||
* Wed Apr 01 2015 jchaloup <jchaloup@redhat.com> - 2.0.8-0.1
|
||||
- Update to v2.0.8
|
||||
resolves: #1207881
|
||||
|
||||
* Tue Mar 31 2015 jchaloup <jchaloup@redhat.com> - 2.0.7-0.1
|
||||
- Update to v2.0.7
|
||||
Add Godeps.json to doc
|
||||
related: #1191441
|
||||
|
||||
* Thu Mar 12 2015 jchaloup <jchaloup@redhat.com> - 2.0.5-0.1
|
||||
- Bump to 9481945228b97c5d019596b921d8b03833964d9e (v2.0.5)
|
||||
|
||||
* Tue Mar 10 2015 Eric Paris <eparis@redhat.com> - 2.0.3-0.2
|
||||
- Fix .service files to work if no config file
|
||||
|
||||
* Fri Feb 20 2015 jchaloup <jchaloup@redhat.com> - 2.0.3-0.1
|
||||
- Bump to upstream 4d728cc8c488a545a8bdeafd054d9ccc2bfb6876
|
||||
|
||||
* Wed Feb 18 2015 jchaloup <jchaloup@redhat.com> - 2.0.1-0.2
|
||||
- Update configuration and service file
|
||||
Fix depricated ErrWrongType after update of gogo/protobuf
|
||||
related: #1191441
|
||||
|
||||
* Wed Feb 11 2015 jchaloup <jchaloup@redhat.com> - 2.0.1-0.1
|
||||
- Update to 2.0.1
|
||||
resolves: #1191441
|
||||
|
||||
* Mon Feb 09 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.5
|
||||
- Add missing debug info to binaries (patch from Jan Kratochvil)
|
||||
resolves: #1184257
|
||||
|
||||
* Fri Jan 30 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.4
|
||||
- Update to etcd-2.0.0
|
||||
- use gopath as the last directory to search for source code
|
||||
related: #1176138
|
||||
|
||||
* Mon Jan 26 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.3.rc1
|
||||
- default to /var/lib/etcd/default.etcd as 2.0 uses that default (f21 commit byt eparis)
|
||||
related: #1176138
|
||||
fix /etc/etcd/etcd.conf path
|
||||
|
||||
* Tue Jan 20 2015 jchaloup <jchaloup@redhat.com> - 2.0.0-0.2.rc1
|
||||
- Update of BuildRequires/Requires, Provides and test
|
||||
Add BuildRequire on jonboulle/clockwork
|
||||
related: #1176138
|
||||
|
||||
* Tue Dec 23 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2.0.0-0.1.rc1
|
||||
- Resolves: rhbz#1176138 - update to v2.0.0-rc1
|
||||
- do not redefine gopath
|
||||
- use jonboulle/clockwork from within Godeps
|
||||
|
||||
* Fri Oct 17 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-7
|
||||
- Add ExclusiveArch for go_arches
|
||||
|
||||
* Mon Oct 06 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-6
|
||||
- related: #1047194
|
||||
Remove dependency on go.net
|
||||
|
||||
* Mon Oct 06 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-5
|
||||
- Fix the .service file so it can launch!
|
||||
related: #1047194
|
||||
|
||||
* Mon Sep 22 2014 jchaloup <jchaloup@redhat.com> - 0.4.6-4
|
||||
- resolves: #1047194
|
||||
Update to 0.4.6 from https://github.com/projectatomic/etcd-package
|
||||
|
||||
* Tue Aug 19 2014 Adam Miller <maxamillion@fedoraproject.org> - 0.4.6-3
|
||||
- Add devel sub-package
|
||||
|
||||
* Wed Aug 13 2014 Eric Paris <eparis@redhat.com> - 0.4.6-2
|
||||
- Bump to 0.4.6
|
||||
- run as etcd, not root
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Oct 20 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-5
|
||||
- goprotobuf library unbundled (see rhbz #1018477)
|
||||
- go-log library unbundled (see rhbz #1018478)
|
||||
- go-raft library unbundled (see rhbz #1018479)
|
||||
- go-systemd library unbundled (see rhbz #1018480)
|
||||
- kardianos library unbundled (see rhbz #1018481)
|
||||
|
||||
* Sun Oct 13 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-4
|
||||
- go.net library unbundled (see rhbz #1018476)
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-3
|
||||
- Prepare for packages unbundling
|
||||
- Verbose build
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-2
|
||||
- Fix typo in the etc.service file
|
||||
|
||||
* Sat Oct 12 2013 Peter Lemenkov <lemenkov@gmail.com> - 0.1.2-1
|
||||
- Ver. 0.1.2
|
||||
- Integrate with systemd
|
||||
|
||||
* Mon Aug 26 2013 Luke Cypret <cypret@fedoraproject.org> - 0.1.1-1
|
||||
- Initial creation
|
||||
%autochangelog
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm -rf man
|
||||
mkdir -p man/etcdctl2 man/etcdctl3
|
||||
pushd man/etcdctl3
|
||||
ETCDCTL_API=3 ../../$1/bin/etcdctl --help
|
||||
|
||||
# rename to etcdctl3...
|
||||
for line in $(ls *.1); do mv $line $(echo $line | sed "s/etcdctl/etcdctl3/"); done
|
||||
|
||||
# rename refs
|
||||
sed -i "s/\\\fBetcdctl\\\-/\\\fBetcdctl3\\\-/g" *.1
|
||||
|
||||
# stress ETCDCTL_API use
|
||||
sed -i s"/^\\\fBetcdctl /\\\fBETCDCTL=3 etcdctl /" etcdctl3*.1
|
||||
|
||||
cd ../etcdctl2
|
||||
../../$1/bin/etcdctl --help > etcdctl.1
|
||||
|
||||
for cmd in $(cat etcdctl.1 | grep "\fBetcdctl\\\-" | cut -d'-' -f2-3 | cut -d'(' -f1); do ../../$1/bin/etcdctl $cmd --help > etcdctl-$cmd.1; done
|
||||
|
||||
# rename to etcdctl2
|
||||
for line in $(ls *.1); do mv $line $(echo $line | sed "s/etcdctl/etcdctl2/"); done
|
||||
|
||||
# rename refs
|
||||
sed -i "s/\\\fBetcdctl-/\\\fBetcdctl2-/g" *.1
|
||||
|
||||
cd ..
|
||||
mv etcdctl2/* .
|
||||
mv etcdctl3/* .
|
||||
rm -rf etcdctl2 etcdctl3
|
||||
cp ../etcdctl.1 .
|
||||
|
||||
# Gen etcd.1
|
||||
../$1/bin/etcd --help > etcd.1
|
||||
3
sources
3
sources
|
|
@ -1,2 +1 @@
|
|||
SHA512 (etcd-f29b1ada19713544b698dab8c94c97cfa1e83dac.tar.gz) = a01b197be1022472916945d7b5e99afa86a4f03f9711ce44bc286e31bbc24d7cf326113cd62f0352806bd8fe862ee76d69833d054f0768f03513d51c21e0ce6c
|
||||
SHA512 (man-3.3.12.tar.gz) = 981374ac7c071b9541994c4ee921b90281f2f09a1c51fe03fe4d319fc1c3647419cdf688e2ac161098d772cb0264e712dad1ed9a3c12b2454dc21f79e6a5eb8c
|
||||
SHA512 (etcd-3.5.13.tar.gz) = dc85d80079b61e96eb06eb573d41d8972060392e49140a2414c283ea9edfef7b01d5554e50c7ab37c6ad079b373ae12a1b84dbcc533addc1d4d30a2a5abf7b7b
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
# Tests for classic environment
|
||||
- include: e2e_test_from_src_include.yml
|
||||
- import_playbook: e2e_test_from_src_include.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue