6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 22:04:41 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
7ba950a6a0 Refactor cloning dump file 2020-06-18 17:10:14 +02:00
Grzegorz Dlugoszewski
3e9c7644c6 Rename bundle to dump 2020-06-18 15:47:15 +02:00
Grzegorz Dlugoszewski
5a588f22d1 Refactor implementations of get and list commands
- Simplify the main functions by moving actual implementation to "pkg" package
- Remove the "path" package and move files into the root "pkg" package
- Replace viper with explicit Cfg structs
2020-06-18 15:44:10 +02:00
Grzegorz Dlugoszewski
f3d0df1bfd Refactor packages structure
- Isolate files into their own packages
- Create new printer package and interface
- Refactor Repo stuct to embed the go-git *Repository directly
- Simplify cmd package
2020-06-08 12:07:03 +02:00
Grzegorz Dlugoszewski
f2d8496136 Refactor config provider using viper 2020-06-04 11:38:01 +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
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
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