Skip to content

Commit d0deba7

Browse files
Merge branch 'feature/leader-election'
2 parents 07bbecd + d59535f commit d0deba7

10 files changed

+92
-233
lines changed

cmd/root.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ package cmd
33
import (
44
"fmt"
55

6-
cheek "github.com/datarootsio/cheek/pkg"
6+
cheek "cheek-turner/pkg"
7+
78
"github.com/spf13/cobra"
89

910
"github.com/spf13/viper"

cmd/root_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import (
44
"os"
55
"testing"
66

7-
cheek "github.com/datarootsio/cheek/pkg"
7+
cheek "cheek-turner/pkg"
8+
89
"github.com/spf13/viper"
910
)
1011

cmd/run.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import (
44
"fmt"
55
"os"
66

7-
cheek "github.com/datarootsio/cheek/pkg"
7+
cheek "cheek-turner/pkg"
8+
89
zl "github.com/rs/zerolog"
910
"github.com/spf13/cobra"
1011
"github.com/spf13/viper"

cmd/trigger.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package cmd
22

33
import (
4-
cheek "github.com/datarootsio/cheek/pkg"
4+
cheek "cheek-turner/pkg"
5+
56
"github.com/spf13/cobra"
67
"github.com/spf13/viper"
78
)

cmd/version.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ package cmd
33
import (
44
"fmt"
55

6-
cheek "github.com/datarootsio/cheek/pkg"
6+
cheek "cheek-turner/pkg"
7+
78
"github.com/spf13/cobra"
89
)
910

coverage.out

-196
This file was deleted.

go.mod

+30-23
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,49 @@
1-
module github.com/datarootsio/cheek
1+
module cheek-turner
22

3-
go 1.17
4-
5-
require github.com/stretchr/testify v1.8.4
6-
7-
require (
8-
github.com/mattn/go-colorable v0.1.13 // indirect
9-
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
10-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
11-
github.com/sagikazarmark/locafero v0.4.0 // indirect
12-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
13-
github.com/sourcegraph/conc v0.3.0 // indirect
14-
go.uber.org/atomic v1.9.0 // indirect
15-
go.uber.org/multierr v1.9.0 // indirect
16-
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
17-
)
3+
go 1.21
184

195
require (
20-
github.com/adhocore/gronx v1.6.6
21-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
22-
github.com/mattn/go-isatty v0.0.19 // indirect
23-
github.com/rs/zerolog v1.31.0
24-
golang.org/x/sys v0.15.0 // indirect
6+
github.com/adhocore/gronx v1.7.0
7+
github.com/hashicorp/consul/api v1.25.1
8+
github.com/joe-at-startupmedia/consul-leader-election v0.0.2
9+
github.com/rs/zerolog v1.32.0
10+
github.com/spf13/cobra v1.8.0
11+
github.com/spf13/viper v1.18.2
12+
github.com/stretchr/testify v1.9.0
2513
gopkg.in/yaml.v3 v3.0.1
2614
)
2715

2816
require (
17+
github.com/armon/go-metrics v0.4.1 // indirect
18+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
19+
github.com/fatih/color v1.14.1 // indirect
2920
github.com/fsnotify/fsnotify v1.7.0 // indirect
21+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
22+
github.com/hashicorp/go-hclog v1.5.0 // indirect
23+
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
24+
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
25+
github.com/hashicorp/golang-lru v0.5.4 // indirect
3026
github.com/hashicorp/hcl v1.0.0 // indirect
27+
github.com/hashicorp/serf v0.10.1 // indirect
3128
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3229
github.com/magiconair/properties v1.8.7 // indirect
30+
github.com/mattn/go-colorable v0.1.13 // indirect
31+
github.com/mattn/go-isatty v0.0.19 // indirect
32+
github.com/mitchellh/go-homedir v1.1.0 // indirect
3333
github.com/mitchellh/mapstructure v1.5.0 // indirect
34+
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
35+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
36+
github.com/sagikazarmark/locafero v0.4.0 // indirect
37+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
38+
github.com/sourcegraph/conc v0.3.0 // indirect
3439
github.com/spf13/afero v1.11.0 // indirect
3540
github.com/spf13/cast v1.6.0 // indirect
36-
github.com/spf13/cobra v1.8.0
3741
github.com/spf13/pflag v1.0.5 // indirect
38-
github.com/spf13/viper v1.18.2
3942
github.com/subosito/gotenv v1.6.0 // indirect
43+
go.uber.org/atomic v1.9.0 // indirect
44+
go.uber.org/multierr v1.9.0 // indirect
45+
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
46+
golang.org/x/sys v0.15.0 // indirect
4047
golang.org/x/text v0.14.0 // indirect
4148
gopkg.in/ini.v1 v1.67.0 // indirect
4249
)

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/datarootsio/cheek/cmd"
4+
"cheek-turner/cmd"
55
)
66

77
func main() {

pkg/public/index.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<title>cheek</title>
8-
<link rel="icon" type="image/x-icon" href="https://storage.googleapis.com/cheek-scheduler/cheek-64.png">
98
<link rel="stylesheet" href="/static/styles.css" />
109
<script type="text/javascript" src="/static/script.js"></script>
1110
</head>
@@ -15,10 +14,10 @@
1514
<div class="row">
1615

1716
<div id="title" class="col is-vertical-align">
18-
<a class="brand text-primary" href="/">cheek</a>
17+
<a class="brand text-primary" href="/">cheek-turner</a>
1918
</div>
2019
<div class="col is-vertical-align is-right">
21-
<a class="icon-ahref" href="https://github.com/datarootsio/cheek">
20+
<a class="icon-ahref" href="https://github.com/joe-at-startupmedia/cheek-turner">
2221
<picture>
2322
<source srcset="/static/img/github-light.svg" media="(prefers-color-scheme: dark)">
2423
<img src="/static/img/github-dark.svg">
@@ -56,4 +55,4 @@
5655
}
5756
</script>
5857

59-
</html>
58+
</html>

0 commit comments

Comments
 (0)