Philip Gai
8d10c36b44
feat: add --batch-size flag to push refs in batches ( #173 )
...
CodeQL / Analyze (go) (push) Has been cancelled
licenses check / licensed check (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
* feat: add --batch-size flag to push refs in batches
Add support for pushing refs in smaller batches to avoid server-side
limits and timeouts when syncing large repositories with many tags/branches.
- Add --batch-size flag (default 0 = no batching, original behavior)
- Add References() method to GitRepository interface
- Implement collectRefs() and pushRefsInBatches() helpers
- Add MinBatchSize validation (must be 0 or >= 10)
This addresses issues where repositories with 1000+ refs fail to sync
to GHES with 'command error on refs/heads/<branch>: failed' errors.
* test: add tests for batch-size flag and push batching functionality
* fix: pin tool dependencies to versions compatible with Go 1.21
* ci: fix docker compose v2 syntax and update setup-ruby action
* refactor: address PR review feedback
- Remove unused RefInfo struct from git.go
- Remove redundant pushedAny variable tracking in pushRefsInBatches
- Remove incomplete TestPushRefsInBatches_PartialUpToDate test (already covered by existing test case)
* docs: add --batch-size flag to README
2026-01-27 15:19:55 -06:00
dependabot[bot]
19a0a6e383
Bump ruby/setup-ruby from 1.173.0 to 1.174.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.173.0 to 1.174.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/5f19ec79cedfadb78ab837f95b87734d0003c899...6bd3d993c602f6b675728ebaecb2b569ff86e99b )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-22 20:22:05 +00:00
dependabot[bot]
ede2273643
Bump ruby/setup-ruby from 1.172.0 to 1.173.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.172.0 to 1.173.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/d4526a55538b775af234ba4af27118ed6f8f6677...5f19ec79cedfadb78ab837f95b87734d0003c899 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 20:29:57 +00:00
dependabot[bot]
403f0bb25e
Bump ruby/setup-ruby from 1.171.0 to 1.172.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.171.0 to 1.172.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/22fdc77bf4148f810455b226c90fb81b5cbc00a7...d4526a55538b775af234ba4af27118ed6f8f6677 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-29 22:51:37 +00:00
dependabot[bot]
dade8ced74
Bump ruby/setup-ruby from 1.151.0 to 1.171.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.151.0 to 1.171.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/bc1dd263b68cb5626dbb55d5c89777d79372c484...22fdc77bf4148f810455b226c90fb81b5cbc00a7 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 20:33:37 +00:00
dependabot[bot]
23fecd7e14
Bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-09 16:09:38 +00:00
Shawn Hartsell
fc6c0a105a
removing uneeded settings from licensed.yml
2024-02-09 10:04:18 -06:00
Shawn Hartsell
cc8ab3cbcf
fixing more mispellings
2024-01-17 14:40:57 -06:00
Shawn Hartsell
6a752b86fc
fixing spelling of licensed.yml
2024-01-17 14:39:54 -06:00