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

10 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
7ba950a6a0 Refactor cloning dump file 2020-06-18 17:10:14 +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
a530b1506c Refactor URL parsing so it's not being called twice 2020-05-22 15:53:44 +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