Grzegorz Dlugoszewski
0df82ba272
Update incorrect module name - Go requires a domain-based path for public modules
2025-08-25 20:26:07 +02:00
Grzegorz Dlugoszewski
df6c239099
Add test parallelization and re-enable paralleltest linter
2025-08-25 19:13:09 +02:00
Grzegorz Dlugoszewski
c9a5539670
Fix issues found by testifylint linter
2025-08-24 17:28:21 +02:00
Grzegorz Dlugoszewski
7bc9cbb128
Fix issues found by goconst linter
2025-08-24 17:17:34 +02:00
Grzegorz Dlugoszewski
0d797d625a
Make the URL scheme default to ssh instead of https and make it configurable
2020-09-02 03:14:01 +02:00
Grzegorz Dlugoszewski
0064fc3b8e
Add --skip-host flag to get command ( #7 )
...
When set, git-get won't create a directory for the repo host.
So instead of `<root>/<host>/<user>/<repo>`, a repo will be cloned into `<root>/<user>/<repo>`.
It's useful if all repos some from the same host and that additional folder feels redundant.
2020-07-07 18:35:30 +02:00
Grzegorz Dlugoszewski
b8606568ef
Expand home dir path after reading config
2020-06-30 11:22:55 +02:00
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