Skip to content

Commit

Permalink
Renamed module and links
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Nov 18, 2021
1 parent 62778ef commit 998a8c1
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Lagoon-sync offers:

# Installing

You can run `lagoon-sync` as a single binary by downloading from `https://github.com/amazeeio/lagoon-sync/releases/latest`.
You can run `lagoon-sync` as a single binary by downloading from `https://github.com/uselagoon/lagoon-sync/releases/latest`.

MacOS: `lagoon-sync_*.*.*_darwin_amd64`
Linux (3 variants available): `lagoon-sync_*.*.*_linux_386`
Expand All @@ -27,16 +27,16 @@ To install via bash:

## macOS

curl https://github.com/amazeeio/lagoon-sync/releases/download/v0.4.7/lagoon-sync_0.4.7_darwin_amd64 -Lo /usr/local/bin/lagoon-sync && chmod a+x $_
curl https://github.com/uselagoon/lagoon-sync/releases/download/v0.4.7/lagoon-sync_0.4.7_darwin_amd64 -Lo /usr/local/bin/lagoon-sync && chmod a+x $_

## Linux

curl https://github.com/amazeeio/lagoon-sync/releases/download/v0.4.7/lagoon-sync_0.4.7_linux_386 -Lo /usr/bin/lagoon-sync && chmod +x $_
curl https://github.com/uselagoon/lagoon-sync/releases/download/v0.4.7/lagoon-sync_0.4.7_linux_386 -Lo /usr/bin/lagoon-sync && chmod +x $_


Installing the latest version:

DOWNLOAD_PATH=$(curl -sL "https://api.github.com/repos/amazeeio/lagoon-sync/releases/latest" | grep "browser_download_url" | cut -d \" -f 4 | grep linux_386) && wget -O /tmp/lagoon-sync $DOWNLOAD_PATH && chmod +x /tmp/lagoon-sync
DOWNLOAD_PATH=$(curl -sL "https://api.github.com/repos/uselagoon/lagoon-sync/releases/latest" | grep "browser_download_url" | cut -d \" -f 4 | grep linux_386) && wget -O /tmp/lagoon-sync $DOWNLOAD_PATH && chmod +x /tmp/lagoon-sync


# Usage
Expand Down Expand Up @@ -168,7 +168,7 @@ It's possible to safely update your lagoon-sync binrary by running the `selfUpda
```
$ lagoon-sync selfUpdate
Downloading binary from https://github.com/amazeeio/lagoon-sync/releases/download/v0.4.4/lagoon-sync_0.4.4_linux_386
Downloading binary from https://github.com/uselagoon/lagoon-sync/releases/download/v0.4.4/lagoon-sync_0.4.4_linux_386
Checksum for linux_386: 61a55bd793d5745b6196ffd5bb87263aba85629f55ee0eaf53c771a0720adefd
Good signature from "amazeeio"
Applying update...
Expand Down
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"os"

"github.com/amazeeio/lagoon-sync/prerequisite"
"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/prerequisite"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package cmd

import (
"fmt"
"github.com/amazeeio/lagoon-sync/assets"
"github.com/uselagoon/lagoon-sync/assets"
"os"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
homedir "github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/selfUpdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"golang.org/x/crypto/openpgp"
)

const selfUpdateDownloadURL = "https://api.github.com/repos/amazeeio/lagoon-sync/releases/latest"
const selfUpdateDownloadURL = "https://api.github.com/repos/uselagoon/lagoon-sync/releases/latest"

var osArch, downloadPath, checkSumFileUrl, sigFileUrl, checksumStr string

Expand Down
4 changes: 2 additions & 2 deletions cmd/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"strings"

"github.com/amazeeio/lagoon-sync/synchers"
"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/synchers"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/manifoldco/promptui"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/amazeeio/lagoon-sync
module github.com/uselagoon/lagoon-sync

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package main

import (
"github.com/amazeeio/lagoon-sync/cmd"
"github.com/uselagoon/lagoon-sync/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion synchers/drupalconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"
"time"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
)

type BaseDrupalconfigSync struct {
Expand Down
2 changes: 1 addition & 1 deletion synchers/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"time"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/viper"
)

Expand Down
2 changes: 1 addition & 1 deletion synchers/mariadb.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/viper"
)

Expand Down
2 changes: 1 addition & 1 deletion synchers/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"time"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/viper"
)

Expand Down
2 changes: 1 addition & 1 deletion synchers/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"time"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/viper"
)

Expand Down
6 changes: 3 additions & 3 deletions synchers/prerequisiteSyncUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package synchers
import (
"encoding/json"
"fmt"
"github.com/amazeeio/lagoon-sync/assets"
"github.com/uselagoon/lagoon-sync/assets"
"io/ioutil"
"log"
"strings"

"github.com/amazeeio/lagoon-sync/prerequisite"
"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/prerequisite"
"github.com/uselagoon/lagoon-sync/utils"
)

func RunPrerequisiteCommand(environment Environment, syncer Syncer, syncerType string, dryRun bool, verboseSSH bool) (Environment, error) {
Expand Down
2 changes: 1 addition & 1 deletion synchers/syncdefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/amazeeio/lagoon-sync/prerequisite"
"github.com/uselagoon/lagoon-sync/prerequisite"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion synchers/syncutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"text/template"

"github.com/amazeeio/lagoon-sync/utils"
"github.com/uselagoon/lagoon-sync/utils"
"github.com/spf13/viper"
"gopkg.in/yaml.v2"
)
Expand Down

0 comments on commit 998a8c1

Please sign in to comment.