Commit graph

1181 commits

Author SHA1 Message Date
nurazon59 9201500760 fix(test): add testcase and fix testcase 2026-04-16 01:13:35 +09:00
nurazon59 f6b96648d8 fix(test): Fix rm command tests to exercise command execution 2026-04-16 01:04:35 +09:00
Masayuki Matsuki f600896542
Merge pull request #483 from x-motemen/tagpr-from-v1.10.0 2026-04-11 23:37:22 +09:00
github-actions[bot] 500a99a5e9
[tagpr] update CHANGELOG.md 2026-04-11 14:14:09 +00:00
github-actions[bot] f51d964aa9
[tagpr] prepare for the next release 2026-04-11 14:14:08 +00:00
Masayuki Matsuki 3b1f4ad5a1
Merge pull request #481 from chris-monardo/chrism/rm-worktree
feat(rm): make ghq rm worktree-aware
2026-04-11 23:13:46 +09:00
Chris Monardo 1ce2e915fb address comments 2026-04-11 07:45:04 -04:00
Masayuki Matsuki 8506f1f526
Return an error instead of logging it when failing to delete the worktree.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-11 16:59:05 +09:00
Masayuki Matsuki ec14d34d39
Merge pull request #455 from x-motemen/tagpr-from-v1.9.4
Release for v1.10.0
2026-04-09 17:36:23 +09:00
github-actions[bot] b6ab1e9a45
[tagpr] update CHANGELOG.md 2026-04-09 07:41:23 +00:00
github-actions[bot] 12ffcb2d6c
[tagpr] prepare for the next release 2026-04-09 07:41:22 +00:00
Masayuki Matsuki 385a9940bb
Merge pull request #457 from KeitaShimura/feature/get-print-flag
feat(get): output local repository path to stdout
2026-04-09 16:40:57 +09:00
Chris Monardo 8a99bf1670 Make ghq rm worktree-aware
ghq rm previously used os.RemoveAll with no worktree awareness, which
caused two problems: removing a linked worktree left a dangling entry
in the parent repo's .git/worktrees/, and removing a repo that had
linked worktrees orphaned all of them.

Now ghq rm detects both scenarios:
- If the target is a linked worktree, use git worktree remove to
  properly unregister it from the parent repo.
- If the target repo has linked worktrees, prune each one before
  removing the main repo.

Extract shared worktree helpers into worktree.go so both cmd_rm.go
and cmd_migrate.go can reuse them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 02:57:37 -04:00
KeitaShimura 435ed0ec87 feat: remove --print flag and print local path by default 2026-04-09 15:24:09 +09:00
Masayuki Matsuki 723bf49fd6
Merge branch 'master' into feature/get-print-flag 2026-04-08 14:10:13 +09:00
Masayuki Matsuki c33ed436cf
Merge pull request #479 from x-motemen/dependabot/github_actions/crate-ci/typos-1.45.0
chore(deps): bump crate-ci/typos from 1.44.0 to 1.45.0
2026-04-08 14:03:31 +09:00
Masayuki Matsuki c1ee89a04f
Merge pull request #476 from x-motemen/dependabot/github_actions/codecov/codecov-action-6.0.0
chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0
2026-04-08 14:03:18 +09:00
Masayuki Matsuki 43600f28a6
Merge pull request #477 from x-motemen/dependabot/github_actions/reviewdog/action-actionlint-1.72.0
chore(deps): bump reviewdog/action-actionlint from 1.71.0 to 1.72.0
2026-04-08 14:02:43 +09:00
Masayuki Matsuki d25a363d0a
Merge pull request #475 from x-motemen/dependabot/github_actions/actions/setup-go-6.4.0
chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0
2026-04-08 14:02:27 +09:00
Masayuki Matsuki 6a0021954f
Merge pull request #473 from hezhizhen/upgrade-cli
Update urfave/cli/v2 to v3
2026-04-08 13:59:45 +09:00
Songmu d45b3d0e95
fix test.yaml 2026-04-08 13:55:32 +09:00
Masayuki Matsuki bdace9708d
Merge pull request #472 from sciencesakura/support-default-host
feat(get): add `ghq.defaultHost` config to resolve the default host.
2026-04-08 13:53:58 +09:00
Masayuki Matsuki d284552480
Merge pull request #478 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.18.1
chore(deps): bump Songmu/tagpr from 1.17.1 to 1.18.1
2026-04-08 13:50:35 +09:00
Masayuki Matsuki a8c8f050e9
Merge pull request #469 from nurazon59/feat/completion-ghq-rm-list
feat(completion): add ghq list completion to ghq rm in fish/zsh
2026-04-08 13:50:08 +09:00
dependabot[bot] bdf5b4c80c
chore(deps): bump crate-ci/typos from 1.44.0 to 1.45.0
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](631208b7aa...02ea592e44)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:29 +00:00
dependabot[bot] 54915f57a6
chore(deps): bump Songmu/tagpr from 1.17.1 to 1.18.1
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.17.1 to 1.18.1.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](b3fb894246...9d0f650553)

