From 94bba0c1aa741ff0df9c912c4f8553170d275187 Mon Sep 17 00:00:00 2001
From: Chris Seitz <54898870+cseitz@users.noreply.github.com>
Date: Sat, 4 May 2024 13:09:39 -0400
Subject: [PATCH] chore: Migrated all instances of cupcakearmy to cseitz-forks
---
.github/ISSUE_TEMPLATE/config.yml | 2 +-
.github/workflows/build.yml | 2 +-
README.md | 10 +++++-----
build/build.go | 2 +-
cmd/backup.go | 6 +++---
cmd/check.go | 6 +++---
cmd/cron.go | 6 +++---
cmd/exec.go | 6 +++---
cmd/forget.go | 4 ++--
cmd/info.go | 2 +-
cmd/install.go | 2 +-
cmd/restore.go | 4 ++--
cmd/root.go | 10 +++++-----
cmd/uninstall.go | 2 +-
cmd/unlock.go | 6 +++---
cmd/upgrade.go | 2 +-
docs/pages/docker.md | 2 +-
docs/pages/installation.md | 4 ++--
docs/pages/migration/1.4_1.5.md | 4 ++--
docs/pages/quick.md | 2 +-
docs/theme.config.jsx | 4 ++--
go.mod | 2 +-
internal/backend.go | 4 ++--
internal/bins/bins.go | 8 ++++----
internal/config.go | 6 +++---
internal/location.go | 8 ++++----
internal/lock/lock.go | 4 ++--
internal/utils.go | 4 ++--
main.go | 4 ++--
29 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 2197a2e..e1dab9d 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,4 +1,4 @@
contact_links:
- name: Questions & Help
- url: https://github.com/cupcakearmy/autorestic/discussions
+ url: https://github.com/cseitz-forks/autorestic/discussions
about: Please ask and answer questions here.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cf4e07c..c938825 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,7 +17,7 @@ jobs:
# id: meta
# uses: crazy-max/ghaction-docker-meta@v4
# with:
- # images: cupcakearmy/autorestic
+ # images: cseitz-forks/autorestic
# tags: |
# type=semver,pattern={{version}}
# type=semver,pattern={{major}}.{{minor}}
diff --git a/README.md b/README.md
index 53d9452..af36d85 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-
+
@@ -13,9 +13,9 @@
-
-
-
+
+
+
@@ -46,7 +46,7 @@ Autorestic is a wrapper around the amazing [restic](https://restic.net/). While
### ❓ Questions / Support
-Check the [discussions page](https://github.com/cupcakearmy/autorestic/discussions) or [join on discord](https://discord.gg/wS7RpYTYd2)
+Check the [discussions page](https://github.com/cseitz-forks/autorestic/discussions) or [join on discord](https://discord.gg/wS7RpYTYd2)
## Contributing / Developing
diff --git a/build/build.go b/build/build.go
index f1df319..ca4d3ab 100644
--- a/build/build.go
+++ b/build/build.go
@@ -15,7 +15,7 @@ import (
"path/filepath"
"sync"
- "github.com/cupcakearmy/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal"
)
var DIR, _ = filepath.Abs("./dist")
diff --git a/cmd/backup.go b/cmd/backup.go
index a575220..88c014e 100644
--- a/cmd/backup.go
+++ b/cmd/backup.go
@@ -4,9 +4,9 @@ import (
"fmt"
"strings"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/check.go b/cmd/check.go
index 159f341..e3fd9b1 100644
--- a/cmd/check.go
+++ b/cmd/check.go
@@ -1,9 +1,9 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/cron.go b/cmd/cron.go
index 175ae13..074b8a0 100644
--- a/cmd/cron.go
+++ b/cmd/cron.go
@@ -1,9 +1,9 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/flags"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/exec.go b/cmd/exec.go
index 107b0e1..30e2ad2 100644
--- a/cmd/exec.go
+++ b/cmd/exec.go
@@ -3,9 +3,9 @@ package cmd
import (
"fmt"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/forget.go b/cmd/forget.go
index 93d7137..4ee5199 100644
--- a/cmd/forget.go
+++ b/cmd/forget.go
@@ -1,8 +1,8 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/info.go b/cmd/info.go
index 5df7668..50ecc87 100644
--- a/cmd/info.go
+++ b/cmd/info.go
@@ -1,7 +1,7 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal"
"github.com/spf13/cobra"
)
diff --git a/cmd/install.go b/cmd/install.go
index abbd033..45dc9c6 100644
--- a/cmd/install.go
+++ b/cmd/install.go
@@ -1,7 +1,7 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal/bins"
+ "github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)
diff --git a/cmd/restore.go b/cmd/restore.go
index 8faf4a7..a08e673 100644
--- a/cmd/restore.go
+++ b/cmd/restore.go
@@ -3,8 +3,8 @@ package cmd
import (
"fmt"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/root.go b/cmd/root.go
index 3da9e25..98da32f 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -5,10 +5,10 @@ import (
"path/filepath"
"strings"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
homedir "github.com/mitchellh/go-homedir"
@@ -41,7 +41,7 @@ func init() {
rootCmd.PersistentFlags().BoolVar(&flags.CI, "ci", false, "CI mode disabled interactive mode and colors and enables verbosity")
rootCmd.PersistentFlags().BoolVarP(&flags.VERBOSE, "verbose", "v", false, "verbose mode")
rootCmd.PersistentFlags().StringVar(&flags.RESTIC_BIN, "restic-bin", "restic", "specify custom restic binary")
- rootCmd.PersistentFlags().StringVar(&flags.DOCKER_IMAGE, "docker-image", "cupcakearmy/autorestic:"+internal.VERSION, "specify a custom docker image")
+ rootCmd.PersistentFlags().StringVar(&flags.DOCKER_IMAGE, "docker-image", "cseitz-forks/autorestic:"+internal.VERSION, "specify a custom docker image")
cobra.OnInitialize(initConfig)
}
diff --git a/cmd/uninstall.go b/cmd/uninstall.go
index e3e955f..0b3afb7 100644
--- a/cmd/uninstall.go
+++ b/cmd/uninstall.go
@@ -1,7 +1,7 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal/bins"
+ "github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)
diff --git a/cmd/unlock.go b/cmd/unlock.go
index 75aabf5..8fa4271 100644
--- a/cmd/unlock.go
+++ b/cmd/unlock.go
@@ -7,9 +7,9 @@ import (
"os/exec"
"strings"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/spf13/cobra"
)
diff --git a/cmd/upgrade.go b/cmd/upgrade.go
index b6bc15e..8eeea6b 100644
--- a/cmd/upgrade.go
+++ b/cmd/upgrade.go
@@ -1,7 +1,7 @@
package cmd
import (
- "github.com/cupcakearmy/autorestic/internal/bins"
+ "github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)
diff --git a/docs/pages/docker.md b/docs/pages/docker.md
index 86f17b6..455a413 100644
--- a/docs/pages/docker.md
+++ b/docs/pages/docker.md
@@ -9,7 +9,7 @@ For remote backups (S3, B2, GCS, etc.) it's quite easy, as you only need to moun
```bash
docker run --rm \\
-v $(pwd):/data \\
- cupcakearmy/autorestic \\
+ cseitz-forks/autorestic \\
autorestic backup -va -c /data/.autorestic.yaml
```
diff --git a/docs/pages/installation.md b/docs/pages/installation.md
index 21952be..b2a6ec7 100644
--- a/docs/pages/installation.md
+++ b/docs/pages/installation.md
@@ -5,14 +5,14 @@ Linux & macOS. Windows is not supported. If you have problems installing please
Autorestic requires `bash`, `wget` and `bzip2` to be installed. For most systems these should be already installed.
```bash
-wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
+wget -qO - https://raw.githubusercontent.com/cseitz-forks/autorestic/master/install.sh | bash
```
## Alternatives
### Docker
-There is an official docker image over at [cupcakearmy/autorestic](https://hub.docker.com/r/cupcakearmy/autorestic).
+There is an official docker image over at [cseitz-forks/autorestic](https://hub.docker.com/r/cseitz-forks/autorestic).
For some examples see [here](/docker).
diff --git a/docs/pages/migration/1.4_1.5.md b/docs/pages/migration/1.4_1.5.md
index 021148c..228d65e 100644
--- a/docs/pages/migration/1.4_1.5.md
+++ b/docs/pages/migration/1.4_1.5.md
@@ -7,8 +7,8 @@ The way snapshots are referenced in the `restore` and `prune` commands has been
## Config files
- The config file now required to have a version number. This has to be added with `version: 2` at the root.
-- Hooks now optionally support `dir: /some/dir` in the [options object](https://pkg.go.dev/github.com/cupcakearmy/autorestic/internal#Hooks).
-- Docker volumes don't get prefixed with `volume:` anymore, rather you have to set the `type: volume` in the [location config](https://pkg.go.dev/github.com/cupcakearmy/autorestic/internal#Hooks).
+- Hooks now optionally support `dir: /some/dir` in the [options object](https://pkg.go.dev/github.com/cseitz-forks/autorestic/internal#Hooks).
+- Docker volumes don't get prefixed with `volume:` anymore, rather you have to set the `type: volume` in the [location config](https://pkg.go.dev/github.com/cseitz-forks/autorestic/internal#Hooks).
See detailed instructions below.
diff --git a/docs/pages/quick.md b/docs/pages/quick.md
index 82cdd6e..354cc3d 100644
--- a/docs/pages/quick.md
+++ b/docs/pages/quick.md
@@ -3,7 +3,7 @@
## Installation
```bash
-wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
+wget -qO - https://raw.githubusercontent.com/cseitz-forks/autorestic/master/install.sh | bash
```
See [installation](/installation) for alternative options.
diff --git a/docs/theme.config.jsx b/docs/theme.config.jsx
index 8cc13ab..17da98d 100644
--- a/docs/theme.config.jsx
+++ b/docs/theme.config.jsx
@@ -1,8 +1,8 @@
export default {
logo: Autorestic,
- docsRepositoryBase: 'https://github.com/cupcakearmy/autorestic/tree/master/docs',
+ docsRepositoryBase: 'https://github.com/cseitz-forks/autorestic/tree/master/docs',
project: {
- link: 'https://github.com/cupcakearmy/autorestic',
+ link: 'https://github.com/cseitz-forks/autorestic',
},
sidebar: {
defaultMenuCollapseLevel: 1,
diff --git a/go.mod b/go.mod
index a024ecc..71dd310 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/cupcakearmy/autorestic
+module github.com/cseitz-forks/autorestic
go 1.21
diff --git a/internal/backend.go b/internal/backend.go
index 5ac1c82..d4bb189 100644
--- a/internal/backend.go
+++ b/internal/backend.go
@@ -8,8 +8,8 @@ import (
"os"
"strings"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
)
type BackendRest struct {
diff --git a/internal/bins/bins.go b/internal/bins/bins.go
index dd9fea2..33eb6c2 100644
--- a/internal/bins/bins.go
+++ b/internal/bins/bins.go
@@ -13,9 +13,9 @@ import (
"strings"
"github.com/blang/semver/v4"
- "github.com/cupcakearmy/autorestic/internal"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
)
const INSTALL_PATH = "/usr/local/bin"
@@ -153,7 +153,7 @@ func Upgrade(restic bool) error {
if err != nil {
return err
}
- body, err := dlJSON("https://api.github.com/repos/cupcakearmy/autorestic/releases/latest")
+ body, err := dlJSON("https://api.github.com/repos/cseitz-forks/autorestic/releases/latest")
if err != nil {
return err
}
diff --git a/internal/config.go b/internal/config.go
index 63f8e59..c128b1c 100644
--- a/internal/config.go
+++ b/internal/config.go
@@ -8,9 +8,9 @@ import (
"strings"
"sync"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/lock"
"github.com/joho/godotenv"
"github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
diff --git a/internal/location.go b/internal/location.go
index a20efa7..9f090c2 100644
--- a/internal/location.go
+++ b/internal/location.go
@@ -8,10 +8,10 @@ import (
"strings"
"time"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
- "github.com/cupcakearmy/autorestic/internal/lock"
- "github.com/cupcakearmy/autorestic/internal/metadata"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/internal/metadata"
"github.com/robfig/cron"
)
diff --git a/internal/lock/lock.go b/internal/lock/lock.go
index 4e9fd52..07ada5b 100644
--- a/internal/lock/lock.go
+++ b/internal/lock/lock.go
@@ -5,8 +5,8 @@ import (
"path"
"sync"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
"github.com/spf13/viper"
)
diff --git a/internal/utils.go b/internal/utils.go
index c8bf799..cc45537 100644
--- a/internal/utils.go
+++ b/internal/utils.go
@@ -7,8 +7,8 @@ import (
"os"
"os/exec"
- "github.com/cupcakearmy/autorestic/internal/colors"
- "github.com/cupcakearmy/autorestic/internal/flags"
+ "github.com/cseitz-forks/autorestic/internal/colors"
+ "github.com/cseitz-forks/autorestic/internal/flags"
"github.com/fatih/color"
)
diff --git a/main.go b/main.go
index ae644c3..3e1e7cb 100644
--- a/main.go
+++ b/main.go
@@ -21,8 +21,8 @@ import (
"os/signal"
"syscall"
- "github.com/cupcakearmy/autorestic/cmd"
- "github.com/cupcakearmy/autorestic/internal/lock"
+ "github.com/cseitz-forks/autorestic/cmd"
+ "github.com/cseitz-forks/autorestic/internal/lock"
)
func handleCtrlC() {