6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 19:44:41 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
bdfb8db73e Fix goreleaser configuration 2021-06-03 15:47:19 +02:00
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