6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 17:24:49 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
b31de718d4 Simplify linters config, fix cyclop issues in main.go 2025-08-24 14:29:56 +02:00
Grzegorz Dlugoszewski
b1e76b9071 Move the scoop manifests to homebrew-tap repo 2025-08-24 13:28:48 +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
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
6215297f4b Update goreleaser config to match the recent version, add Scoop release target 2025-08-11 22:41:45 +02:00
Grzegorz Dlugoszewski
7b5d96188c Update README.md with more details 2025-08-11 21:31:44 +02:00
Grzegorz Dlugoszewski
f678f4f9d9 Update readme and changelog for v0.4.0 2020-09-02 03:19:33 +02:00
Grzegorz Dlugoszewski
0064fc3b8e Add --skip-host flag to get command (#7)
When set, git-get won't create a directory for the repo host.
So instead of `<root>/<host>/<user>/<repo>`, a repo will be cloned into `<root>/<user>/<repo>`.
It's useful if all repos some from the same host and that additional folder feels redundant.
2020-07-07 18:35:30 +02:00
Grzegorz Dlugoszewski
0097681f89 Small grammar and stylistic changes in readme 2020-07-02 10:27:33 +02:00
Grzegorz Dlugoszewski
c466867718 Add output screenshots to readme 2020-07-02 10:18:26 +02:00
Grzegorz Dlugoszewski
53c82514c7 Add .deb and .rpm files to goreleaser 2020-06-30 14:11:21 +02:00
Grzegorz Dlugoszewski
b8606568ef Expand home dir path after reading config 2020-06-30 11:22:55 +02:00
Grzegorz Dlugoszewski
539c3beb90 Load repos status simultaneously with goroutines
Also, refactor printer interface.
2020-06-25 12:53:27 +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
cfe968fc24 Add missing header to readme 2020-06-19 20:52:14 +02:00
Grzegorz Dlugoszewski
a7f849543b Add table of contents to readme 2020-06-19 20:49:11 +02:00
Grzegorz Dlugoszewski
ceafb97740 Add more documentation to readme 2020-06-19 20:30:04 +02:00
Grzegorz Dlugoszewski
4868713746 Update help commands and errors messages 2020-06-19 16:39:26 +02:00
Grzegorz Dlugoszewski
de51c05158 Update readme, add some todos, add example svg 2020-06-19 13:31:01 +02:00
Grzegorz Dlugoszewski
f9f2553231 Fix build badge 2020-06-11 17:58:36 +02:00
Grzegorz Dlugoszewski
5001ed13c8 Add go report card badge 2020-06-11 17:52:33 +02:00
Grzegorz Dlugoszewski
8c0046e6ac Add a build badge to readme 2020-06-11 17:48:58 +02:00
Grzegorz Dlugoszewski
b72f984512 Don't show usage on clone error 2020-05-29 10:50:52 +02:00
Grzegorz Dlugoszewski
3335c81aa4 Refactor tests by removing redundant TestRepo struct 2020-05-29 10:11:08 +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
9757a96d34 Add a basic branch status parser 2020-05-18 22:53:06 +02:00
Grzegorz Dlugoszewski
6ff52a1540 Add helper functions for creating test repos
Also add a rough todo list of features in readme
2020-05-17 22:57:27 +02:00
Grzegorz Dlugoszewski
77636e2463 Add a simple unit test with a temp repository 2020-05-16 15:22:39 +02:00
Grzegorz Dlugoszewski
e0923a64ec Fix typos 2020-05-16 14:18:00 +02:00
Grzegorz Dlugoszewski
30205fbbdf Add go modules and instructions for static building 2020-05-16 14:11:27 +02:00
Grzegorz Dlugoszewski
8156f1b294 Initial commit 2020-05-15 10:54:48 +00:00