diff options
author | Nick Gerace <nickagerace@gmail.com> | 2020-09-02 01:24:22 -0400 |
---|---|---|
committer | Nick Gerace <39320683+nickgerace@users.noreply.github.com> | 2020-09-02 01:31:27 -0400 |
commit | d690feada818f2d60b09a8b104f83b9747072a25 (patch) | |
tree | 2149315db5bd34981787721d9868f67fabbdea55 | |
parent | 50dc59bf472180abd91037ce40cb6b24dd4aa179 (diff) | |
download | gfold-d690feada818f2d60b09a8b104f83b9747072a25.zip |
Update to 0.5.0
Update to 0.5.0. Update README to reflect features added, changed, and
removed from 0.4.0.
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | Makefile | 19 | ||||
-rw-r--r-- | README.md | 15 |
5 files changed, 24 insertions, 18 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3167dda..8ff71c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -<!-- The latest version contains all changes. --> +The latest version contains all changes. + +## [0.5.0] - 2020-09-02 ### Added @@ -178,7 +178,7 @@ dependencies = [ [[package]] name = "gfold" -version = "0.4.0" +version = "0.5.0" dependencies = [ "git2", "prettytable-rs", @@ -1,6 +1,6 @@ [package]
name = "gfold"
-version = "0.4.0"
+version = "0.5.0"
authors = ["Nick Gerace <nickagerace@gmail.com>"]
edition = "2018"
@@ -6,7 +6,7 @@ MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) NAME:=gfold -VERSION:=0.4.0 +VERSION:=0.5.0 run: @cd $(MAKEPATH); cargo run -- .. @@ -39,12 +39,6 @@ test: tree: cd $(MAKEPATH); cargo tree -prepare-release: - @printf "Change version at the following locations...\n" - @printf " Makefile\n README.md\n main.rs\n" - @printf "Then, run the following command...\n" - @printf " time make build-release\n" - tag: cd $(MAKEPATH); git tag $(VERSION) cd $(MAKEPATH); git push --tags origin master @@ -56,3 +50,14 @@ fixme: --exclude=CHANGELOG.md \ --color=always \ FIXME $(MAKEPATH) + +release: + @printf "Change version at the following locations...\n" + @printf " Makefile: $(shell grep $(VERSION) $(MAKEPATH)/Makefile)\n" + @printf " README.md: $(shell grep $(VERSION) $(MAKEPATH)/README.md)\n" + @printf " CHANGELOG.md: $(shell grep $(VERSION) $(MAKEPATH)/CHANGELOG.md)\n" + @printf " Cargo.toml: $(shell grep $(VERSION) $(MAKEPATH)/Cargo.toml)\n" + @printf "Uncomment the unreleased string in CHANGELOG.md...\n" + @printf " <!--The latest version contains all changes.-->\n" + @printf "Then, run the following command...\n" + @printf " time make build-release\n" @@ -18,16 +18,13 @@ voi clean main https://github.com/earth/voi.git ## Description and Motivation
-This app displays relevant information for multiple Git repositories in one directory or folder.
-It prints each repository in alphabetical order, and pads each result based on the longest directory name.
+This app displays relevant information for multiple Git repositories in one, or multiple, directories.
+While this tool might seem limited in scope and purpose, that is by design.
+It prints each repository in alphabetical order, and pads each result based on the longest directory, branch, and status string.
By default, ```gfold``` looks at every Git repository in the current working directory.
However, if you would like to target another directory, you can pass that path (relative or absolute) as the first argument.
-While this tool might seem limited in scope and purpose, that is by design.
-Features, such as recursive search and async-await support, are future goals.
-This application aims to do one or few things well.
-
## Installation
There are multiple ways to install ```gfold```, but here are the recommended methods.
@@ -47,12 +44,12 @@ Special thanks to [orhun](https://github.com/orhun) for [maintaining](https://gi You can build from source with ```cargo``` by executing the following...
```bash
-cargo install --git https://github.com/nickgerace/gfold --tag 0.4.0
+cargo install --git https://github.com/nickgerace/gfold --tag 0.5.0
```
## Usage
-There's only two usage options at the moment (CWD or specified path), but you can use the ```--help``` flag for more details.
+For all the ways on how to use this application, pass in the ```--help``` flag.
```bash
gfold --help
@@ -66,6 +63,8 @@ gfold .. gfold $HOME
gfold /this/is/an/absolute/path
gfold ../../this/is/a/relative/path
+gfold ~/repositories/ -r
+gfold -r $HOME/repositories
```
## Compatibility
|