6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 19:09:45 +00:00

232 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
1ac43d75e0 Fix release github action and make it consistent with the CI workflow 2025-08-23 23:34:56 +02:00
Greg Dlugoszewski
93378bc8fe Merge pull request #24 from grdl/dependabot/github_actions/actions/checkout-5
ci(deps): bump actions/checkout from 4 to 5
2025-08-23 23:13:32 +02:00
Greg Dlugoszewski
c7b6413c17 Merge pull request #25 from grdl/dependabot/github_actions/codecov/codecov-action-5
ci(deps): bump codecov/codecov-action from 4 to 5
2025-08-23 23:10:10 +02:00
dependabot[bot]
43bead65f1 ci(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-23 21:10:04 +00:00
Greg Dlugoszewski
cd45ffe691 Merge pull request #26 from grdl/dependabot/go_modules/github.com/go-viper/mapstructure/v2-2.4.0
deps(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0
2025-08-23 23:09:20 +02:00
Greg Dlugoszewski
ab4544a490 Merge pull request #27 from grdl/issue-5-single-binary
Build a single binary instead of two
2025-08-23 23:08:33 +02:00
Grzegorz Dlugoszewski
38a76d6b04 Fix GitHub Actions to match the new single binary release 2025-08-23 23:05:01 +02:00
Grzegorz Dlugoszewski
71f62b2b97 Update goreleaser and readme to match the new single binary format 2025-08-23 22:48:00 +02:00
Grzegorz Dlugoszewski
f0365087ce Remove the awkward "built at" section from --version 2025-08-23 22:36:03 +02:00
Grzegorz Dlugoszewski
e1f73dc99d Replace two separate binaries with a single one 2025-08-23 22:06:56 +02:00
dependabot[bot]
d7e9aa4637 deps(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 14:53:14 +00:00
dependabot[bot]
7cac4aa497 ci(deps): bump codecov/codecov-action from 4 to 5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 06:51:25 +00:00
Greg Dlugoszewski
71e7f76063 Merge pull request #22 from grdl/issue-14-crash-on-empty-repo
Fix a git-list crash on empty repo or repo without a remote
2025-08-11 23:43:16 +02:00
Grzegorz Dlugoszewski
c16725ec05 Disable CI test on windows 2025-08-11 23:41:53 +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
0612421afc Add linting with golangci-lint to CI pipelines 2025-08-11 23:00:05 +02:00
Grzegorz Dlugoszewski
a4b92d5c9d Update GitHub actions workflows 2025-08-11 22:59:54 +02:00
Grzegorz Dlugoszewski
6215297f4b Update goreleaser config to match the recent version, add Scoop release target 2025-08-11 22:41:45 +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
Greg Dlugoszewski
f5355bba72 Merge pull request #21 from grdl/dependency-updates
Update Go version and dependencies, replace deprecated packages
2025-08-11 21:54:49 +02:00
Grzegorz Dlugoszewski
571018b779 Remove "push" trigger from GitHub actions, only build in pull requests 2025-08-11 21:51:52 +02:00
Grzegorz Dlugoszewski
7b5d96188c Update README.md with more details 2025-08-11 21:31:44 +02:00
Grzegorz Dlugoszewski
1222d5b4dd Upgrade all dependencies 2025-08-11 21:04:19 +02:00
Grzegorz Dlugoszewski
4f431eeb4b Update go version from 1.16 to 1.24 and github actions versions 2025-08-11 20:57:52 +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
Greg Dlugoszewski
8cd27a8f62 Create codeql-analysis.yml 2021-08-07 09:56:44 +02:00
Greg Dlugoszewski
bdfb8db73e Fix goreleaser configuration v0.5.0 2021-06-03 15:47:19 +02:00
Greg Dlugoszewski
b598d3859f Bump Go version and update changelog for v0.5.0 2021-06-03 15:07:56 +02:00
Greg Dlugoszewski
6cf0f76331 Merge pull request #15 from bl1nk/bump-go-version
Bump Go version to 1.16
2021-06-03 14:59:29 +02:00
Markus Cisler
70397d1469 Bump Go version to 1.16
This allows Go to build a native binary for Apple Silicon.

GoReleaser is used to build and release this project, GoReleaser
v0.157.0 released on 2021-02-17 will build a fitting binary
automatically as long as Go 1.16 is used. A bump of the Go version
should be everything that's needed to get this working natively on Apple
Silicon.
2021-05-05 00:19:17 +02:00
Grzegorz Dlugoszewski
f678f4f9d9 Update readme and changelog for v0.4.0 v0.4.0 2020-09-02 03:19:33 +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
ccbee82f0b Add __debug_bin to gitignore 2020-09-02 02:34:15 +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
929ba18c74 Update changelog for v0.3.0 v0.3.0 2020-07-31 09:41:26 +02:00
Grzegorz Dlugoszewski
874431e911 Merge branch 'master' of github.com:grdl/git-get 2020-07-31 09:36:53 +02:00
Grzegorz Dlugoszewski
d1a75b3e25 Merge pull request #13 from grdl/bugfix/9
Cleanup empty directories created by a failed git clone
2020-07-31 09:34:43 +02:00
Grzegorz Dlugoszewski
251ae401da Merge pull request #12 from grdl/error_handling
Improve error messages
2020-07-31 09:30:02 +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
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
8904cd1bb3 Merge pull request #11 from grdl/pkg_structure
Improve packages structure
2020-07-27 12:21:59 +02:00
Grzegorz Dlugoszewski
c2fe6e6bab Move test package inside the git package
It is not being used by other packages so it should belong to `git` package.
2020-07-27 12:17:30 +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
942af7df6d Update changelog for v0.2.0 v0.2.0 2020-07-08 15:06:31 +02:00
Grzegorz Dlugoszewski
2726afa8a5 Merge pull request #8 from grdl/io_pkg_refactor
io package refactoring
2020-07-08 15:01:12 +02:00
Grzegorz Dlugoszewski
13e936c376 Add repo finder tests 2020-07-08 14:58:19 +02:00
Grzegorz Dlugoszewski
cdca8b89d9 Move temp dir cleanup into tempDir function
Cleaning up belongs to a directory, not an abstract git repo.
2020-07-08 14:37:29 +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