diff --git a/Dockerfile b/Dockerfile index 7124b38d..acc8b874 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.9.4-alpine3.7 AS build ENV GOPATH /app -WORKDIR /app/src/github.com/cybertec-postgresql/vip-manager +WORKDIR /app/src/github.com/tpo/vip-manager COPY . . RUN go install FROM alpine:latest diff --git a/Makefile b/Makefile index 1572e943..1270ccc9 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ LICENSE="BSD 2-Clause License" MAINTAINER="Ants Aasma " DESCRIPTION="Manages a virtual IP based on state kept in etcd/consul." HOMEPAGE="http://www.cybertec.at/" -GIT="git://github.com/cybertec-postgresql/vip-manager.git" -GITBROWSER="https://github.com/cybertec-postgresql/vip-manager" +GIT="git://github.com/tpo/vip-manager.git" +GITBROWSER="https://github.com/tpo/vip-manager" all: vip-manager diff --git a/README.md b/README.md index fe2ce83f..2cd42f68 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Manages a virtual IP based on state kept in etcd or Consul. Monitors state in et ## building 1. To make sure that internal includes (the vipconfig and the checker package) are satisfied, place the base directory of this project properly into your `$GOPATH`. - The resulting location should be `$GOPATH/src/github.com/cybertec-postgresql/vip-manager/`. The easiest way to do this is: - ```go get github.com/cybertec-postgresql/vip-manager``` + The resulting location should be `$GOPATH/src/github.com/tpo/vip-manager/`. The easiest way to do this is: + ```go get github.com/tpo/vip-manager``` 2. Build the binary using `make`. 3. To build your own .deb or .rpm, `fpm` is required. Install it, add it to your path and try running `make package`, which will generate a .deb package and will also convert that into a matching .rpm file. diff --git a/checker/consul_leader_checker.go b/checker/consul_leader_checker.go index 131d28a1..0523c331 100644 --- a/checker/consul_leader_checker.go +++ b/checker/consul_leader_checker.go @@ -6,7 +6,7 @@ import ( "net/url" "time" - "github.com/cybertec-postgresql/vip-manager/vipconfig" + "github.com/tpo/vip-manager/vipconfig" "github.com/hashicorp/consul/api" ) diff --git a/checker/etcd_leader_checker.go b/checker/etcd_leader_checker.go index 189bdcfd..f99ddd81 100644 --- a/checker/etcd_leader_checker.go +++ b/checker/etcd_leader_checker.go @@ -13,7 +13,7 @@ import ( "time" "github.com/coreos/etcd/client" - "github.com/cybertec-postgresql/vip-manager/vipconfig" + "github.com/tpo/vip-manager/vipconfig" ) const ( diff --git a/checker/leader_checker.go b/checker/leader_checker.go index c7808eae..260b9efc 100644 --- a/checker/leader_checker.go +++ b/checker/leader_checker.go @@ -3,7 +3,7 @@ package checker import ( "context" "errors" - "github.com/cybertec-postgresql/vip-manager/vipconfig" + "github.com/tpo/vip-manager/vipconfig" ) var ErrUnsupportedEndpointType = errors.New("given endpoint type not supported") diff --git a/main.go b/main.go index 57fe6f44..0b67f529 100644 --- a/main.go +++ b/main.go @@ -13,8 +13,8 @@ import ( "gopkg.in/yaml.v2" - "github.com/cybertec-postgresql/vip-manager/checker" - "github.com/cybertec-postgresql/vip-manager/vipconfig" + "github.com/tpo/vip-manager/checker" + "github.com/tpo/vip-manager/vipconfig" //"github.com/milosgajdos83/tenus" ) diff --git a/package/DEBIAN/copyright b/package/DEBIAN/copyright index e8c3ca07..a78b3f08 100644 --- a/package/DEBIAN/copyright +++ b/package/DEBIAN/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: vip-manager -Source: +Source: Files: * Copyright: 2017-2019 Ants Aasma