62 Commits

Author SHA1 Message Date
Blair Hamilton
70f9fb45b8
Add sync feature with comprehensive testing and documentation
- Implement SyncDefaultBranch function with 4 safety checks
- Add 8 git helper functions (GetRemoteURL, HasLocalChanges, etc.)
- Add 640 lines of unit tests for git helpers (git_test.go)
- Add 2074 lines of sync tests with 45+ scenarios (sync_test.go)
- Integrate GHORG_SYNC_DEFAULT_BRANCH environment variable
- Add 8 testing targets to Makefile
- Update README.md with comprehensive sync feature documentation
- Update sample-conf.yaml with detailed configuration comments
- Add test coverage verification document

Safety checks implemented:
- Skips sync if uncommitted local changes
- Skips sync if unpushed commits
- Skips sync if commits not on default branch
- Skips sync if default branch diverged from HEAD

Test coverage: 51.6% overall, 76-100% on new functions
2025-12-08 11:14:28 -05:00
gabrie30
8ff9410049
Add Sourcehut SCM support and integration tests (#593) 2025-11-02 12:22:29 -08:00
gabrie30
ca50b7e98a
Update Go version to 1.24.6 and refresh dependencies (#568)
Bump Go version to 1.24.6 across workflows and go.mod files for consistency and latest features. Update dependencies in scripts/local-gitea/seeder/go.mod and go.sum, including code.gitea.io/sdk/gitea and indirect packages, to their latest versions.
2025-08-28 22:24:51 -07:00
gabrie30
331380417e
Add Gitea integration test system (#563)
Introduce scripts, configs, and Go tools for local Gitea integration testing. Includes workflow for GitHub Actions, seeding and test scenario configuration, runner and seeder binaries, and supporting shell scripts. Updates .gitignore to exclude Gitea test binaries.
2025-08-27 19:54:21 -07:00
gabrie30
cef5d1ed28
Create windows_gitlab_integration_tests.bat (#549) 2025-08-20 09:31:04 -07:00
gabrie30
badd0cc928
Update gitlab-ee-integration-tests.yml (#523) 2025-05-10 22:49:05 -07:00
gabrie30
a3b4416a34
Update pages.yml 2025-01-31 08:13:21 -08:00
gabrie30
2085d89ac4
Update pages.yml 2025-01-31 08:10:42 -08:00
gabrie30
30ca6dd5d0
Add gitlab integration tests (#434) 2024-07-09 18:07:00 -07:00
gabrie30
24ce6796d1
Update go version and go gitlab (#426) 2024-06-24 09:28:34 -07:00
gabrie30
27da827f13
Update go-build-test.yml (#362) 2023-10-28 11:52:30 -07:00
Jay Gabriels
c5d95679dc
Update workflow 2023-10-28 11:10:03 -07:00
LuckyTurtleDev
dc5a7c881b
add docker support fo armv7 (#361) 2023-10-27 07:46:32 -07:00
gabrie30
f990804b1d
Update docker workflows so they automatically trigger (#360) 2023-10-25 18:23:47 -07:00
Afonso Costa
63bac705ff
351/automated docker images (#354) 2023-10-22 16:51:56 -07:00
gabrie30
50de2cfc07
Fix examples command (#337) 2023-08-26 08:13:35 -07:00
gabrie30
6a628344fa
Update go version (#330) 2023-08-01 08:39:27 -07:00
Jay Gabriels
92965c8b25
Update goreleaser.yml 2023-07-23 08:59:44 -07:00
Avinash Sonawane
fff5d83ef6
Default value for GHORG_ABSOLUTE_PATH_TO_CLONE_TO is $HOME/ghorg (#301) 2023-04-23 11:28:48 -07:00
gabrie30
ba23444b77
Update goreleaser.yml 2023-03-27 09:31:59 -07:00
gabrie30
f77a9467a1
Update go.yml 2023-01-01 07:33:55 -08:00
gabrie30
63d9c299a5
Update goreleaser.yml 2023-01-01 07:33:29 -08:00
gabrie30
d1133bd056
Update goreleaser.yml 2022-12-31 13:06:15 -08:00
gabrie30
badafabeb3
Update goreleaser.yml 2022-12-31 13:03:25 -08:00
gabrie30
4e60cec809
Update goreleaser.yml 2022-12-31 13:02:05 -08:00
gabrie30
dc4f045605
Update goreleaser.yml 2022-12-31 12:55:13 -08:00
Jay Gabriels
5b8cb5db7e
Update FUNDING.yml 2022-08-29 20:58:44 -07:00
Jay Gabriels
0044a60c7a
Create FUNDING.yml 2022-08-29 20:57:57 -07:00
Jay Gabriels
8e43103a56
Update site workflow 2022-08-28 14:40:53 -07:00
Jay Gabriels
61a4496b22
Update site 2022-08-28 14:31:47 -07:00
Jay Gabriels
c5b515aaa7
Update pages.yml 2022-08-28 13:58:24 -07:00
Jay Gabriels
964ea05081
Update pages.yml 2022-08-28 13:56:48 -07:00
Jay Gabriels
4850110bfb
Add jekyll site (#243) 2022-08-28 13:55:21 -07:00
Jay Gabriels
0edda45858
Update pages.yml 2022-08-28 13:20:01 -07:00
Jay Gabriels
ab041006c0
Create pages.yml 2022-08-28 13:17:10 -07:00
Jay Gabriels
531e571675
Add gitlab cloud integration test (#233) 2022-08-10 22:41:11 -07:00
Jay Gabriels
cf08dc066f
Update dependabot.yml 2022-08-10 14:22:01 -07:00
Jay Gabriels
07e3f1fdba
Create dependabot.yml 2022-08-10 14:19:17 -07:00
Jay Gabriels
cb5805e88a
Update gitlab local setup (#227) 2022-08-07 15:57:44 -07:00
Jay Gabriels
f683d98dac
Update go to 1.18 and all dependencies (#222) 2022-08-04 17:52:03 -07:00
Jay Gabriels
81a1c91a99
Add exit code on clone issues flag (#212) 2022-06-19 10:52:59 -07:00
Jay Gabriels
5799574c3f
Update bug_report.md 2022-06-18 10:27:58 -07:00
Jay Gabriels
7fb445fcdc
Create codeql-analysis.yml 2022-05-26 07:37:09 -07:00
Jay Gabriels
ebec62a48f
Update bug_report.md 2022-05-05 11:21:50 -07:00
Jay Gabriels
9cf9a3ea15
Update bug_report.md 2022-05-04 18:10:39 -07:00
Jay Gabriels
607472f1bc
Update bug_report.md 2022-03-16 20:05:07 -07:00
Jay Gabriels
b751395524
Update bug_report.md 2022-03-16 20:04:13 -07:00
Jay Gabriels
27cd3a6290
Update README.md 2022-03-16 20:03:07 -07:00
Jay Gabriels
87e4b5414a
Privatebb (#186) 2022-02-26 09:22:55 -08:00
Jay Gabriels
29f454c5ad
Rename goreleaser.yaml to goreleaser.yml 2021-12-19 09:08:17 -08:00