From ef582ea9e80c18ddf61401568fe0757769b6f181 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Fri, 17 Apr 2026 22:57:48 -0500 Subject: [PATCH] chore: migrate module to devsy-org/ssh - Rename Go module from skevetter/ssh to devsy-org/ssh - Update all imports and README references - Update workflows to use devsy org secrets and v3 token action - Reset release manifest to v1.0.0 and clear changelog --- .github/workflows/release.yml | 6 +++--- .github/workflows/workflow-approval.yml | 10 ++++++++-- .release-please-manifest.json | 2 +- CHANGELOG.md | 20 -------------------- README.md | 10 +++++----- _examples/ssh-docker/docker.go | 2 +- _examples/ssh-forwardagent/forwardagent.go | 2 +- _examples/ssh-pty/pty.go | 2 +- _examples/ssh-publickey/public_key.go | 2 +- _examples/ssh-remoteforward/portforward.go | 2 +- _examples/ssh-sftpserver/sftp.go | 2 +- _examples/ssh-simple/simple.go | 2 +- _examples/ssh-timeouts/timeouts.go | 2 +- example_test.go | 2 +- go.mod | 2 +- 15 files changed, 27 insertions(+), 41 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68975ea..8fef92a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: actions/create-github-app-token@v2 + - uses: actions/create-github-app-token@v3 id: app-token with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} + app-id: ${{ secrets.DEVSY_GITHUB_APP_ID }} + private-key: ${{ secrets.DEVSY_GITHUB_APP_PRIVATE_KEY }} - uses: googleapis/release-please-action@v4 id: release with: diff --git a/.github/workflows/workflow-approval.yml b/.github/workflows/workflow-approval.yml index 9635c9a..2182949 100644 --- a/.github/workflows/workflow-approval.yml +++ b/.github/workflows/workflow-approval.yml @@ -10,7 +10,13 @@ jobs: name: Approve Workflows runs-on: ubuntu-latest steps: - - uses: mheap/automatic-approve-action@v1 + - uses: actions/create-github-app-token@v3 + id: app-token with: - token: ${{ secrets.GH_ACCESS_TOKEN }} + app-id: ${{ secrets.DEVSY_GITHUB_APP_ID }} + private-key: ${{ secrets.DEVSY_GITHUB_APP_PRIVATE_KEY }} + + - uses: skevetter/automatic-approve-action@v2 + with: + token: ${{ steps.app-token.outputs.token }} workflows: "commit.yml,lint.yml,prek.yml" diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9aa5a07..1772e6f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.1" + ".": "1.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index dcb93b6..825c32f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1 @@ # Changelog - -## [0.1.1](https://github.com/skevetter/ssh/compare/v0.1.0...v0.1.1) (2026-04-16) - - -### Bug Fixes - -* add checkout step to release workflow for auto-merge ([#25](https://github.com/skevetter/ssh/issues/25)) ([04f1a19](https://github.com/skevetter/ssh/commit/04f1a19a7b78ddf860a52730e254b30d0f61c787)) -* address lint issues in golangci config and streamlocal ([#9](https://github.com/skevetter/ssh/issues/9)) ([e15de8f](https://github.com/skevetter/ssh/commit/e15de8f6fc950cce962dfa4691b8de5158641ad7)) -* remove revive rule overrides and fix all resulting violations ([#21](https://github.com/skevetter/ssh/issues/21)) ([757e9f2](https://github.com/skevetter/ssh/commit/757e9f2aa2be13b0db5a5345043e52363e2eb305)) -* resolve all remaining lint issues ([#20](https://github.com/skevetter/ssh/issues/20)) ([9251de4](https://github.com/skevetter/ssh/commit/9251de43075d7153916ab1e7d7ff84a180ec4f77)) -* resolve errcheck lint issue in streamlocal.go ([#14](https://github.com/skevetter/ssh/issues/14)) ([1f166c4](https://github.com/skevetter/ssh/commit/1f166c48d6f01528685058dfce0fc724e7e0423b)) -* resolve errcheck lint issues in conn.go ([#11](https://github.com/skevetter/ssh/issues/11)) ([51e7394](https://github.com/skevetter/ssh/commit/51e739410f7da352304186622b7ace6ea691929d)) -* resolve gosec lint issues in x11.go ([#19](https://github.com/skevetter/ssh/issues/19)) ([edebb51](https://github.com/skevetter/ssh/commit/edebb510092d6dc6e51f07ebdaf50fdcd8c066c1)) -* resolve lint issues in agent.go ([#10](https://github.com/skevetter/ssh/issues/10)) ([be1e766](https://github.com/skevetter/ssh/commit/be1e76613a03c2809c5149f5e972e99fa4cbcef1)) -* resolve lint issues in options.go ([#12](https://github.com/skevetter/ssh/issues/12)) ([916b0bf](https://github.com/skevetter/ssh/commit/916b0bf99d77065d1cf3e630104d9d641537be34)) -* resolve lint issues in server.go ([#16](https://github.com/skevetter/ssh/issues/16)) ([7b416ea](https://github.com/skevetter/ssh/commit/7b416ea1f2b7a2bb9355590dcd2378bab1106d82)) -* resolve lint issues in session_test.go and server_test.go ([#18](https://github.com/skevetter/ssh/issues/18)) ([8f6a171](https://github.com/skevetter/ssh/commit/8f6a1718e1cafcfc76031cd8ad3ae4e85c086a33)) -* resolve lint issues in session.go ([#17](https://github.com/skevetter/ssh/issues/17)) ([5139e64](https://github.com/skevetter/ssh/commit/5139e64d81e8937a3e550c2b5da13a518e621279)) -* resolve lint issues in tcpip.go ([#15](https://github.com/skevetter/ssh/issues/15)) ([f831916](https://github.com/skevetter/ssh/commit/f831916d29ce1a0f50cc67e0b91d495512b84156)) -* resolve lint issues in test files ([#13](https://github.com/skevetter/ssh/issues/13)) ([374100f](https://github.com/skevetter/ssh/commit/374100fc619a681b161dc6c4f4a29a908868f531)) diff --git a/README.md b/README.md index 2009ac8..85108cf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# skevetter/ssh +# devsy-org/ssh -[![Go Reference](https://pkg.go.dev/badge/github.com/skevetter/ssh.svg)](https://pkg.go.dev/github.com/skevetter/ssh) +[![Go Reference](https://pkg.go.dev/badge/github.com/devsy-org/ssh.svg)](https://pkg.go.dev/github.com/devsy-org/ssh) A higher-level Go API for building SSH servers, wrapping [golang.org/x/crypto/ssh](https://pkg.go.dev/golang.org/x/crypto/ssh). @@ -17,7 +17,7 @@ import ( "io" "log" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func main() { @@ -32,7 +32,7 @@ func main() { ## Install ``` -go get github.com/skevetter/ssh +go get github.com/devsy-org/ssh ``` Requires Go 1.25+. The only runtime dependency is `golang.org/x/crypto`. @@ -135,7 +135,7 @@ See the [`_examples`](./_examples) directory for working demos: ## API Reference -[pkg.go.dev/github.com/skevetter/ssh](https://pkg.go.dev/github.com/skevetter/ssh) +[pkg.go.dev/github.com/devsy-org/ssh](https://pkg.go.dev/github.com/devsy-org/ssh) ## Contributing diff --git a/_examples/ssh-docker/docker.go b/_examples/ssh-docker/docker.go index f0ba366..52842f5 100644 --- a/_examples/ssh-docker/docker.go +++ b/_examples/ssh-docker/docker.go @@ -10,7 +10,7 @@ import ( "github.com/docker/docker/api/types/container" "github.com/docker/docker/client" "github.com/docker/docker/pkg/stdcopy" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func main() { diff --git a/_examples/ssh-forwardagent/forwardagent.go b/_examples/ssh-forwardagent/forwardagent.go index 89be18b..11560b8 100644 --- a/_examples/ssh-forwardagent/forwardagent.go +++ b/_examples/ssh-forwardagent/forwardagent.go @@ -5,7 +5,7 @@ import ( "log" "os/exec" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func main() { diff --git a/_examples/ssh-pty/pty.go b/_examples/ssh-pty/pty.go index 89d873f..199bd0e 100644 --- a/_examples/ssh-pty/pty.go +++ b/_examples/ssh-pty/pty.go @@ -10,7 +10,7 @@ import ( "unsafe" "github.com/creack/pty" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func setWinsize(f *os.File, w, h int) { diff --git a/_examples/ssh-publickey/public_key.go b/_examples/ssh-publickey/public_key.go index f80d331..c5d0aad 100644 --- a/_examples/ssh-publickey/public_key.go +++ b/_examples/ssh-publickey/public_key.go @@ -5,7 +5,7 @@ import ( "io" "log" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" gossh "golang.org/x/crypto/ssh" ) diff --git a/_examples/ssh-remoteforward/portforward.go b/_examples/ssh-remoteforward/portforward.go index 253801b..a8e6c20 100644 --- a/_examples/ssh-remoteforward/portforward.go +++ b/_examples/ssh-remoteforward/portforward.go @@ -4,7 +4,7 @@ import ( "io" "log" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func main() { diff --git a/_examples/ssh-sftpserver/sftp.go b/_examples/ssh-sftpserver/sftp.go index 5572da9..1003f0a 100644 --- a/_examples/ssh-sftpserver/sftp.go +++ b/_examples/ssh-sftpserver/sftp.go @@ -7,7 +7,7 @@ import ( "log" "github.com/pkg/sftp" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) // SftpHandler handler for SFTP subsystem diff --git a/_examples/ssh-simple/simple.go b/_examples/ssh-simple/simple.go index 681edf0..235fb83 100644 --- a/_examples/ssh-simple/simple.go +++ b/_examples/ssh-simple/simple.go @@ -5,7 +5,7 @@ import ( "io" "log" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func main() { diff --git a/_examples/ssh-timeouts/timeouts.go b/_examples/ssh-timeouts/timeouts.go index 3a5fb2a..8efa4b8 100644 --- a/_examples/ssh-timeouts/timeouts.go +++ b/_examples/ssh-timeouts/timeouts.go @@ -4,7 +4,7 @@ import ( "log" "time" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) var ( diff --git a/example_test.go b/example_test.go index ca25105..81160aa 100644 --- a/example_test.go +++ b/example_test.go @@ -4,7 +4,7 @@ import ( "io" "os" - "github.com/skevetter/ssh" + "github.com/devsy-org/ssh" ) func ExampleListenAndServe() { diff --git a/go.mod b/go.mod index b1a259d..7f2f78b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/skevetter/ssh +module github.com/devsy-org/ssh go 1.25