diff --git a/.travis.yml b/.travis.yml index 03928c1f0..c09a6c9b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,18 +66,18 @@ jobs: - tar -xf bakelite.tar.gz # and now compile using bakelite for all target archs - export SOURCE_DATE_EPOCH=$(git show -s --format=%ci ${TRAVIS_TAG:-${TRAVIS_COMMIT}}^{commit}) - - ./bakelite-${BAKELITE_OS}-${BAKELITE_ARCH} -platforms="-plan9" -ldflags="-X main.version=\"$(make show-version)\"" github.com/cloudflare/unsee + - ./bakelite-${BAKELITE_OS}-${BAKELITE_ARCH} -platforms="-plan9" -ldflags="-X main.version=\"$(make show-version)\"" github.com/prymitive/unsee - for i in unsee-*; do tar --mtime="${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner -c $i | gzip -n - > $i.tar.gz; done - shasum -a 512 unsee-*.tar.gz | tee sha512sum.txt deploy: provider: releases api_key: - secure: 0vwQFykHkkfQ0pTsqHF6JLgMzAMxW7aQ6xc7P8tvawEgvKNOm1DS+hVNcb5fT9c5njV1+SQw12yv63WIXBthSiQp2VXDkUHhfCtthKklcLcloojr5avrQ43pwPSI8ViczRUb86ZLRTE+VfLgKaqeq/wpnDdeIXZ6YgM5vfgLPXjQvoRNKz3xGldHdSPsl/ar4/2Emvyk2pyenv0kMMd7Q6r7H5H3y03AdhmSQ1QTnOuaxkIimsBCakSTC3GqA+Z/SHZry2CD4u6Qb4XOpMlenAXEAiSKviSN9npmFV8kutl5BwRdCwzqGaeTGANWpSev43Ucneh6aMxSiIVOhMb8JO4ahXCF4effgipgnW5RJS8skMQW4WLvZtQ5ZFT6rAegFaECLhntl9z38V/FNdqiVU0LatIVZ8Wd3Jnug/Q+zkKwTHfMyqpLQ8ff39Qxi1vlhNQZJUrFrUonX9gf1mLOz3wBavvaUJJ8DZdH2ZRU4H05m7ARQ11uSS6U6q8DjhdpdTVi+ZLr6z/S2SkjtaNAl8CVSHAgTo6vX/kI68X63WjmtX+pll4bNfEt+UXsDw5RwTlKhhZ30KPB1tPY70hhTzBPLwKtH9OG6t5WhJr/93usTuuNQmXyayEIbFAnghIK0qSnCOl54izH4H5YYU4v1zDt5CrMq7cszk3TF91naIU= + secure: P0xobtDkFWfzTm6UF2OTrXicmzykk7Tnm9p3gb70DORlkbGzM+/kVNe0aYWcZrubbSi2Ld41EWifDGKOgqFi8GZYULaXanMbGHX82rElMLryhUaagXmgS1adlwhsT6Dc9bBkJnQ7ezRy5hvuzli+rXoeLO3uE8aRpf05s+CDMyVneE/vURvAxfiuMiIL+aI1Le54N8vHENaxmP8xRt9NwKt2D+fErF3isSLdS6tkW7BrsImVKIjebvG+bUnZyVjvGHokBlQFRD2W8M87frkLDYmsK2w9DCpNiyUGYQoKqqQKysswTexfrlObyGadMgb3G7BQM/8v+jlag7b/4v+EJ2AIppSXzeY1Jj8IrKqkscGihmgbJABhKp5A8VgnoCiGm5mXPuhp7A7gFtuLpR3FWpx1Xe7hbVw6bjmDRoYyRasZ0uCcsWPy/nShWFyahKSzaxdNQs1aGAWgVD6t+/EvGG5+tl1ThUm9+uw7E8FIiKe9M2mGiu5JK5mBSN4Drw4+wz+s2IfiLF3I/UVZqD7PBetHW1uv2hnlth7sIjsCkPCC/Myis99zjiR3C74rdxr99/ux/BKjH44Fm1HL2qakUcbytE0YaMppebHm35oB1kBX5RBFjXGZYtkvS+BTpUncl1IEXxuaorA8nNEv3fqH/UgpzmKIqiaryPehezYYFCI= skip_cleanup: true file_glob: true file: - unsee-*.tar.gz - sha512sum.txt on: - repo: cloudflare/unsee + repo: prymitive/unsee tags: true diff --git a/Dockerfile b/Dockerfile index 9c603a8bb..d6b2e1638 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ COPY . /unsee RUN make -C /unsee webpack FROM golang:1.10.1-alpine as go-builder -COPY --from=nodejs-builder /unsee /go/src/github.com/cloudflare/unsee +COPY --from=nodejs-builder /unsee /go/src/github.com/prymitive/unsee ARG VERSION RUN apk add --update make git -RUN CGO_ENABLED=0 make -C /go/src/github.com/cloudflare/unsee VERSION="${VERSION:-dev}" unsee +RUN CGO_ENABLED=0 make -C /go/src/github.com/prymitive/unsee VERSION="${VERSION:-dev}" unsee FROM gcr.io/distroless/base -COPY --from=go-builder /go/src/github.com/cloudflare/unsee/unsee /unsee +COPY --from=go-builder /go/src/github.com/prymitive/unsee/unsee /unsee EXPOSE 8080 CMD ["/unsee"] diff --git a/README.md b/README.md index 79579f903..fb9da364d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ on those tags. ![Screenshot](/screenshot.png) To get notifications about new unsee releases you can subscribe to the RSS feed -that [GitHub provides](https://github.com/cloudflare/unsee/releases.atom) +that [GitHub provides](https://github.com/prymitive/unsee/releases.atom) To get email notifications please use one of the free services providing _RSS to email_ notifications, like [Blogtrottr](https://blogtrottr.com/). @@ -50,8 +50,8 @@ used. To clone git repo and build the binary yourself run: - git clone https://github.com/cloudflare/unsee $GOPATH/src/github.com/cloudflare/unsee - cd $GOPATH/src/github.com/cloudflare/unsee + git clone https://github.com/prymitive/unsee $GOPATH/src/github.com/prymitive/unsee + cd $GOPATH/src/github.com/prymitive/unsee To finally compile `unsee` the binary run: @@ -88,25 +88,25 @@ variables. Example: ### Running pre-build docker image Official docker images are built and hosted on -[hub.docker.com](https://hub.docker.com/r/cloudflare/unsee/). +[hub.docker.com](https://hub.docker.com/r/prymitive/unsee/). Images are built automatically for: -* release tags in git - `cloudflare/unsee:vX.Y.Z` -* master branch commits - `cloudflare/unsee:latest` +* release tags in git - `prymitive/unsee:vX.Y.Z` +* master branch commits - `prymitive/unsee:latest` #### Examples To start a release image run: - docker run -e ALERTMANAGER_URI=https://alertmanager.example.com cloudflare/unsee:vX.Y.Z + docker run -e ALERTMANAGER_URI=https://alertmanager.example.com prymitive/unsee:vX.Y.Z Latest release details can be found on -[GitHub](https://github.com/cloudflare/unsee/releases). +[GitHub](https://github.com/prymitive/unsee/releases). To start docker image build from lastet master branch run: - docker run -e ALERTMANAGER_URI=https://alertmanager.example.com cloudflare/unsee:latest + docker run -e ALERTMANAGER_URI=https://alertmanager.example.com prymitive/unsee:latest Note that latest master branch might have bugs or breaking changes. Using release images is strongly recommended for any production use. diff --git a/alerts.go b/alerts.go index 5d0b0ebb8..cb74bdda9 100644 --- a/alerts.go +++ b/alerts.go @@ -3,9 +3,9 @@ package main import ( "strings" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/filters" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/filters" + "github.com/prymitive/unsee/internal/models" ) func getFiltersFromQuery(filterString string) ([]filters.FilterT, bool) { diff --git a/api_test.go b/api_test.go index 9fed9645d..e08a7bf2b 100644 --- a/api_test.go +++ b/api_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mock" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/mock" + "github.com/prymitive/unsee/internal/models" ) type groupTest struct { diff --git a/internal/alertmanager/benchmark_test.go b/internal/alertmanager/benchmark_test.go index 499c68480..2c3a32b20 100644 --- a/internal/alertmanager/benchmark_test.go +++ b/internal/alertmanager/benchmark_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/config" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/config" ) func BenchmarkDedupAlerts(b *testing.B) { diff --git a/internal/alertmanager/dedup.go b/internal/alertmanager/dedup.go index 5886bcab6..6c6455ec6 100644 --- a/internal/alertmanager/dedup.go +++ b/internal/alertmanager/dedup.go @@ -3,10 +3,10 @@ package alertmanager import ( "sort" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" - "github.com/cloudflare/unsee/internal/transform" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" + "github.com/prymitive/unsee/internal/transform" ) // DedupAlerts will collect alert groups from all defined Alertmanager diff --git a/internal/alertmanager/dedup_test.go b/internal/alertmanager/dedup_test.go index 59e6484b1..1488d892f 100644 --- a/internal/alertmanager/dedup_test.go +++ b/internal/alertmanager/dedup_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/mock" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/mock" log "github.com/sirupsen/logrus" ) diff --git a/internal/alertmanager/mapper.go b/internal/alertmanager/mapper.go index 2d15f1bc4..10e5d98e5 100644 --- a/internal/alertmanager/mapper.go +++ b/internal/alertmanager/mapper.go @@ -1,11 +1,11 @@ package alertmanager import ( - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/mapper/v04" - "github.com/cloudflare/unsee/internal/mapper/v05" - "github.com/cloudflare/unsee/internal/mapper/v061" - "github.com/cloudflare/unsee/internal/mapper/v062" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/mapper/v04" + "github.com/prymitive/unsee/internal/mapper/v05" + "github.com/prymitive/unsee/internal/mapper/v061" + "github.com/prymitive/unsee/internal/mapper/v062" ) // initialize all mappers diff --git a/internal/alertmanager/models.go b/internal/alertmanager/models.go index 987cc5500..9b1ae7d2f 100644 --- a/internal/alertmanager/models.go +++ b/internal/alertmanager/models.go @@ -10,11 +10,11 @@ import ( "sync" "time" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/transform" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/transform" + "github.com/prymitive/unsee/internal/uri" log "github.com/sirupsen/logrus" ) diff --git a/internal/alertmanager/upstream.go b/internal/alertmanager/upstream.go index 1da5b0def..c99173ed0 100644 --- a/internal/alertmanager/upstream.go +++ b/internal/alertmanager/upstream.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" log "github.com/sirupsen/logrus" ) diff --git a/internal/config/config.go b/internal/config/config.go index 670ad8f16..b7fa312e7 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/uri" "github.com/spf13/pflag" "github.com/spf13/viper" diff --git a/internal/config/config_test.go b/internal/config/config_test.go index f588f2e46..6e2c1c2aa 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/uri" "github.com/pmezard/go-difflib/difflib" log "github.com/sirupsen/logrus" diff --git a/internal/filters/autocomplete.go b/internal/filters/autocomplete.go index 3a941c478..1c9651433 100644 --- a/internal/filters/autocomplete.go +++ b/internal/filters/autocomplete.go @@ -1,7 +1,7 @@ package filters import ( - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type autocompleteFactory func(name string, operators []string, alerts []models.Alert) []models.Autocomplete diff --git a/internal/filters/filter.go b/internal/filters/filter.go index 99543205a..eff04735d 100644 --- a/internal/filters/filter.go +++ b/internal/filters/filter.go @@ -4,8 +4,8 @@ import ( "fmt" "regexp" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" ) // FilterT provides methods for interacting with alert filters diff --git a/internal/filters/filter_age.go b/internal/filters/filter_age.go index 9d9c36f42..fc5e90392 100644 --- a/internal/filters/filter_age.go +++ b/internal/filters/filter_age.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type ageFilter struct { diff --git a/internal/filters/filter_alertmanager.go b/internal/filters/filter_alertmanager.go index b1891ba29..7d278d6b1 100644 --- a/internal/filters/filter_alertmanager.go +++ b/internal/filters/filter_alertmanager.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type alertmanagerInstanceFilter struct { diff --git a/internal/filters/filter_fuzzy.go b/internal/filters/filter_fuzzy.go index d1dd7f876..4400811c9 100644 --- a/internal/filters/filter_fuzzy.go +++ b/internal/filters/filter_fuzzy.go @@ -4,7 +4,7 @@ import ( "fmt" "regexp" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type fuzzyFilter struct { diff --git a/internal/filters/filter_label.go b/internal/filters/filter_label.go index 070babe00..d6e49ddab 100644 --- a/internal/filters/filter_label.go +++ b/internal/filters/filter_label.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type labelFilter struct { diff --git a/internal/filters/filter_limit.go b/internal/filters/filter_limit.go index 0f98761cb..56e0580ba 100644 --- a/internal/filters/filter_limit.go +++ b/internal/filters/filter_limit.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type limitFilter struct { diff --git a/internal/filters/filter_receiver.go b/internal/filters/filter_receiver.go index 3c21171ae..823ad2bc4 100644 --- a/internal/filters/filter_receiver.go +++ b/internal/filters/filter_receiver.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type receiverFilter struct { diff --git a/internal/filters/filter_silence_author.go b/internal/filters/filter_silence_author.go index f5ff3dff2..b5ae0430f 100644 --- a/internal/filters/filter_silence_author.go +++ b/internal/filters/filter_silence_author.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type silenceAuthorFilter struct { diff --git a/internal/filters/filter_silence_jira.go b/internal/filters/filter_silence_jira.go index 24fc8a4c2..66e23574b 100644 --- a/internal/filters/filter_silence_jira.go +++ b/internal/filters/filter_silence_jira.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type silenceJiraFilter struct { diff --git a/internal/filters/filter_state.go b/internal/filters/filter_state.go index 7a42e0487..45573ea4c 100644 --- a/internal/filters/filter_state.go +++ b/internal/filters/filter_state.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" ) type stateFilter struct { diff --git a/internal/filters/filter_test.go b/internal/filters/filter_test.go index 3b7f85476..5f7543dec 100644 --- a/internal/filters/filter_test.go +++ b/internal/filters/filter_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/filters" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/filters" + "github.com/prymitive/unsee/internal/models" log "github.com/sirupsen/logrus" ) diff --git a/internal/mapper/mapper.go b/internal/mapper/mapper.go index 09d4a587e..b5916567b 100644 --- a/internal/mapper/mapper.go +++ b/internal/mapper/mapper.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) var ( diff --git a/internal/mapper/v04/alerts.go b/internal/mapper/v04/alerts.go index 5e8658da1..b7dfea649 100644 --- a/internal/mapper/v04/alerts.go +++ b/internal/mapper/v04/alerts.go @@ -13,9 +13,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) type alert struct { diff --git a/internal/mapper/v04/silences.go b/internal/mapper/v04/silences.go index f90d471c2..86db83f51 100644 --- a/internal/mapper/v04/silences.go +++ b/internal/mapper/v04/silences.go @@ -14,9 +14,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) // Alertmanager 0.4 silence format diff --git a/internal/mapper/v05/alerts.go b/internal/mapper/v05/alerts.go index 8c0f3bad6..24847faa5 100644 --- a/internal/mapper/v05/alerts.go +++ b/internal/mapper/v05/alerts.go @@ -12,9 +12,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) type alert struct { diff --git a/internal/mapper/v05/silences.go b/internal/mapper/v05/silences.go index 6ba80543e..f684a4c64 100644 --- a/internal/mapper/v05/silences.go +++ b/internal/mapper/v05/silences.go @@ -11,9 +11,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) type silence struct { diff --git a/internal/mapper/v061/alerts.go b/internal/mapper/v061/alerts.go index 0cdcb3b05..ba1ef1ceb 100644 --- a/internal/mapper/v061/alerts.go +++ b/internal/mapper/v061/alerts.go @@ -13,9 +13,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) type alert struct { diff --git a/internal/mapper/v062/alerts.go b/internal/mapper/v062/alerts.go index 61528be61..c902db5bd 100644 --- a/internal/mapper/v062/alerts.go +++ b/internal/mapper/v062/alerts.go @@ -13,9 +13,9 @@ import ( "time" "github.com/blang/semver" - "github.com/cloudflare/unsee/internal/mapper" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mapper" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/uri" ) type alertStatus struct { diff --git a/internal/models/alert_test.go b/internal/models/alert_test.go index cbc8817ad..2d4b166b9 100644 --- a/internal/models/alert_test.go +++ b/internal/models/alert_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type alertStateTest struct { diff --git a/internal/models/alertgroup_test.go b/internal/models/alertgroup_test.go index 5e3e1ab14..517914028 100644 --- a/internal/models/alertgroup_test.go +++ b/internal/models/alertgroup_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type alertListSortTest struct { diff --git a/internal/models/annotation.go b/internal/models/annotation.go index 861fb3a4d..1f7274d98 100644 --- a/internal/models/annotation.go +++ b/internal/models/annotation.go @@ -4,8 +4,8 @@ import ( "net/url" "sort" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/slices" ) // Annotation extends Alertmanager scheme of key:value with additional data diff --git a/internal/models/annotation_test.go b/internal/models/annotation_test.go index 3b7f01d83..1ea3f7235 100644 --- a/internal/models/annotation_test.go +++ b/internal/models/annotation_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type annotationMapsTestCase struct { diff --git a/internal/slices/slices_test.go b/internal/slices/slices_test.go index 7a8a90e29..e8b30a6b0 100644 --- a/internal/slices/slices_test.go +++ b/internal/slices/slices_test.go @@ -3,7 +3,7 @@ package slices_test import ( "testing" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/slices" ) type stringSliceTest struct { diff --git a/internal/transform/autocomplete.go b/internal/transform/autocomplete.go index 0e5c6cafb..2fdb34d74 100644 --- a/internal/transform/autocomplete.go +++ b/internal/transform/autocomplete.go @@ -1,8 +1,8 @@ package transform import ( - "github.com/cloudflare/unsee/internal/filters" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/filters" + "github.com/prymitive/unsee/internal/models" ) // BuildAutocomplete takes an alert object and generates list of autocomplete diff --git a/internal/transform/color_test.go b/internal/transform/color_test.go index 3ff895b09..57b26a927 100644 --- a/internal/transform/color_test.go +++ b/internal/transform/color_test.go @@ -3,9 +3,9 @@ package transform_test import ( "testing" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/transform" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/transform" ) type colorTest struct { diff --git a/internal/transform/colors.go b/internal/transform/colors.go index 18e193585..9ece97f78 100644 --- a/internal/transform/colors.go +++ b/internal/transform/colors.go @@ -5,9 +5,9 @@ import ( "io" "math/rand" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" "github.com/hansrodtang/randomcolor" ) diff --git a/internal/transform/jira.go b/internal/transform/jira.go index 7f549e6c7..f35f1706b 100644 --- a/internal/transform/jira.go +++ b/internal/transform/jira.go @@ -5,7 +5,7 @@ import ( "log" "regexp" - "github.com/cloudflare/unsee/internal/models" + "github.com/prymitive/unsee/internal/models" ) type jiraDetectRule struct { diff --git a/internal/transform/jira_test.go b/internal/transform/jira_test.go index 7cceab69e..0fcc5984e 100644 --- a/internal/transform/jira_test.go +++ b/internal/transform/jira_test.go @@ -3,8 +3,8 @@ package transform_test import ( "testing" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/transform" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/transform" ) type jiraTest struct { diff --git a/internal/transform/strip.go b/internal/transform/strip.go index c9bc35c96..5af395a7c 100644 --- a/internal/transform/strip.go +++ b/internal/transform/strip.go @@ -3,7 +3,7 @@ package transform import ( "strings" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/slices" ) // StripLables allows filtering out some labels from alerts diff --git a/internal/transform/strip_test.go b/internal/transform/strip_test.go index 8009e42df..ae8db2a6e 100644 --- a/internal/transform/strip_test.go +++ b/internal/transform/strip_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/cloudflare/unsee/internal/transform" + "github.com/prymitive/unsee/internal/transform" ) type stripLabelTest struct { diff --git a/internal/uri/uri_test.go b/internal/uri/uri_test.go index 667c1547f..0c7c6cf64 100644 --- a/internal/uri/uri_test.go +++ b/internal/uri/uri_test.go @@ -11,8 +11,8 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/mock" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/mock" + "github.com/prymitive/unsee/internal/uri" log "github.com/sirupsen/logrus" ) diff --git a/internal/uri/urls_test.go b/internal/uri/urls_test.go index bc150f6ba..5499bed45 100644 --- a/internal/uri/urls_test.go +++ b/internal/uri/urls_test.go @@ -3,7 +3,7 @@ package uri_test import ( "testing" - "github.com/cloudflare/unsee/internal/uri" + "github.com/prymitive/unsee/internal/uri" ) type joinURLTest struct { diff --git a/main.go b/main.go index f788eab83..a5889bc20 100644 --- a/main.go +++ b/main.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/transform" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/transform" "github.com/spf13/pflag" "github.com/DeanThompson/ginpprof" diff --git a/package.json b/package.json index ab7a3c67d..9e38c122d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/cloudflare/unsee.git" + "url": "https://github.com/prymitive/unsee.git" }, "scripts": { "test": "jest" diff --git a/proxy.go b/proxy.go index 4d3b43173..618779966 100644 --- a/proxy.go +++ b/proxy.go @@ -6,8 +6,8 @@ import ( "net/http/httputil" "net/url" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/config" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/config" "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" diff --git a/proxy_test.go b/proxy_test.go index 813140e3e..c9925447e 100644 --- a/proxy_test.go +++ b/proxy_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/alertmanager" httpmock "gopkg.in/jarcoal/httpmock.v1" ) diff --git a/timer.go b/timer.go index 9f288107e..2eaef6a09 100644 --- a/timer.go +++ b/timer.go @@ -4,7 +4,7 @@ import ( "runtime" "sync" - "github.com/cloudflare/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/alertmanager" log "github.com/sirupsen/logrus" ) diff --git a/views.go b/views.go index c190c78f0..76f4d8cfc 100644 --- a/views.go +++ b/views.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "github.com/cloudflare/unsee/internal/alertmanager" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/alertmanager" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" "github.com/gin-gonic/gin" diff --git a/views_test.go b/views_test.go index a371447e2..284b72781 100644 --- a/views_test.go +++ b/views_test.go @@ -11,10 +11,10 @@ import ( "testing" "time" - "github.com/cloudflare/unsee/internal/config" - "github.com/cloudflare/unsee/internal/mock" - "github.com/cloudflare/unsee/internal/models" - "github.com/cloudflare/unsee/internal/slices" + "github.com/prymitive/unsee/internal/config" + "github.com/prymitive/unsee/internal/mock" + "github.com/prymitive/unsee/internal/models" + "github.com/prymitive/unsee/internal/slices" cache "github.com/patrickmn/go-cache" log "github.com/sirupsen/logrus"