Grzegorz Dlugoszewski
ca8681f997
Fix issues found by nlreturn linter
2025-08-24 18:28:09 +02:00
Grzegorz Dlugoszewski
2de126166f
Fix smaller issues found by various linters
2025-08-24 17:58:05 +02:00
Grzegorz Dlugoszewski
f20ab7dea2
Fix issues found by err113 linter
2025-08-24 16:53:48 +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
8a9002e678
Replace the godirwalk package with a native implementation, replace pathpkg with filepath for better cross-platform support
2025-08-24 12:55:40 +02:00
Grzegorz Dlugoszewski
7ecef9c85d
Replace deprecated modules
...
Replace go-homedir with builtin os.UserHomeDir and pkg/errors with
builtin errors
2025-08-11 20:43:49 +02:00
Grzegorz Dlugoszewski
f610fd9930
Add a worker pool to status loader
...
This will limit a number of councurrently running git commands when loading statuses of a large number of repositories.
2020-07-31 14:23:22 +02:00
Grzegorz Dlugoszewski
b2d1d773f7
Indicate if error occured during status loading and print the list of errors
2020-07-27 16:17:13 +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
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
13e936c376
Add repo finder tests
2020-07-08 14:58:19 +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