Skip to content

Commit 3953104

Browse files
authored
rollback
1 parent 6c3a021 commit 3953104

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/daily_update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
}
4040
4141
subprocess.run("mkdir -p rank_only", shell=True, check=True)
42-
preset_data = subprocess.run(["top-github", "--list-presets"], capture_output=True, text=True).stdout
42+
preset_data = subprocess.run(["most-active-github-users-counter", "--list-presets"], capture_output=True, text=True).stdout
4343
all_presets = dict([row.pop('preset'), row] for row in csv.DictReader(preset_data.split('\n')))
4444
regenerated = False
4545
to_process = []
@@ -87,7 +87,7 @@ jobs:
8787
for key in to_process[0:MAX_IN_RUN]:
8888
print("Running: %s" % key)
8989
preset = flookup[key]
90-
status = subprocess.run(["top-github", "--token", os.environ["GITHUB_TOKEN"], "--preset", preset, "--output", "yaml"], capture_output=True, text=True)
90+
status = subprocess.run(["most-active-github-users-counter", "--token", os.environ["GITHUB_TOKEN"], "--preset", preset, "--output", "yaml"], capture_output=True, text=True)
9191
if status.returncode == 0:
9292
with open("_data/locations/%s.yml" % key, "w") as f:
9393
f.write("page: %s.html\n%s" % (key, status.stdout))

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN go get -d -v .
1010
RUN CGO_ENABLED=0 go install -v .
1111

1212
FROM scratch
13-
COPY --from=go-builder /go/bin/top-github /go/bin/top-github
13+
COPY --from=go-builder /go/bin/most-active-github-users-counter /go/bin/most-active-github-users-counter
1414
COPY --from=ca-certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
1515

16-
ENTRYPOINT ["/go/bin/top-github"]
16+
ENTRYPOINT ["/go/bin/most-active-github-users-counter"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Contributions are accepted. Please report issues or make pull requests against e
2828

2929
### Why is this running on a different domain?
3030

31-
The [original project](https://github.com/lauripiispanen/top-github) by [@lauripiispanen](https://github.com/lauripiispanen) seems to have been archived. I also thought that `committers.top` was a more appropriate domain name and quickly grabbed it :grinning:
31+
The [original project](https://github.com/lauripiispanen/most-active-github-users-counter) by [@lauripiispanen](https://github.com/lauripiispanen) seems to have been archived. I also thought that `committers.top` was a more appropriate domain name and quickly grabbed it :grinning:
3232

3333
### Why am I not on this list?
3434

github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"time"
1111

12-
"top-github/net"
12+
"most-active-github-users-counter/net"
1313
)
1414

1515
const root string = "https://api.github.com/"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module top-github
1+
module most-active-github-users-counter
22

33
go 1.17
44

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"log"
88
"os"
99

10-
"top-github/output"
11-
"top-github/top"
10+
"most-active-github-users-counter/output"
11+
"most-active-github-users-counter/top"
1212
)
1313

1414
type arrayFlags []string

output/output.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"time"
1313

14-
"top-github/github"
15-
"top-github/top"
14+
"most-active-github-users-counter/github"
15+
"most-active-github-users-counter/top"
1616
)
1717

1818
type Format func(results github.GithubSearchResults, writer io.Writer, options top.Options) error

top/top.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66

7-
"top-github/github"
8-
"top-github/net"
7+
"most-active-github-users-counter/github"
8+
"most-active-github-users-counter/net"
99
)
1010

1111
func GithubTop(options Options) (github.GithubSearchResults, error) {

0 commit comments

Comments
 (0)