Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 89610d7

Browse files
committed
chore: move back to divideprojects
1 parent 6bda857 commit 89610d7

File tree

10 files changed

+37
-40
lines changed

10 files changed

+37
-40
lines changed

.deepsource.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ version = 1
44
name = "docker"
55
enabled = true
66

7-
[analyzers.meta]
8-
dockerfile_paths = [
9-
"Dockerfile",
10-
"Dockerfile.caprover"
11-
]
7+
[analyzers.meta]
8+
dockerfile_paths = ["Dockerfile", "goreleaser.Dockerfile"]
129

1310
[[analyzers]]
1411
name = "go"
1512
enabled = true
1613

17-
[analyzers.meta]
18-
import_root = "github.com/divkix/RestrictChannelRobot"
19-
dependencies_vendored = true
14+
[analyzers.meta]
15+
import_root = "github.com/divideprojects/RestrictChannelRobot"
16+
dependencies_vendored = true

.goreleaser.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ release:
55
Welcome to this new release!
66
footer: |
77
Docker Images:
8-
`docker.io/divkix/{{ .ProjectName }}:latest`
9-
`ghcr.io/divkix/{{ .ProjectName }}:latest`
8+
`docker.io/divideprojects/{{ .ProjectName }}:latest`
9+
`ghcr.io/divideprojects/{{ .ProjectName }}:latest`
1010
before:
1111
hooks:
1212
- go mod tidy
@@ -19,15 +19,15 @@ builds:
1919
goarch:
2020
- amd64
2121
- arm64
22-
mod_timestamp: '{{ .CommitTimestamp }}'
22+
mod_timestamp: "{{ .CommitTimestamp }}"
2323
flags:
2424
- -trimpath
2525
ldflags:
2626
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }}
2727
archives:
2828
- format: binary
2929
checksum:
30-
name_template: 'checksums.txt'
30+
name_template: "checksums.txt"
3131
snapshot:
3232
name_template: "{{ incpatch .Version }}-next"
3333

@@ -37,8 +37,8 @@ dockers:
3737
dockerfile: goreleaser.Dockerfile
3838
use: buildx
3939
image_templates:
40-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
41-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
40+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
41+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
4242
build_flag_templates:
4343
- "--platform=linux/amd64"
4444
- "--pull"
@@ -51,8 +51,8 @@ dockers:
5151
dockerfile: goreleaser.Dockerfile
5252
use: buildx
5353
image_templates:
54-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
55-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
54+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
55+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
5656
build_flag_templates:
5757
- "--platform=linux/arm64/v8"
5858
- "--pull"
@@ -63,21 +63,21 @@ dockers:
6363

6464
docker_manifests:
6565
# docker hub
66-
- name_template: "docker.io/divkix/{{ .ProjectName }}:{{ .Version }}"
66+
- name_template: "docker.io/divideprojects/{{ .ProjectName }}:{{ .Version }}"
6767
image_templates:
68-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
69-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
70-
- name_template: "docker.io/divkix/{{ .ProjectName }}:latest"
68+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
69+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
70+
- name_template: "docker.io/divideprojects/{{ .ProjectName }}:latest"
7171
image_templates:
72-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
73-
- "docker.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
72+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
73+
- "docker.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
7474

7575
# github container registry
76-
- name_template: "ghcr.io/divkix/{{ .ProjectName }}:{{ .Version }}"
76+
- name_template: "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Version }}"
7777
image_templates:
78-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
79-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
80-
- name_template: "ghcr.io/divkix/{{ .ProjectName }}:latest"
78+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
79+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
80+
- name_template: "ghcr.io/divideprojects/{{ .ProjectName }}:latest"
8181
image_templates:
82-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-amd64"
83-
- "ghcr.io/divkix/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
82+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-amd64"
83+
- "ghcr.io/divideprojects/{{ .ProjectName }}:{{ .Tag }}-arm64v8"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CMD ["/RestrictChannelRobot"]
1313

1414
LABEL org.opencontainers.image.authors="Divanshu Chauhan <[email protected]>"
1515
LABEL org.opencontainers.image.url="https://divkix.me"
16-
LABEL org.opencontainers.image.source="https://github.com/divkix/RestrictChannelRobot"
16+
LABEL org.opencontainers.image.source="https://github.com/divideprojects/RestrictChannelRobot"
1717
LABEL org.opencontainers.image.title="Restrict Channel Robot"
1818
LABEL org.opencontainers.image.description="Official Restrict Channel Bot Docker Image"
1919
LABEL org.opencontainers.image.vendor="Divkix"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ state the exclusion of warranty; and each file should have at least
630630
the "copyright" line and a pointer to where the full notice is found.
631631

632632
RestrictChannelRobot - A Telegram bot, to ban anonymous channels in group.
633-
Copyright (C) 2021 Divkix
633+
Copyright (C) 2021-2023 Divkix
634634

