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
ca8681f997
Fix issues found by nlreturn linter
2025-08-24 18:28:09 +02:00
Grzegorz Dlugoszewski
1bf52c4c32
Fix issues found by perfsprint linter
2025-08-24 18:22:49 +02:00
Grzegorz Dlugoszewski
2de126166f
Fix smaller issues found by various linters
2025-08-24 17:58:05 +02:00
Grzegorz Dlugoszewski
eadc2ff45e
Fix issues found by godot linter
2025-08-24 17:18:03 +02:00
Grzegorz Dlugoszewski
f60cfd1e40
Fix issues found by varnamelen linter
2025-08-24 15:44:22 +02:00
Grzegorz Dlugoszewski
0bf2765349
Fix issues found by wsl linter
2025-08-24 14:54:02 +02:00
Grzegorz Dlugoszewski
31fa76afb8
Fix failing windows tests
...
Fix incorrect filepath.join usage in building filepaths from URL
2025-08-11 23:34:05 +02:00
Grzegorz Dlugoszewski
fe007fda43
Fix a git-list crash on empty repo or repo without a remote
2025-08-11 22:13:56 +02:00
Grzegorz Dlugoszewski
ef3369bd4e
Fix typos in a comment
2020-07-31 09:28:48 +02:00
Grzegorz Dlugoszewski
5fe2ddb74f
Cleanup empty directories created by a failed git clone
2020-07-30 20:31:06 +02:00
Grzegorz Dlugoszewski
3aef50a4d0
Move status loader into the git package
...
- Loading status belongs to git domain so it makes more sense for it to
be in git package.
- It also makes the `list` file simpler.
- Because status loader is now part of the RepoFinder, the ugly Repo interface is no longer necessary.
2020-07-27 11:15:35 +02:00
Grzegorz Dlugoszewski
8ab4681c26
Refactor repoFinder
...
- Remove io package and move finder to git package
- Move tempDir and writeFile into test package. They are only used for testing purposes anyway.
- Add a way to specify parent folder for tempDir. Useful for testing nested repos.
- Add new test repos with .git/config files
2020-07-08 14:37:29 +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