chore: Migrated all instances of cupcakearmy to cseitz-forks

This commit is contained in:
Chris Seitz
2024-05-04 13:09:39 -04:00
parent 078339d923
commit 94bba0c1aa
29 changed files with 64 additions and 64 deletions

View File

@@ -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.

View File

@@ -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}}

View File

@@ -2,7 +2,7 @@
<br>
<br>
<br>
<img align="center" src="https://github.com/cupcakearmy/autorestic/raw/master/.github/logo.png" height="50" alt="autorestic logo">
<img align="center" src="https://github.com/cseitz-forks/autorestic/raw/master/.github/logo.png" height="50" alt="autorestic logo">
<br>
<br>
@@ -13,9 +13,9 @@
<br><br>
<a target="_blank" href="https://discord.gg/wS7RpYTYd2">
<img src="https://img.shields.io/discord/252403122348097536" alt="discord badge" />
<img src="https://img.shields.io/github/contributors/cupcakearmy/autorestic" alt="contributor badge" />
<img src="https://img.shields.io/github/downloads/cupcakearmy/autorestic/total" alt="downloads badge" />
<img src="https://img.shields.io/github/v/release/cupcakearmy/autorestic" alt="version badge" />
<img src="https://img.shields.io/github/contributors/cseitz-forks/autorestic" alt="contributor badge" />
<img src="https://img.shields.io/github/downloads/cseitz-forks/autorestic/total" alt="downloads badge" />
<img src="https://img.shields.io/github/v/release/cseitz-forks/autorestic" alt="version badge" />
</a>
</p>
</p>
@@ -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

View File

@@ -15,7 +15,7 @@ import (
"path/filepath"
"sync"
"github.com/cupcakearmy/autorestic/internal"
"github.com/cseitz-forks/autorestic/internal"
)
var DIR, _ = filepath.Abs("./dist")

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/cupcakearmy/autorestic/internal"
"github.com/cseitz-forks/autorestic/internal"
"github.com/spf13/cobra"
)

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/cupcakearmy/autorestic/internal/bins"
"github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)

View File

@@ -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"
)

View File

@@ -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)
}

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/cupcakearmy/autorestic/internal/bins"
"github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)

View File

@@ -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"
)

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/cupcakearmy/autorestic/internal/bins"
"github.com/cseitz-forks/autorestic/internal/bins"
"github.com/spf13/cobra"
)

View File

@@ -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
```

View File

@@ -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).

View File

@@ -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.

View File

@@ -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.

View File

@@ -1,8 +1,8 @@
export default {
logo: <span>Autorestic</span>,
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,

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/cupcakearmy/autorestic
module github.com/cseitz-forks/autorestic
go 1.21

View File

@@ -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 {

View File

@@ -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
}

View File

@@ -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"

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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() {