116 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
0e63d0a339 Update ls.go 2020-11-23 19:03:51 -08:00
Jay Gabriels
07b6c43357 update error messages for ls command 2020-11-06 21:25:32 -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
Jay Gabriels
007c1752f7 update readme and changlog 2020-09-22 19:33:32 -07:00
6543
e502e972d6 Add gitea support (#90)
* add gitea support
2020-09-22 19:29:01 -07:00
Jay Gabriels
3ce98bf871 cut new release 2020-09-04 09:52:00 -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
eb0f9562bc Merge branch 'master' into refactor 2020-04-05 09:42:18 -07:00
Jay Gabriels
676e0f0010 fix gitlab client issues 2020-04-05 08:20:33 -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
320652ca2e bump minor version for concurrency
existing users looking to upgrade will need to update their kuve/conf.yaml
2020-03-01 11:43:24 -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
18748d2256 Update version.go 2020-02-17 12:04:33 -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
c9032b0854 bump version 2020-01-19 08:35:51 -08:00
Jay Gabriels
015fe304c4 Update version.go 2020-01-19 08:34:05 -08:00
Jay Gabriels
cc304a3416 add preserve dir flag for gitlab 2020-01-19 08:15:23 -08:00
Jay Gabriels
1d73ebc54d add path to gitlab clone 2020-01-18 14:19:05 -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