Grzegorz Dlugoszewski
|
5fe2ddb74f
|
Cleanup empty directories created by a failed git clone
|
2020-07-30 20:31:06 +02:00 |
|
Grzegorz Dlugoszewski
|
d660a73c7f
|
Add a path to error messages when directory can't be accessed
|
2020-07-27 13:23:49 +02:00 |
|
Grzegorz Dlugoszewski
|
8c132cdafa
|
Remove gogit and major refactoring (#2)
* Fix typo in readme
* Reimplement all git methods without go-git
* Rename repo pkg to git, add gitconfig methods
* Improve tests for configuration reading
* Rename package file to io and move RepoFinder there
* Refactor printers
- Remove smart printer
- Decouple printers from git repos with interfaces
- Update printer functions
- Remove unnecessary flags
- Add better remote URL detection
* Update readme and go.mod
* Add author to git commit in tests
Otherwise tests will fail in CI.
* Install git before running tests and don't use cgo
* Add better error message, revert installing git
* Ensure commit message is in quotes
* Set up git config before running tests
|
2020-06-24 23:54:44 +02:00 |
|
Grzegorz Dlugoszewski
|
e5c3285040
|
Add output flag and simple tree option
|
2020-06-08 14:00:59 +02:00 |
|
Grzegorz Dlugoszewski
|
13c03bc2ef
|
Add new tree implementation and remove treeprint dependency
|
2020-06-06 10:00:11 +02:00 |
|
Grzegorz Dlugoszewski
|
239ff699a3
|
Add ssh key authentication when cloning via ssh
|
2020-06-04 15:45:46 +02:00 |
|
Grzegorz Dlugoszewski
|
f2d8496136
|
Refactor config provider using viper
|
2020-06-04 11:38:01 +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
|
1798816b6a
|
Enable accessing config from gitconfig file or env variables
|
2020-05-29 21:19:55 +02:00 |
|
Grzegorz Dlugoszewski
|
0e551ea342
|
Remove old dependencies from go.mod
|
2020-05-28 16:41:23 +02:00 |
|
Grzegorz Dlugoszewski
|
0b371341e7
|
Add branch status and tests
|
2020-05-27 20:30:04 +02:00 |
|
Grzegorz Dlugoszewski
|
fd49a9e41d
|
Remove in-memory tests and just use temp dirs
|
2020-05-27 14:49:28 +02:00 |
|
Grzegorz Dlugoszewski
|
616b476ce1
|
[WIP] Replace git2go with go-git
|
2020-05-26 21:35:57 +02:00 |
|
Grzegorz Dlugoszewski
|
632fb4a9c8
|
Remove git2go and replace it with go-git
|
2020-05-26 11:34:32 +02:00 |
|
Grzegorz Dlugoszewski
|
7ab4489dfe
|
Add ssh credentials callback when cloning via ssh protocol
|
2020-05-26 10:34:36 +02:00 |
|
Grzegorz Dlugoszewski
|
ac765c9c06
|
Add cobra commands and update project folder structure
|
2020-05-20 11:37:16 +02:00 |
|
Grzegorz Dlugoszewski
|
b2e5f9178b
|
Rename test helpers file
|
2020-05-18 13:25:46 +02:00 |
|
Grzegorz Dlugoszewski
|
271fcbed77
|
Use pkg/errors package for wrapping errors
|
2020-05-18 11:39:45 +02:00 |
|
Grzegorz Dlugoszewski
|
77636e2463
|
Add a simple unit test with a temp repository
|
2020-05-16 15:22:39 +02:00 |
|
Grzegorz Dlugoszewski
|
30205fbbdf
|
Add go modules and instructions for static building
|
2020-05-16 14:11:27 +02:00 |
|