Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed go get #186

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ brews:
-
name: teller
tap:
owner: spectralops
owner: tellerops
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
description: A secret manager for developers - never leave your terminal for secrets
homepage: https://github.com/spectralops/teller
homepage: https://github.com/tellerops/teller
license: "Apache 2.0"
install: |
bin.install "teller"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</p>

<p align="center">
<img src="https://github.com/spectralops/teller/actions/workflows/ci.yml/badge.svg"/>
<img src="https://github.com/tellerops/teller/actions/workflows/ci.yml/badge.svg"/>

</p>

Expand All @@ -39,7 +39,7 @@ You can use Teller to tidy your own environment or for your team as a process an
You can install `teller` with homebrew:

```
$ brew tap spectralops/tap && brew install teller
$ brew tap tellerops/tap && brew install teller
```

You can now use `teller` or `tlr` (if you like shortcuts!) in your terminal.
Expand Down Expand Up @@ -780,7 +780,7 @@ Requires an API key populated in your environment in: `VERCEL_TOKEN`.

- Sync - `yes`
- Mapping - `yes`
- Modes - `read`, [write: accepting PR](https://github.com/spectralops/teller)
- Modes - `read`, [write: accepting PR](https://github.com/tellerops/teller)
- Key format
- `env_sync` - name of your Vercel app
- `env` - the actual env variable name in your Vercel settings
Expand Down Expand Up @@ -822,7 +822,7 @@ cert_file: ""

### Features

- Sync - `no` [sync: accepting PR](https://github.com/spectralops/teller)
- Sync - `no` [sync: accepting PR](https://github.com/tellerops/teller)
- Mapping - `yes`
- Modes - `read+write`
- Key format
Expand Down Expand Up @@ -1296,7 +1296,7 @@ $ make lint

### Thanks:

To all [Contributors](https://github.com/spectralops/teller/graphs/contributors) - you make this happen, thanks!
To all [Contributors](https://github.com/tellerops/teller/graphs/contributors) - you make this happen, thanks!

### Code of conduct

Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Teller Roadmap

This document lists the new features being considered for the future and that are being experimented / worked on currently. We would like our contributors and users to know what features could come in the near future. We definitely welcome suggestions and ideas from everyone about the roadmap and features (feel free to open an [issue](https://github.com/SpectralOps/teller/issues)).
This document lists the new features being considered for the future and that are being experimented / worked on currently. We would like our contributors and users to know what features could come in the near future. We definitely welcome suggestions and ideas from everyone about the roadmap and features (feel free to open an [issue](https://github.com/tellerops/teller/issues)).

## Currently worked on

Expand Down
6 changes: 3 additions & 3 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (

"testing"

"github.com/spectralops/teller/e2e/register"
_ "github.com/spectralops/teller/e2e/tests"
"github.com/spectralops/teller/e2e/testutils"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/e2e/register"
_ "github.com/tellerops/teller/e2e/tests"
"github.com/tellerops/teller/e2e/testutils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"regexp"

"github.com/spectralops/teller/e2e/register"
"github.com/tellerops/teller/e2e/register"
)

func init() { //nolint
Expand Down
4 changes: 2 additions & 2 deletions examples/providers/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package providers
import (
"fmt"

"github.com/spectralops/teller/pkg/core"
"github.com/tellerops/teller/pkg/core"

"github.com/spectralops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/logging"
)

type Example struct {
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/spectralops/teller
module github.com/tellerops/teller

go 1.18

Expand Down Expand Up @@ -130,7 +130,6 @@ require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/miekg/dns v1.1.35 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/moby/sys/mount v0.2.0 // indirect
github.com/moby/sys/mountinfo v0.4.0 // indirect
Expand Down
4 changes: 1 addition & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,8 @@ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182aff
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.26 h1:gPxPSwALAeHJSjarOs00QjVdV9QoBvc1D2ujQUr5BzU=
github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
github.com/miekg/dns v1.1.35 h1:oTfOaDH+mZkdcgdIjH6yBajRGtIwcwcaR+rt23ZSrJs=
github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
Expand Down Expand Up @@ -1199,7 +1198,6 @@ golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
Expand Down
13 changes: 5 additions & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"os"

"github.com/alecthomas/kong"
"github.com/spectralops/teller/pkg"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/spectralops/teller/pkg/utils"
"github.com/tellerops/teller/pkg"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
"github.com/tellerops/teller/pkg/utils"
)

var CLI struct {
Expand Down Expand Up @@ -111,7 +111,6 @@ func main() {
logger.SetLevel(defaultLogLevel)

// below commands don't require a tellerfile
//nolint
switch ctx.Command() {
case "version":
fmt.Printf("Teller %v\n", version)
Expand Down Expand Up @@ -231,9 +230,7 @@ func main() {
}
teller.Exec()

case "graph-drift <providers>":
fallthrough
case "graph-drift":
case "graph-drift <providers>", "graph-drift":
drifts := teller.Drift(CLI.GraphDrift.Providers)
if len(drifts) > 0 {
teller.Porcelain.PrintDrift(drifts)
Expand Down
2 changes: 1 addition & 1 deletion pkg/core/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package core
import (
"strings"

"github.com/spectralops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/logging"
)

type Severity string
Expand Down
6 changes: 3 additions & 3 deletions pkg/integration_test/consul_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"time"

"github.com/hashicorp/consul/api"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
)
Expand Down
6 changes: 3 additions & 3 deletions pkg/integration_test/dotenv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"os"
"testing"

"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
)

func TestGetDotEnv(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/integration_test/etcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"
"time"

"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
clientv3 "go.etcd.io/etcd/client/v3"
Expand Down
6 changes: 3 additions & 3 deletions pkg/integration_test/heroku_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"

heroku "github.com/heroku/heroku-go/v5"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
)

func TestGetHeroku(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/integration_test/vault_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"time"

"github.com/hashicorp/vault/api"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/providers"
"github.com/stretchr/testify/assert"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/providers"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/porcelain.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (

"github.com/fatih/color"
"github.com/jftuga/ellipsis"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/utils"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/utils"
)

type Porcelain struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/porcelain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/alecthomas/assert"
"github.com/spectralops/teller/pkg/core"
"github.com/tellerops/teller/pkg/core"
)

func TestPorcelainNonInteractive(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/providers.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pkg

import (
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/providers"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/providers"
)

type Providers interface {
Expand Down
7 changes: 3 additions & 4 deletions pkg/providers/ansible_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/joho/godotenv"
vault "github.com/sosedoff/ansible-vault-go"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
)

type AnsibleVaultClient interface {
Expand All @@ -32,8 +32,7 @@ type AnsibleVault struct {
client AnsibleVaultClient
}

//nolint
func init() {
func init() { //nolint
metaInto := core.MetaInfo{
Description: "Ansible Vault",
Name: "ansible_vault",
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/ansible_vault_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/golang/mock/gomock"
"github.com/spectralops/teller/pkg/providers/mock_providers"
"github.com/tellerops/teller/pkg/providers/mock_providers"
)

func TestAnsibleVault(t *testing.T) {
Expand Down
9 changes: 4 additions & 5 deletions pkg/providers/aws_secretsmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/secretsmanager"
smtypes "github.com/aws/aws-sdk-go-v2/service/secretsmanager/types"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/spectralops/teller/pkg/utils"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/utils"
)

type AWSSecretsManagerClient interface {
Expand All @@ -38,8 +38,7 @@ var defaultDeletionRecoveryWindowInDays int64 = 7

const versionSplit = ","

//nolint
func init() {
func init() { //nolint
metaInfo := core.MetaInfo{
Name: "aws_secretsmanager",
Description: "AWS Secrets Manager",
Expand Down
4 changes: 2 additions & 2 deletions pkg/providers/aws_secretsmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/aws/aws-sdk-go-v2/service/secretsmanager"
"github.com/golang/mock/gomock"

"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/providers/mock_providers"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/providers/mock_providers"
)

func TestAWSSecretsManager(t *testing.T) {
Expand Down
7 changes: 3 additions & 4 deletions pkg/providers/aws_ssm.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/ssm"
"github.com/aws/aws-sdk-go-v2/service/ssm/types"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
)

type AWSSSMClient interface {
Expand All @@ -25,8 +25,7 @@ type AWSSSM struct {

const awsssmName = "aws_ssm"

//nolint
func init() {
func init() { //nolint
metaInfo := core.MetaInfo{
Description: "AWS SSM (aka paramstore)",
Name: awsssmName,
Expand Down
4 changes: 2 additions & 2 deletions pkg/providers/aws_ssm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/aws/aws-sdk-go-v2/service/ssm/types"
"github.com/golang/mock/gomock"

"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/providers/mock_providers"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/providers/mock_providers"
)

func TestAWSSSM(t *testing.T) {
Expand Down
7 changes: 3 additions & 4 deletions pkg/providers/azure_keyvault.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/Azure/azure-sdk-for-go/profiles/latest/keyvault/keyvault"
kvauth "github.com/Azure/azure-sdk-for-go/services/keyvault/auth"
"github.com/Azure/go-autorest/autorest"
"github.com/spectralops/teller/pkg/core"
"github.com/spectralops/teller/pkg/logging"
"github.com/tellerops/teller/pkg/core"
"github.com/tellerops/teller/pkg/logging"
)

const AzureVaultDomain = "vault.azure.net"
Expand All @@ -31,8 +31,7 @@ type AzureKeyVault struct {

const azureName = "azure_keyvault"

//nolint
func init() {
func init() { //nolint
metaInfo := core.MetaInfo{
Description: "Azure Key Vault",
Name: azureName,
Expand Down
Loading