943 Commits

Author SHA1 Message Date
gabrie30
209e7a023c
Restore original branch when protecting local repos (#635) 2026-03-22 07:54:02 -07:00
gabrie30
9e2c5aa34e
Update CHANGELOG.md 2026-03-21 16:31:20 -07:00
gabrie30
e34373ee9c
Add --fetch-prune option for git fetch (#634) 2026-03-21 09:08:31 -07:00
gabrie30
32febf75e2
Add --protect-local to skip dirty repos (#633)
* Add --protect-local to skip dirty repos

Introduce a --protect-local flag (GHORG_PROTECT_LOCAL) to skip updating repositories that have uncommitted changes or unpushed commits. Adds detection logic (hasLocalChanges) and tracks protected repos/stats (ProtectedCount, protectedRepos), updates status output/printing to include protected counts, and registers the flag in root command and sample-conf.yaml. Includes changelog entry and a suite of tests exercising dirty, unpushed, clean, backup/no-clean bypass, and new-repo behavior.

* Bump GitHub Actions Go to 1.25.0
2026-03-21 08:22:56 -07:00
George Kapetanakis
67488f23fa
Fix handling of unset environment variables (#632) 2026-03-19 17:24:39 -07:00
gabrie30
f70c040211
Add ghorg-create-workspace skill and changelog
Introduce a new skill at skills/ghorg-create-workspace/SKILL.md that creates a ghorg reclone workspace (repo list, reclone.yaml entry, runs ghorg reclone, and generates a VS Code workspace file). Also update CHANGELOG.md under [1.11.10] - unreleased to list the new ghorg-create-workspace skill and note the GHORG_GITHUB_USER_GISTS flag to clone a GitHub user's gists (#626).
2026-03-10 17:43:24 -07:00
Copilot
e3a4dbcb49
Add GHORG_GITHUB_USER_GISTS flag to clone a GitHub user's gists (#626) 2026-03-09 18:30:08 -07:00
dependabot[bot]
9321322a65
Bump gitlab.com/gitlab-org/api/client-go from 1.24.0 to 1.45.0 (#622)
Bumps [gitlab.com/gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go) from 1.24.0 to 1.45.0.
- [Release notes](https://gitlab.com/gitlab-org/api/client-go/tags)
- [Changelog](https://gitlab.com/gitlab-org/api/client-go/blob/main/CHANGELOG.md)
- [Commits](https://gitlab.com/gitlab-org/api/client-go/compare/v1.24.0...v1.45.0)

---
updated-dependencies:
- dependency-name: gitlab.com/gitlab-org/api/client-go
  dependency-version: 1.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 09:55:07 -08:00
dependabot[bot]
bb6d95a1a7
Bump code.gitea.io/sdk/gitea from 0.22.1 to 0.23.2 (#624)
Bumps code.gitea.io/sdk/gitea from 0.22.1 to 0.23.2.

---
updated-dependencies:
- dependency-name: code.gitea.io/sdk/gitea
  dependency-version: 0.23.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2026-03-01 09:54:20 -08:00
dependabot[bot]
aad8c38b6b
Bump github.com/ktrysmt/go-bitbucket from 0.9.88 to 0.9.94 (#625)
Bumps [github.com/ktrysmt/go-bitbucket](https://github.com/ktrysmt/go-bitbucket) from 0.9.88 to 0.9.94.
- [Release notes](https://github.com/ktrysmt/go-bitbucket/releases)
- [Commits](https://github.com/ktrysmt/go-bitbucket/compare/v0.9.88...v0.9.94)

---
updated-dependencies:
- dependency-name: github.com/ktrysmt/go-bitbucket
  dependency-version: 0.9.94
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 09:53:58 -08:00
gabrie30
3bb80f37fc
Update PULL_REQUEST_TEMPLATE.md 2026-02-23 21:17:59 -08:00
gabrie30
2830b89c8f
Bump version to v1.11.10
Update the ghorgVersion constant to v1.11.10 and add an unreleased [1.11.10] section to CHANGELOG.md with placeholder subsections. Prepares repository for the upcoming release.
2026-02-07 12:56:06 -08:00
Copilot
36bc69d365
Enhance CLI help with usage examples and detailed flag descriptions (#619) 2026-02-07 12:55:02 -08:00
gabrie30
1d649fcf08
Update CHANGELOG.md v1.11.9 2026-02-07 12:32:54 -08:00
gabrie30
986b37f0ac
Handle quoted args in reclone commands (#618) 2026-02-07 10:47:58 -08:00
gabrie30
7626fc2d80
Add GitLab group match regex filter (#617) 2026-02-07 10:32:18 -08:00
gabrie30
0e00d0b08d
Update CHANGELOG.md v1.11.8 2026-02-01 10:35:52 -08:00
gabrie30
bb51ce3693
Update CHANGELOG.md 2026-02-01 09:13:40 -08:00
dependabot[bot]
f07cabeb01
Bump gitlab.com/gitlab-org/api/client-go from 1.10.0 to 1.24.0 (#613)
Bumps [gitlab.com/gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go) from 1.10.0 to 1.24.0.
- [Release notes](https://gitlab.com/gitlab-org/api/client-go/tags)
- [Changelog](https://gitlab.com/gitlab-org/api/client-go/blob/main/CHANGELOG.md)
- [Commits](https://gitlab.com/gitlab-org/api/client-go/compare/v1.10.0...v1.24.0)

---
updated-dependencies:
- dependency-name: gitlab.com/gitlab-org/api/client-go
  dependency-version: 1.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-01 08:56:34 -08:00
gabrie30
231f9e55e2
Add support for custom SSH hostname in clone URLs (#612) 2026-01-31 14:51:04 -08:00
gabrie30
4067b487bf
Fixes for dependabot update (#610) 2026-01-01 08:16:09 -08:00
dependabot[bot]
aa326cf61d
Bump golang.org/x/oauth2 from 0.32.0 to 0.34.0 (#607)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.32.0 to 0.34.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.32.0...v0.34.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2026-01-01 07:08:30 -08:00
dependabot[bot]
9bcd69f52b
Bump github.com/ktrysmt/go-bitbucket from 0.9.87 to 0.9.88 (#606)
Bumps [github.com/ktrysmt/go-bitbucket](https://github.com/ktrysmt/go-bitbucket) from 0.9.87 to 0.9.88.
- [Release notes](https://github.com/ktrysmt/go-bitbucket/releases)
- [Commits](https://github.com/ktrysmt/go-bitbucket/compare/v0.9.87...v0.9.88)

---
updated-dependencies:
- dependency-name: github.com/ktrysmt/go-bitbucket
  dependency-version: 0.9.88
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-01 07:08:04 -08:00
dependabot[bot]
087122122e
Bump github.com/spf13/cobra from 1.10.1 to 1.10.2 (#608)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2026-01-01 07:06:55 -08:00
dependabot[bot]
ceeb94e96e
Bump gitlab.com/gitlab-org/api/client-go from 0.157.1 to 1.10.0 (#609)
Bumps [gitlab.com/gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go) from 0.157.1 to 1.10.0.
- [Release notes](https://gitlab.com/gitlab-org/api/client-go/tags)
- [Changelog](https://gitlab.com/gitlab-org/api/client-go/blob/main/CHANGELOG.md)
- [Commits](https://gitlab.com/gitlab-org/api/client-go/compare/v0.157.1...v1.10.0)

---
updated-dependencies:
- dependency-name: gitlab.com/gitlab-org/api/client-go
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-01 07:06:15 -08:00
Jean-Yves LENHOF
f9e0b52861
docs(README): add mise alternative method installation (#605) 2025-12-19 08:40:58 -08:00
gabrie30
4b74a3d110
Add Bitbucket Cloud API token authentication support (#604) 2025-12-18 10:30:52 -08:00
Blair Hamilton
9015afb0f1
fix: update vulnerable dependencies to address security issues (#598)
Updates two dependencies with known security vulnerabilities:

1. github.com/gomarkdown/markdown
   - Updated from v0.0.0-20191123064959-2c17d62f5098 (Nov 2019)
   - Updated to v0.0.0-20250810172220-2e2c11897d1a (Aug 2025)   - Fixes 2 HIGH severity vulnerabilities reported by OSV scanner2. github.com/disintegration/imaging   - Updated from v1.6.2   - Updated to v1.6.3-0.20201218193011-d40f48ce0f09 (master branch)
   - Fixes 1 MEDIUM severity vulnerability
   - Note: Using master branch as no new tagged release available since 2019

Both packages are indirect dependencies pulled in through
github.com/MichaelMure/go-term-markdown.

Changes:
- go get github.com/gomarkdown/markdown@latest
- go get github.com/disintegration/imaging@master
- go mod tidy
- go mod vendor

All tests pass and build successful.
2025-12-07 14:00:12 -08:00
gabrie30
4d87d97b59
Bump version to v1.11.8 and update changelog
Prepared for the next release by updating the version constant to v1.11.8 in cmd/version.go and adding a new unreleased section to CHANGELOG.md.
2025-12-06 08:01:17 -08:00
gabrie30
79c2ca9af5
Update CHANGELOG.md v1.11.7 2025-12-06 07:59:18 -08:00
gabrie30
0bf4cb1694
Update CHANGELOG.md 2025-11-29 09:23:18 -08:00
gabrie30
adf25948f5
Add parallel pagination for SCM repo fetching (#597) 2025-11-29 09:22:41 -08:00
dependabot[bot]
515232a549
Bump golang.org/x/crypto in /scripts/local-gitea/seeder (#595)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2025-11-19 21:09:34 -08:00
dependabot[bot]
18ed8b2baa
Bump golang.org/x/crypto from 0.39.0 to 0.45.0 (#596)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 21:09:11 -08:00
gabrie30
eceb10f6d4
Add GHORG_FETCH_ALL check to no-clean mode processing (#594)
The handleNoCleanMode function now only performs fetch-all operations if GHORG_FETCH_ALL is set to true, improving control over repository processing. Added tests to verify behavior when fetch-all is enabled and disabled.
2025-11-08 07:36:03 -08:00
gabrie30
f05578e580
Bump version to v1.11.7 and update changelog
Updated the version constant in cmd/version.go to v1.11.7 and added an unreleased section for 1.11.7 in CHANGELOG.md to prepare for the next release.
2025-11-06 07:53:42 -08:00
gabrie30
43647d3fd3
Strip tilde from Sourcehut usernames in output dir v1.11.6 2025-11-06 07:51:17 -08:00
gabrie30
5c1d87b69d
updates 2025-11-03 21:58:34 -08:00
dependabot[bot]
2ac2813222
Bump gitlab.com/gitlab-org/api/client-go from 0.150.0 to 0.157.1 (#592)
Bumps [gitlab.com/gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go) from 0.150.0 to 0.157.1.
- [Release notes](https://gitlab.com/gitlab-org/api/client-go/tags)
- [Changelog](https://gitlab.com/gitlab-org/api/client-go/blob/main/CHANGELOG.md)
- [Commits](https://gitlab.com/gitlab-org/api/client-go/compare/v0.150.0...v0.157.1)

---
updated-dependencies:
- dependency-name: gitlab.com/gitlab-org/api/client-go
  dependency-version: 0.157.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 12:24:28 -08:00
dependabot[bot]
2157b6b986
Bump code.gitea.io/sdk/gitea from 0.22.0 to 0.22.1 (#591)
Bumps code.gitea.io/sdk/gitea from 0.22.0 to 0.22.1.

---
updated-dependencies:
- dependency-name: code.gitea.io/sdk/gitea
  dependency-version: 0.22.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2025-11-02 12:23:33 -08:00
dependabot[bot]
b227dc66be
Bump golang.org/x/oauth2 from 0.31.0 to 0.32.0 (#590)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.31.0...v0.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gabrie30 <gabrie30@users.noreply.github.com>
2025-11-02 12:22:56 -08:00
gabrie30
8ff9410049
Add Sourcehut SCM support and integration tests (#593) 2025-11-02 12:22:29 -08:00
Blake Williams
a838fb0afe
Sourcehut support (#589) 2025-11-02 08:10:41 -08:00
gabrie30
939b74f081
Bump version to v1.11.6 and update changelog 2025-10-30 22:15:10 -07:00
gabrie30
2fbe4942ce
Update CHANGELOG.md v1.11.5 2025-10-30 22:13:08 -07:00
gabrie30
a318b87e79
Update CHANGELOG.md 2025-10-30 22:10:53 -07:00
gabrie30
d7f973c87b
Update github_cloud_integration_tests.sh (#588) 2025-10-30 07:47:18 -07:00
gabrie30
02472ab062
Document ghorgonly file support in changelog and README
Added details about the new `ghorgonly` file feature, which allows cloning only repositories matching specified substring patterns. Updated the CHANGELOG and README to describe usage, configuration, and CSV output changes related to this filter.
2025-10-30 07:04:25 -07:00
François Gouteroux
849491d3bf
feat: add ghorgonly file to clone only targets repo matching lines substring (#587) 2025-10-30 00:04:01 -07:00
dependabot[bot]
170209b254
Bump gitlab.com/gitlab-org/api/client-go from 0.142.0 to 0.148.1 (#583)
Bumps [gitlab.com/gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go) from 0.142.0 to 0.148.1.
- [Release notes](https://gitlab.com/gitlab-org/api/client-go/tags)
- [Changelog](https://gitlab.com/gitlab-org/api/client-go/blob/main/CHANGELOG.md)
- [Commits](https://gitlab.com/gitlab-org/api/client-go/compare/v0.142.0...v0.148.1)

---
updated-dependencies:
- dependency-name: gitlab.com/gitlab-org/api/client-go
  dependency-version: 0.148.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 08:48:49 -07:00