Repository navigation
chore: align module path and packaging with renamed repo (ssh-profile) - #6
Merged
Merged
Conversation
The GitHub repo was renamed kuyacarlo/ssh-profiles to kuyacarlo/ssh-profile.
Align the Go module path, import paths, and packaging references so the
repository and module match, avoiding go install breakage from the old
redirected name.
- go.mod: module path github.com/kuyacarlo/ssh-profile
- import paths under cmd/, internal/, main.go updated to the new prefix
- Makefile PKG
- install.sh REPO
- .goreleaser.yaml homepage
- packaging/copr/git-ssh.spec URL and %autosetup dir name
(ssh-profiles-%{version} -> ssh-profile-%{version}; renamed repo serves
the tarball as ssh-profile-<version>, the old value breaks the SRPM build)
Binary name stays git-ssh.
Closes #3
Signed-off-by: kuyacarlo <106532351+kuyacarlo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pure rename, no behavioral change.
Closes #3
Changes
go.mod: module pathgithub.com/ssh-profiles/git-ssh→github.com/kuyacarlo/ssh-profilecmd/,internal/,main.goupdated to the new module prefixMakefilePKGinstall.shREPO="kuyacarlo/ssh-profiles"→REPO="kuyacarlo/ssh-profile".goreleaser.yamlhomepagepackaging/copr/git-ssh.spec:URL:→https://github.com/kuyacarlo/ssh-profile, andcritical
%autosetup -n ssh-profiles-%{version}→%autosetup -n ssh-profile-%{version}(the renamed repo serves tarballs as
ssh-profile-<version>; the old value broke the SRPM build)Binary name
git-sshis unchanged everywhere.Verification
Red/green: pure rename with no behavioral change, so no new failing test precedes this (per VERIFICATION.md).
From the worktree (branch point
beeabdf):go build ./...— OK (0 errors)go test ./... -count=1— 10 packages ok, 1 no-test-files:github.com/kuyacarlo/ssh-profile, /cmd, /internal/apply, /internal/config, /internal/file,
/internal/git, /internal/include, /internal/keys, /internal/remoteurl, /internal/sshconfig
all
ok; /internal/ui no test filesgo vet ./...— OK (0 findings)make lint(golangci-lint) — 9 errcheck issues, pre-existing at branch point:identical 9 errcheck failures at origin/main (
cmd/check.go,cmd/clone.go,internal/git/git_test.go), so not introduced by this change and left alone perVERIFICATION.md rule 3.
git grep -n 'ssh-profiles'in tracked files — empty (0 matches). The git remote URLis local config, not a tracked file.
Not verified here (structurally unavailable, per VERIFICATION.md)
copr-build.ymlworkflow. The%autosetupdir fix is code-verified only.