Grzegorz Dlugoszewski
|
d964158bf7
|
Fix problems with loading values from gitconfig
|
2020-06-30 21:25:42 +02:00 |
|
Grzegorz Dlugoszewski
|
235ea0d811
|
Replace path.Join with filepath.Join
Path is for URLs, filepath is for os paths. This solves the problem with wrong repo root on windows.
|
2020-06-30 11:25:49 +02:00 |
|
Grzegorz Dlugoszewski
|
7b9e74f903
|
Skip cloning a repo if target path already exists when getting a dump file
|
2020-06-30 10:23:10 +02:00 |
|
Grzegorz Dlugoszewski
|
28b24ec5ce
|
Add a run package responsible for running git commands
- Add better git error handling
- Move repo helpers into a separate package
|
2020-06-26 13:36:58 +02:00 |
|
Grzegorz Dlugoszewski
|
7c5abae165
|
Remove verbose flags from git clone
|
2020-06-25 13:00:30 +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
|
8511cd6c97
|
Rename git package to repo package
|
2020-06-18 14:22:03 +02:00 |
|
Grzegorz Dlugoszewski
|
33ca245d3a
|
Refactor pkg directory back
|
2020-06-12 20:19:05 +02:00 |
|