635635
This program is free software: you can redistribute it and/or modify
636636
it under the terms of the GNU Affero General Public License as published

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<img src="https://img.shields.io/github/license/DivideProjects/restrictchannelrobot?style=flat-square" alt="LICENSE">
88
<img src="https://img.shields.io/github/contributors/DivideProjects/restrictchannelrobot?style=flat-square" alt="Contributors">
99
<img src="https://img.shields.io/github/repo-size/DivideProjects/restrictchannelrobot?style=flat-square" alt="Repo Size">
10-
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/divkix/restrictchannelrobot&amp;title=Profile%20Views" alt="Views">
10+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/divideprojects/RestrictChannelRobot&amp;title=Profile%20Views" alt="Views">
1111
</p>
1212

1313
<p align='center'>
1414
<a href="https://go.dev/" alt="made-with-go"> <img src="https://img.shields.io/badge/Made%20with-Go-1f425f.svg?style=flat-square&logo=go&color=blue" /> </a>
15-
<a href="https://github.com/divkix/restrictchannelrobot" alt="Docker!"> <img src="https://img.shields.io/docker/pulls/divideprojects/restrictchannelrobot" /> </a>
15+
<a href="https://github.com/divideprojects/RestrictChannelRobot" alt="Docker!"> <img src="https://img.shields.io/docker/pulls/divideprojects/restrictchannelrobot" /> </a>
1616
<a href="https://hub.docker.com/r/divideprojects/restrictchannelrobot" alt="Docker Image Version"> <img src="https://img.shields.io/docker/v/divideprojects/restrictchannelrobot/latest" /> </a>
1717
<a href="https://deepsource.io/gh/DivideProjects/restrictchannelrobot/?ref=repository-badge"><img src="https://static.deepsource.io/deepsource-badge-light-mini.svg" alt="DeepSource"></a>
1818
</p>
@@ -35,7 +35,7 @@ Can be found on telegram as [@RestrictChannelRobot](https://telegram.dog/Restric
3535

3636
## Deploy via Heroku.
3737
<p>
38-
<a href="https://heroku.com/deploy?template=https://github.com/divkix/restrictchannelrobot"><img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy"></a>
38+
<a href="https://heroku.com/deploy?template=https://github.com/divideprojects/RestrictChannelRobot"><img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy"></a>
3939
</p>
4040

4141
## Support

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"telegram anonymous channel",
1212
"telegram group"
1313
],
14-
"repository": "https://github.com/divkix/RestrictChannelRobot",
14+
"repository": "https://github.com/divideprojects/RestrictChannelRobot",
1515
"website": "https://t.me/DivideProjects",
1616
"success_url": "https://t.me/DivideProjects",
1717
"env": {

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
restrict-channel-bot:
4-
image: ghcr.io/divkix/restrictchannelrobot:latest
4+
image: ghcr.io/divideprojects/RestrictChannelRobot:latest
55
restart: always
66
container_name: restrict-channel-bot
77
environment:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/divkix/RestrictChannelRobot
1+
module github.com/divideprojects/RestrictChannelRobot
22

33
// +heroku goVersion go1.19
44
go 1.19

goreleaser.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CMD ["/restrictchannelrobot"]
44

55
LABEL org.opencontainers.image.authors="Divanshu Chauhan <[email protected]>"
66
LABEL org.opencontainers.image.url="https://divkix.me"
7-
LABEL org.opencontainers.image.source="https://github.com/divkix/RestrictChannelRobot"
7+
LABEL org.opencontainers.image.source="https://github.com/divideprojects/RestrictChannelRobot"
88
LABEL org.opencontainers.image.title="Restrict Channel Robot"
99
LABEL org.opencontainers.image.description="Official Restrict Channel Bot Docker Image"
1010
LABEL org.opencontainers.image.vendor="Divkix"

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func start(bot *gotgbot.Bot, ctx *ext.Context) error {
137137
{
138138
{
139139
Text: "Source",
140-
Url: "https://github.com/divkix/RestrictChannelRobot",
140+
Url: "https://github.com/divideprojects/RestrictChannelRobot",
141141
},
142142
},
143143
},
@@ -218,7 +218,7 @@ func source(bot *gotgbot.Bot, ctx *ext.Context) error {
218218

219219
text = fmt.Sprintf(
220220
"You can find my source code by <a href=\"%s\">here</a> or by clicking the button below.",
221-
"https://github.com/divkix/RestrictChannelRobot",
221+
"https://github.com/divideprojects/RestrictChannelRobot",
222222
)
223223

224224
_, err := msg.Reply(
@@ -232,7 +232,7 @@ func source(bot *gotgbot.Bot, ctx *ext.Context) error {
232232
{
233233
{
234234
Text: "Source Code",
235-
Url: "https://github.com/divkix/RestrictChannelRobot",
235+
Url: "https://github.com/divideprojects/RestrictChannelRobot",
236236
},
237237
},
238238
},

0 commit comments

Comments
 (0)