Grzegorz Dlugoszewski
|
7d2c9b1954
|
Fix tests after changing the way branches are ordered
"master" branch is now always on top.
|
2020-06-04 12:24:37 +02:00 |
|
Grzegorz Dlugoszewski
|
f2d8496136
|
Refactor config provider using viper
|
2020-06-04 11:38:01 +02:00 |
|
Grzegorz Dlugoszewski
|
205eecc073
|
Update branch name sorting to keep master always on top
|
2020-06-03 16:39:22 +02:00 |
|
Grzegorz Dlugoszewski
|
142fdf1844
|
Add printing status of multiple branches
|
2020-06-03 16:21:01 +02:00 |
|
Grzegorz Dlugoszewski
|
64dfea5a7f
|
Add a list flag and basic rendering of repos status
|
2020-06-03 15:59:51 +02:00 |
|
Grzegorz Dlugoszewski
|
b7bd30c960
|
Check if repos root exists and is not empty before opening repos
|
2020-06-03 13:25:01 +02:00 |
|
Grzegorz Dlugoszewski
|
8a79dcfd9f
|
Add checking what is the current branch and if HEAD is detached
|
2020-06-02 16:46:10 +02:00 |
|
Grzegorz Dlugoszewski
|
1406aa78c6
|
Load gitignore patterns also from files declared in excludesfile
|
2020-06-02 14:34:10 +02:00 |
|
Grzegorz Dlugoszewski
|
abf220355c
|
Add basic printing of all repos status
|
2020-06-02 12:40:22 +02:00 |
|
Grzegorz Dlugoszewski
|
cef21acc9e
|
Add nil pointer check when accessing config provider
|
2020-05-30 12:45:55 +02:00 |
|
Grzegorz Dlugoszewski
|
7e42b1e3e9
|
Use the configured default host when host is empty after parsing the URL
|
2020-05-30 12:45:07 +02:00 |
|
Grzegorz Dlugoszewski
|
1798816b6a
|
Enable accessing config from gitconfig file or env variables
|
2020-05-29 21:19:55 +02:00 |
|
Grzegorz Dlugoszewski
|
3335c81aa4
|
Refactor tests by removing redundant TestRepo struct
|
2020-05-29 10:11:08 +02:00 |
|
Grzegorz Dlugoszewski
|
1bc3928cf5
|
Finish refactoring by replacing old pkg with new one
|
2020-05-28 16:34:44 +02:00 |
|
Grzegorz Dlugoszewski
|
b94e655d4a
|
Refactor Clone method to use go-git
|
2020-05-27 12:54:49 +02:00 |
|
Grzegorz Dlugoszewski
|
7ab4489dfe
|
Add ssh credentials callback when cloning via ssh protocol
|
2020-05-26 10:34:36 +02:00 |
|
Grzegorz Dlugoszewski
|
a530b1506c
|
Refactor URL parsing so it's not being called twice
|
2020-05-22 15:53:44 +02:00 |
|
Grzegorz Dlugoszewski
|
2b622b99fe
|
Parse URL and create a repo dir inside CloneRepo function
|
2020-05-22 12:21:19 +02:00 |
|
Grzegorz Dlugoszewski
|
2bb6f06962
|
Add function for creating dirs for cloned repos
|
2020-05-22 10:33:15 +02:00 |
|
Grzegorz Dlugoszewski
|
3cdd1eddf4
|
Add a small URL corner case
|
2020-05-22 09:57:01 +02:00 |
|
Grzegorz Dlugoszewski
|
02e32a5543
|
Handle scp-like syntax in URL parsing, add more tests
|
2020-05-22 08:52:08 +02:00 |
|
Grzegorz Dlugoszewski
|
bb3a243829
|
Add URL parsing function and its unit tests
|
2020-05-21 22:48:28 +02:00 |
|
Grzegorz Dlugoszewski
|
91cf26ef27
|
Refactor Repo code and tests
- Add Repo as a separate type
- Merge together repo status and branches status
- Load status on repo opening
|
2020-05-20 14:44:59 +02:00 |
|
Grzegorz Dlugoszewski
|
ac765c9c06
|
Add cobra commands and update project folder structure
|
2020-05-20 11:37:16 +02:00 |
|