---
updated-dependencies:
- dependency-name: Songmu/tagpr
  dependency-version: 1.18.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:20 +00:00
dependabot[bot] 9c3659fffe
chore(deps): bump reviewdog/action-actionlint from 1.71.0 to 1.72.0
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.71.0 to 1.72.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](0d952c597e...6fb7acc99f)

---
updated-dependencies:
- dependency-name: reviewdog/action-actionlint
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:15 +00:00
dependabot[bot] 03b8efaa81
chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.2 to 6.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](671740ac38...57e3a136b7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 09:45:57 +00:00
dependabot[bot] bd68bf70aa
chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4b73464bb3...4a3601121d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 09:45:51 +00:00
Zhizhen He 3425b00fbc Enable suggest 2026-03-19 14:54:00 +08:00
Zhizhen He 7dff4b0aa8 Update urfave/cli/v2 to v3 2026-03-19 14:16:12 +08:00
sciencesakura 8b888f0737 docs: add a description of the ghq.defaultHost config. 2026-03-19 00:41:52 +09:00
sciencesakura c042fa4d99 feat(get): add ghq.defaultHost config to resolve the default host. 2026-03-19 00:16:13 +09:00
nurazon59 f0d52d2307 feat(completion): add ghq list completion to ghq rm in fish/zsh
The fish and zsh completions for `ghq rm` were missing repository
name suggestions from `ghq list`, making it inconvenient to use.
2026-03-18 23:27:43 +09:00
Masayuki Matsuki c71ae6ae4b
Merge pull request #467 from x-motemen/dependabot/go_modules/golang.org/x/net-0.52.0
chore(deps): bump golang.org/x/net from 0.50.0 to 0.52.0
2026-03-17 10:34:37 +09:00
Masayuki Matsuki e3decba1c0
Merge pull request #458 from x-motemen/dependabot/github_actions/reviewdog/action-actionlint-1.71.0
chore(deps): bump reviewdog/action-actionlint from 1.70.0 to 1.71.0
2026-03-17 10:34:13 +09:00
Masayuki Matsuki 719b543464
Merge pull request #462 from x-motemen/dependabot/github_actions/crate-ci/typos-1.44.0
chore(deps): bump crate-ci/typos from 1.43.4 to 1.44.0
2026-03-17 10:33:53 +09:00
dependabot[bot] 8edf244e22
chore(deps): bump golang.org/x/net from 0.50.0 to 0.52.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.50.0 to 0.52.0.
- [Commits](https://github.com/golang/net/compare/v0.50.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 01:32:46 +00:00
Masayuki Matsuki fdc03b5080
Merge pull request #463 from x-motemen/dependabot/github_actions/actions/setup-go-6.3.0
chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0
2026-03-17 10:32:20 +09:00
Masayuki Matsuki 54c751514b
Merge pull request #468 from x-motemen/dependabot/go_modules/golang.org/x/text-0.35.0
chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0
2026-03-17 10:31:06 +09:00
Masayuki Matsuki ed40ead1db
Merge pull request #461 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.17.1
chore(deps): bump Songmu/tagpr from 1.17.0 to 1.17.1
2026-03-17 10:30:49 +09:00
dependabot[bot] c25ed1ad70
chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 09:39:50 +00:00
Masayuki Matsuki ed918b5315
Merge pull request #465 from upft-kengotate/fix/zsh-completion
Update zsh completion to match current commands and flags
2026-03-04 11:01:27 +09:00
CC 舘 謙吾 c9d0ca0ad1 Update zsh completion to match current commands and flags
- Add ghq-dev to #compdef for development build completion
- Add rm and migrate to command list
- Add missing --bare flag to list, rm, and create subcommands
- Add migrate subcommand completion with directory completion

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 16:24:46 +09:00
dependabot[bot] ffd505d1a5
chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](7a3fe6cf4c...4b73464bb3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:53 +00:00
dependabot[bot] 57f0bc66e7
chore(deps): bump crate-ci/typos from 1.43.4 to 1.44.0
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.4 to 1.44.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](78bc6fb2c0...631208b7aa)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:47 +00:00
dependabot[bot] be2ccb10b3
chore(deps): bump Songmu/tagpr from 1.17.0 to 1.17.1
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](da82ed6743...b3fb894246)

---
updated-dependencies:
- dependency-name: Songmu/tagpr
  dependency-version: 1.17.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:36 +00:00
dependabot[bot] c5d8347d7b
chore(deps): bump reviewdog/action-actionlint from 1.70.0 to 1.71.0
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](e58ee9d111...0d952c597e)

---
updated-dependencies:
- dependency-name: reviewdog/action-actionlint
  dependency-version: 1.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 09:59:54 +00:00
KeitaShimura e7882d7169 feat(get): add --print flag to output local repository path 2026-02-23 00:11:12 +09:00
Songmu 531d4f1a5f
update 2026-02-17 17:24:34 +09:00