Skip to content

Commit c6b9361

Browse files
authored
Ensure we're using the right github org in golang imports (#137)
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
1 parent 046c3ec commit c6b9361

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+143
-143
lines changed

.github/workflows/image-build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
TAG=$(echo "${{ steps.version-string.outputs.tag }}" | sed 's/+/_/g')
5555
KO_DOCKER_REPO=$BASE_REPO ko build --platform=linux/amd64,linux/arm64 --bare -t $TAG ./cmd/thv \
56-
--image-label=org.opencontainers.image.source=https://github.com/stacklok/toolhive,org.opencontainers.image.title="toolhive",org.opencontainers.image.vendor=Stacklok
56+
--image-label=org.opencontainers.image.source=https://github.com/StacklokLabs/toolhive,org.opencontainers.image.title="toolhive",org.opencontainers.image.vendor=Stacklok
5757
5858
- name: Sign Image with Cosign
5959
# This step uses the identity token to provision an ephemeral certificate

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ formatters:
9797
sections:
9898
- standard
9999
- default
100-
- prefix(github.com/stacklok/toolhive)
100+
- prefix(github.com/StacklokLabs/toolhive)
101101
exclusions:
102102
generated: lax
103103
paths:

.goreleaser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ builds:
1212
- -tags=netgo
1313
ldflags:
1414
- "-s -w"
15-
- "-X github.com/stacklok/toolhive/cmd/thv.Version={{ .Version }}"
16-
- "-X github.com/stacklok/toolhive/cmd/thv.Commit={{ .Commit }}"
17-
- "-X github.com/stacklok/toolhive/cmd/thv.BuildDate={{ .Date }}"
15+
- "-X github.com/StacklokLabs/toolhive/cmd/thv.Version={{ .Version }}"
16+
- "-X github.com/StacklokLabs/toolhive/cmd/thv.Commit={{ .Commit }}"
17+
- "-X github.com/StacklokLabs/toolhive/cmd/thv.BuildDate={{ .Date }}"
1818
goos:
1919
- linux
2020
# - windows

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ First off, thank you for taking the time to contribute to ToolHive! :+1: :tada:
44
ToolHive is released under the Apache 2.0 license. If you would like to
55
contribute something or want to hack on the code, this document should help you
66
get started. You can find some hints for starting development in ToolHive's
7-
[README](https://github.com/stacklok/toolhive/blob/main/README.md).
7+
[README](https://github.com/StacklokLabs/toolhive/blob/main/README.md).
88

99
## Table of contents <!-- omit from toc -->
1010

@@ -20,7 +20,7 @@ get started. You can find some hints for starting development in ToolHive's
2020
## Code of conduct
2121

2222
This project adheres to the
23-
[Contributor Covenant](https://github.com/stacklok/toolhive/blob/main/CODE_OF_CONDUCT.md)
23+
[Contributor Covenant](https://github.com/StacklokLabs/toolhive/blob/main/CODE_OF_CONDUCT.md)
2424
code of conduct. By participating, you are expected to uphold this code. Please
2525
report unacceptable behavior to
2626
[code-of-conduct@stacklok.dev](mailto:code-of-conduct@stacklok.dev).
@@ -30,7 +30,7 @@ report unacceptable behavior to
3030
If you think you have found a security vulnerability in ToolHive please DO NOT
3131
disclose it publicly until we've had a chance to fix it. Please don't report
3232
security vulnerabilities using GitHub issues; instead, please follow this
33-
[process](https://github.com/stacklok/toolhive/blob/main/SECURITY.md)
33+
[process](https://github.com/StacklokLabs/toolhive/blob/main/SECURITY.md)
3434

3535
## How to contribute
3636

@@ -47,7 +47,7 @@ sample project that reproduces the problem.
4747
### Not sure how to start contributing?
4848

4949
PRs to resolve existing issues are greatly appreciated and issues labeled as
50-
["good first issue"](https://github.com/stacklok/toolhive/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
50+
["good first issue"](https://github.com/StacklokLabs/toolhive/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
5151
are a great place to start!
5252

5353
### Pull request process

SECURITY.MD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ your contributions.
77
## Reporting a vulnerability
88

99
To report a security issue, please use the GitHub Security Advisory
10-
["Report a Vulnerability"](https://github.com/stacklok/toolhive/security/advisories/new)
10+
["Report a Vulnerability"](https://github.com/StacklokLabs/toolhive/security/advisories/new)
1111
tab.
1212

1313
If you are unable to access GitHub you can also email us at
@@ -80,7 +80,7 @@ These steps should be completed within the 1-7 days of Disclosure.
8080
- Create a new
8181
[security advisory](https://docs.github.com/en/code-security/security-advisories/)
8282
in affected repository by visiting
83-
`https://github.com/stacklok/toolhive/security/advisories/new`
83+
`https://github.com/StacklokLabs/toolhive/security/advisories/new`
8484
- As many details as possible should be entered such as versions affected, CVE
8585
(if available yet). As more information is discovered, edit and update the
8686
advisory accordingly.

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tasks:
3737
sh: date -u +"%Y-%m-%dT%H:%M:%SZ"
3838
cmds:
3939
- mkdir -p bin
40-
- go build -ldflags "-s -w -X github.com/stacklok/toolhive/cmd/thv.Version={{.VERSION}} -X github.com/stacklok/toolhive/cmd/thv.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/cmd/thv.BuildDate={{.BUILD_DATE}}" -o bin/thv ./cmd/thv
40+
- go build -ldflags "-s -w -X github.com/StacklokLabs/toolhive/cmd/thv.Version={{.VERSION}} -X github.com/stacklok/toolhive/cmd/thv.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/cmd/thv.BuildDate={{.BUILD_DATE}}" -o bin/thv ./cmd/thv
4141

4242
install:
4343
desc: Install the thv binary to GOPATH/bin
@@ -49,7 +49,7 @@ tasks:
4949
BUILD_DATE:
5050
sh: date -u +"%Y-%m-%dT%H:%M:%SZ"
5151
cmds:
52-
- go install -ldflags "-s -w -X github.com/stacklok/toolhive/cmd/thv.Version={{.VERSION}} -X github.com/stacklok/toolhive/cmd/thv.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/cmd/thv.BuildDate={{.BUILD_DATE}}" -v ./cmd/thv
52+
- go install -ldflags "-s -w -X github.com/StacklokLabs/toolhive/cmd/thv.Version={{.VERSION}} -X github.com/stacklok/toolhive/cmd/thv.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/cmd/thv.BuildDate={{.BUILD_DATE}}" -v ./cmd/thv
5353

5454
all:
5555
desc: Run linting, tests, and build

cmd/thv/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/spf13/cobra"
77

8-
"github.com/stacklok/toolhive/pkg/config"
9-
"github.com/stacklok/toolhive/pkg/secrets"
8+
"github.com/StacklokLabs/toolhive/pkg/config"
9+
"github.com/StacklokLabs/toolhive/pkg/secrets"
1010
)
1111

1212
// AddOIDCFlags adds OIDC validation flags to the provided command.

cmd/thv/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/spf13/cobra"
77

8-
"github.com/stacklok/toolhive/pkg/config"
9-
"github.com/stacklok/toolhive/pkg/secrets"
8+
"github.com/StacklokLabs/toolhive/pkg/config"
9+
"github.com/StacklokLabs/toolhive/pkg/secrets"
1010
)
1111

1212
var configCmd = &cobra.Command{

cmd/thv/list.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

1212
"github.com/spf13/cobra"
1313

14-
"github.com/stacklok/toolhive/pkg/client"
15-
"github.com/stacklok/toolhive/pkg/container"
16-
rt "github.com/stacklok/toolhive/pkg/container/runtime"
17-
"github.com/stacklok/toolhive/pkg/labels"
18-
"github.com/stacklok/toolhive/pkg/logger"
14+
"github.com/StacklokLabs/toolhive/pkg/client"
15+
"github.com/StacklokLabs/toolhive/pkg/container"
16+
rt "github.com/StacklokLabs/toolhive/pkg/container/runtime"
17+
"github.com/StacklokLabs/toolhive/pkg/labels"
18+
"github.com/StacklokLabs/toolhive/pkg/logger"
1919
)
2020

2121
var listCmd = &cobra.Command{

cmd/thv/logs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77

88
"github.com/spf13/cobra"
99

10-
"github.com/stacklok/toolhive/pkg/container"
11-
"github.com/stacklok/toolhive/pkg/labels"
12-
"github.com/stacklok/toolhive/pkg/logger"
10+
"github.com/StacklokLabs/toolhive/pkg/container"
11+
"github.com/StacklokLabs/toolhive/pkg/labels"
12+
"github.com/StacklokLabs/toolhive/pkg/logger"
1313
)
1414

1515
func newLogsCommand() *cobra.Command {

0 commit comments

Comments
 (0)