97 Commits

Author SHA1 Message Date
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
Jay Gabriels
8e815ecab1 add ls command (#109)
* add ls command
2020-10-31 09:50:10 -07:00
6543
559d9ef06b Refactor: use NewClient() interface to create a scm client (redo) (#108)
* Refactor: save perPage in scm client & use determineClient to load lib clients
2020-10-24 12:24:09 -07:00
Jay Gabriels
b914f94aa4 Revert "Refactor: use NewClient() interface to create a scm client (#105)" (#107)
This reverts commit 80a8ba0b73.
2020-10-24 09:47:11 -07:00
6543
80a8ba0b73 Refactor: use NewClient() interface to create a scm client (#105)
* Refactor: save perPage in scm client & use determineClient to load lib clients

* infent scm NewClient()

* wordings ...
2020-10-24 09:44:30 -07:00
6543
f5f10e7d22 Refactor: Client use interface implementation (#97)
* add `make fmt` to format go code
* use interface
* move all SCM things into scm package
2020-10-11 16:53:53 -07:00
Jay Gabriels
896c0d46e6 update spelling and gitlab example 2020-09-30 07:54:41 -07: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
43760b597d add ability to mock github client (#87)
* add ability to mock github client
2020-08-16 14:41:07 -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
48b8b1328e Merge branch 'master' into refactor 2020-07-11 07:55:59 -07:00
Leonardo Zamariola
1d3d554f0d Creating new var to hold the parentFolder name
This commit creates a new global var and stores the parent folder name on it.
2020-07-02 14:06:44 -03:00
Jay Gabriels
68e7d04fe7 update ghorg conf location 2020-05-24 09:16:25 -07:00
Jay Gabriels
7d33374b16 update remote after cloning to prevent apikey in remote url 2020-05-08 18:20:35 -07:00
Jay Gabriels
3e1cf8b6a9 move repo and scm providers into own packages 2020-04-05 10:40:32 -07:00
Jay Gabriels
cecf7b4037 pull out clonefunc 2020-04-05 07:48:11 -07:00
Jay Gabriels
924b57b624 update gitlab https clone url 2020-03-02 07:53:25 -08:00
Jay Gabriels
ec143d6114 align clone information 2020-02-29 18:34:06 -08:00
Jay Gabriels
84848e2569 update readme 2020-02-29 14:18:26 -08:00
Jay Gabriels
97e0aec320 add concurrency flag 2020-02-29 14:13:38 -08:00
Jay Gabriels
66b5da34ab clone https with token in url 2020-02-29 11:26:14 -08:00
Jay Gabriels
44f00160f5 Update clone.go 2020-02-17 18:46:56 -08:00
Jay Gabriels
907503a281 limit goroutines to 10 2020-02-17 18:27:20 -08:00
Jay Gabriels
7027c43d43 Update clone.go 2020-02-15 11:56:08 -08:00
Jay Gabriels
b24b939f93 use pull instead of fetch 2020-02-15 11:42:20 -08:00
Jay Gabriels
cc304a3416 add preserve dir flag for gitlab 2020-01-19 08:15:23 -08:00
Jay Gabriels
89c59389eb Merge branch 'master' of github.com:gabrie30/ghorg 2020-01-18 12:51:07 -08:00
Jay Gabriels
8ea560d49a add repo type 2020-01-18 12:51:00 -08:00
Smasherr
acb11628f7 Update clone.go 2020-01-06 16:36:42 +01:00
Jay Gabriels
ea2bb966df add backup suffix to ghorg folder on backup 2019-08-23 09:39:43 -07:00
Jay Gabriels
1aafd375c3 add backup env to sample-conf 2019-08-22 19:21:13 -07:00
verybadsoldier
d562177cc0 added option "--backup" to use parameter "--mirror" when cloning 2019-08-22 13:14:10 +02:00
Jay Gabriels
ac43c9a1fd add ghorgignore and skip archived flag 2019-08-20 20:42:30 -07:00
Jay Gabriels
6c5923a1a2 update readme and flags for base url changes 2019-08-20 08:29:04 -07:00
Jay Gabriels
65ce63a990 update error handling before cloning 2019-08-19 20:00:20 -07:00
Jay Gabriels
f6630c3997 add base url option for hosted gitlab 2019-08-19 08:31:16 -07:00
Jay Gabriels
09ad7fc4a0 add color toggle flag 2019-08-11 20:02:49 -07:00
Jay Gabriels
fd2fe6fb8e update cmd package documentation 2019-08-05 08:15:58 -07:00
Jay Gabriels
d6f3ed26c5 update print configs 2019-08-04 18:18:21 -07:00
Jay Gabriels
54744b597f add config output before cloning 2019-08-04 17:57:45 -07:00
Jay Gabriels
16ed2f63cf add better error messages 2019-08-04 14:48:31 -07:00
Jay Gabriels
664afb37b7 udpate clone command documentation 2019-08-03 13:30:00 -07:00
Jay Gabriels
c18bb3e165 update flag documentation 2019-08-03 13:15:19 -07:00
Jay Gabriels
88b019a783 add consistency to flag documentation 2019-08-03 13:00:06 -07:00