248 Commits

Author SHA1 Message Date
gabrie30
c72625e7c6 Auth/GitHub app (#308) 2023-05-26 15:12:30 -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
3e126e751d Add GHORG_NO_TOKEN (#299) 2023-04-09 12:40:37 -07: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
26c96f50c0 Bump version 2023-01-07 13:00:45 -08:00
gabrie30
c3f7aec539 Update gitlab docs and local instanace (#273) 2023-01-06 17:34:12 -08:00
Jay Gabriels
cc401cfdd2 Update version.go 2023-01-01 07:40:46 -08:00
gabrie30
13acc617af Update gitlab path trim prefix if not all-groups (#268)
* Update gitlab path trim prefix if not all-groups
2022-12-31 11:28:16 -08:00
Jay Gabriels
e5820e2539 Add better error message to all user clones 2022-12-11 08:33:14 -08:00
gabrie30
636e98a9f6 Adds all-users clone for hosted gitlab instances (#266) 2022-12-10 15:36:34 -08:00
Jay Gabriels
b8368b6315 Update version.go 2022-11-05 08:18:07 -07:00
Jay Gabriels
b06dadf3ff Add insecure gitea client flag (#259) 2022-11-04 08:46:37 -07:00
Jay Gabriels
1db38f8d50 Update setting of reclone envs (#254) 2022-10-26 07:31:17 -07:00
Jay Gabriels
793143ef33 Update reclone command to skip more envs (#253) 2022-10-22 16:56:27 -07:00
Jay Gabriels
ea5cb993d3 Remove logging errors from security commands 2022-10-20 21:27:33 -07:00
Jay Gabriels
2796d66172 Update checkout error message 2022-08-30 17:00:53 -07:00
Jay Gabriels
bb780ef2a1 Add filename length limit on gitlab repos with name collisions (#242) 2022-08-28 09:18:22 -07:00
Jay Gabriels
178d084879 Fix scms prompting for credentials (#240) 2022-08-19 11:27:11 -07:00
Jay Gabriels
0aba366dba Change default behavior of gitlab repo name collisions (#239) 2022-08-17 23:21:32 -07:00
Jay Gabriels
9f5ca3d3c4 Add git filter flag to clone command (#236) 2022-08-13 10:24:10 -07:00
Jay Gabriels
1c74595dce Add include submodules flag (#235) 2022-08-12 18:17:02 -07:00
Jay Gabriels
e8f7404df2 Fix gitlab clone repo name collision issue (#226) 2022-08-06 20:44:53 -07:00
Jay Gabriels
c1f6f48452 Update reclone command logging format (#223) 2022-08-06 10:09:55 -07:00
Jay Gabriels
f683d98dac Update go to 1.18 and all dependencies (#222) 2022-08-04 17:52:03 -07:00
Jay Gabriels
4a879a43ad Update reclone documentation 2022-08-03 07:54:35 -07:00
Jay Gabriels
265478768a update reclone flag 2022-08-01 18:47:08 -07:00
Jay Gabriels
d252d0fdeb Update reclone.go 2022-07-31 17:39:03 -07:00
Jay Gabriels
20817b9736 Unset envs in ghorg reclone 2022-07-31 17:20:53 -07:00
Jay Gabriels
ddacc20e44 better logging 2022-07-31 15:38:59 -07:00
Jay Gabriels
334e730616 Add/reclone (#221)
* Add ghorg reclone command
2022-07-31 12:56:01 -07:00
Jay Gabriels
7fe5407d75 Add exit code on clone issues (#215) 2022-06-25 11:30:56 -07:00
Jay Gabriels
445316e9ce Fixes prune for wikis and gitlab sub groups (#214) 2022-06-20 19:40:53 -07:00
Jay Gabriels
cf276571c4 Add updated remote count to clone stats (#213) 2022-06-19 11:28:20 -07:00
Jay Gabriels
81a1c91a99 Add exit code on clone issues flag (#212) 2022-06-19 10:52:59 -07:00
Jay Gabriels
3a228a4b06 Fix prune command to work with backups (#209) 2022-06-18 10:26:26 -07:00
Jay Gabriels
5ea4274706 Update prune descriptions 2022-06-01 20:19:41 -07:00
Jay Gabriels
f69344b265 Update version 2022-06-01 20:07:10 -07:00
paul david
fa948fcfb1 Add "prune" feature to clone (#206) 2022-06-01 19:53:14 -07:00
Jay Gabriels
ce232f0072 Update/version (#204)
* Create SECURITY.md

* Update version command

* Update CHANGELOG.md
2022-05-29 08:53:47 -07:00
Jay Gabriels
f4c92ee838 Update/deps (#203) 2022-05-25 17:06:01 -07:00
Jay Gabriels
da4ac382bc Update github scm to know when user is cloning own repos (#201) 2022-04-17 17:51:53 -07:00
Jay Gabriels
8f562742b4 Update CHANGELOG.md (#198) 2022-03-15 21:36:13 -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
Jay Gabriels
c98518e51a Update GHORG_IGNORE_PATH to be set as a flag (#196) 2022-03-15 17:46:10 -07:00
Jeffrey Lo
2222499e9a Add support for current directory configuration (#195)
Given a ghorg.yaml in the current working directory, respect it.
2022-03-15 11:31:38 -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
9bc1e281ec Add filter gitlab groups by regex (#192) 2022-03-04 19:22:40 -08:00
Jay Gabriels
351dbfd88a Update version.go 2022-03-03 18:59:30 -08:00
Stefan Hojer
f90440ec1f fix: allow to override config with env variables (#190) 2022-03-03 08:10:18 -08:00
Nils Fahldieck
1bd5cb2da2 Actually use GHORG_CONFIG environment variable if set (#189) 2022-03-01 09:45:44 -08:00