69 Commits

Author SHA1 Message Date
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
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
gabrie30
12bc4eb487
Refactor to use 'any' instead of 'interface{}' (#574) 2025-09-08 07:46:19 -07:00
gabrie30
9886bb0526
Sanitize token read from file and add tests (#573)
Improved GetTokenFromFile to remove BOM, whitespace, and control characters, ensuring only valid printable ASCII characters are returned. Added comprehensive tests for various token file formats and updated the changelog.
2025-09-06 22:37:20 -07:00
gabrie30
d5c8781768
Update configs.go (#465) 2024-10-16 19:28:48 -07:00
gabrie30
1ca84c6c42
Add preserve scm hostname flag (#458) 2024-09-21 20:06:27 -07:00
gabrie30
d236580306
Update github and github user call options (#430) 2024-06-29 09:19:04 -07:00
Daniel von Essen
a50b6b31b4
feat: Allow using file paths in --token and GHORG_*_TOKEN… (#358) 2023-10-25 17:50:42 -07:00
Jay Gabriels
4eba463d5c
Update clone help text 2023-07-14 08:14:11 -07:00
Jay Gabriels
290caff1ae
Update configs.go 2023-05-29 20:44:24 -07:00
gabrie30
3e126e751d
Add GHORG_NO_TOKEN (#299) 2023-04-09 12:40:37 -07:00
gabrie30
fa211f9882
Remove token length checks (#291) 2023-03-26 11:37:32 -07:00
Jay Gabriels
afdd9d441a
Update changelog 2023-03-11 08:36:51 -08:00
Antfere
7f324eac85
Fix Gitea tokens not being found in config.yaml file (#287)
* Adds support for Gitea options in config.yaml file

* Remove debug lines

---------

Co-authored-by: anon <anon@desktop.localdomain>
2023-03-11 08:09:08 -08:00
Jay Gabriels
ea5cb993d3
Remove logging errors from security commands 2022-10-20 21:27:33 -07:00
Jay Gabriels
b791554c78
Update verification of tokens set in configs 2022-07-31 14:42:32 -07:00
Jay Gabriels
334e730616
Add/reclone (#221)
* Add ghorg reclone command
2022-07-31 12:56:01 -07:00
paul david
fa948fcfb1
Add "prune" feature to clone (#206) 2022-06-01 19:53:14 -07:00
Jeffrey Lo
0fad064f3a
Add quiet mode (#197)
Configure with GHORG_QUIET=true. When true, all calls to `PrintInfo`
and `PrintSubtleInfo` will be silenced.
2022-03-15 21:29:45 -07:00
Jeffrey Lo
d58e64a910
Add support for GHORG_IGNORE_PATH (#194)
Enable users to pass a path to an ignore file via the
environment/config variable at GHORG_IGNORE_PATH.
2022-03-15 10:31:24 -07:00
Jay Gabriels
7275ef7537
Update configs_test.go 2022-01-14 09:28:18 -08:00
Jay Gabriels
e29f559e99
Update/trailingslash (#178) 2022-01-14 08:47:45 -08:00
Jay Gabriels
d7f79c86fe
Fix gitlab token length requirements (#176) 2022-01-13 08:47:10 -08:00
Jay Gabriels
d1f0be388f
Add/bboauth (#173)
* Add bitbucket oauth
2022-01-01 10:56:06 -08:00
Jay Gabriels
94fb639b8a
Update readme and fix new gitlab token checks from config file (#164) 2021-11-09 07:51:52 -08:00
Jay Gabriels
e6cf8a29b9
Update gitlab token validation length 2021-11-01 17:58:31 -07:00
Jay Gabriels
f0fb868bea
Update root command and allow configuration files to be passed as a flag (#142) 2021-08-14 11:06:49 -07:00
Jay Gabriels
b7ab5bcf2e
Update config init to read in config file (#141)
* Update config init to read in config file
2021-08-11 07:49:17 -07:00
Jay Gabriels
3c6fb5c4d5
Update/ghorgconf (#139)
* Update missing ghorg configuration message
2021-08-08 08:09:01 -07:00
Jay Gabriels
c6e98fe783
Update ghorg conf to be optional (#138) 2021-08-07 09:38:31 -07:00
Jay Gabriels
39a285bcb9
Add/matchregex (#137)
* Add regex match to filter repos based on regex
2021-08-05 21:50:47 -07:00
Jay Gabriels
ba78074411
updates for filepathing to be windows compatible (#134)
* updates for filepathing to be windows compatible
2021-08-02 19:10:18 -07:00
Jay Gabriels
d479395bdf
update ghorg branch to first look for repos default branch (#113)
* update ghorg branch to first look for repos default branch
2020-11-29 09:14:13 -08:00
6543
ab9fabfba2
Determine Supported Clients based on registered once (#106)
* Determine Supported Clients based on registered once

* rm dependencys from scm
2020-10-24 20:34:35 +02:00
Jay Gabriels
8e0e580ec2
add skip forks flag (#93) 2020-09-27 12:04:34 -07:00
6543
e502e972d6
Add gitea support (#90)
* add gitea support
2020-09-22 19:29:01 -07:00
Jay Gabriels
1f51ea9ddf
fix env to check for in configs, derp 2020-08-14 15:03:14 -07:00
Jay Gabriels
fd7c6fa09f
fix trailing slash bug 2020-08-14 14:56:09 -07:00
Jay Gabriels
2fb5011a16
add base-url flag to github (#85) 2020-08-13 08:01:53 -07:00
Jay Gabriels
e427bcf07d
remove gitlab namespaces concept 2020-08-12 19:26:41 -07:00
Jay Gabriels
3cce96c79e
add match prefix 2020-08-08 10:45:52 -07:00
Ryan Ross
4ed4c65fa1 rebasing 2020-07-16 09:54:10 -07:00
Jay Gabriels
45e1ec892f
bump version to 1.3.1 2020-07-11 12:35:14 -07:00
Jay Gabriels
3aa1e8b98c
add vendoring and some minor improvements 2020-07-11 09:54:34 -07:00
Jay Gabriels
68e7d04fe7
update ghorg conf location 2020-05-24 09:16:25 -07:00
Jay Gabriels
97e0aec320
add concurrency flag 2020-02-29 14:13:38 -08:00
Jay Gabriels
d0ce81dfc5
auto add trailing slash to path to clone to 2020-01-19 12:42:00 -08:00
Jay Gabriels
cc304a3416
add preserve dir flag for gitlab 2020-01-19 08:15:23 -08:00
Jay Gabriels
a6027897ba update gitlab env var token length requirement 2019-11-08 08:26:08 -08:00