Skip to content

chore: align module path and packaging with renamed repo (ssh-profile) - #6

Merged
kuyacarlo merged 1 commit into
mainfrom
chore/rename-ssh-profile
Aug 15, 2026
Merged

kuyacarlo merged 1 commit into
mainfrom
chore/rename-ssh-profile

Conversation

@kuyacarlo

Copy link
Copy Markdown
Owner

Pure rename, no behavioral change.

Closes #3

Changes

  • go.mod: module path github.com/ssh-profiles/git-ssh → github.com/kuyacarlo/ssh-profile
  • All import paths under cmd/, internal/, main.go updated to the new module prefix
  • Makefile PKG
  • install.sh REPO="kuyacarlo/ssh-profiles" → REPO="kuyacarlo/ssh-profile"
  • .goreleaser.yaml homepage
  • packaging/copr/git-ssh.spec: URL: → https://github.com/kuyacarlo/ssh-profile, and
    critical %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-ssh is 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 files
  • go 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 per
    VERIFICATION.md rule 3.
  • git grep -n 'ssh-profiles' in tracked files — empty (0 matches). The git remote URL
    is local config, not a tracked file.

Not verified here (structurally unavailable, per VERIFICATION.md)

  • Copr SRPM build — needs Fedora chroot + Copr credentials; only runnable via the
    copr-build.yml workflow. The %autosetup dir fix is code-verified only.

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>
@kuyacarlo
kuyacarlo merged commit 505840e into main Aug 15, 2026
1 check passed
@kuyacarlo
kuyacarlo deleted the chore/rename-ssh-profile branch August 15, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: align module path and packaging with renamed repo (ssh-profile)

1 participant