You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit contains documentation changes to reflect libgfold's
removal. It also contains the following changes:
- Change CHANGELOG process to add changes at release time rather than
iteratively (because I never remember to do it nor is it required in
pull requests)
- Update "Cargo.toml" to have alphabetically sorted fields for two
sections
- Convert "THANKS" into "COMMUNITY_THANKS" because source code
contributors are not included and the document is meant to highlight
those who would not normally appear in a GitHub contributors section
- Update manual install instructions to new binary names
- Remove library section from README
This commit also ensures that CI only runs on relevant paths.
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
You can use [Homebrew](https://brew.sh) to install `gfold`with a choice of two methods.
117
+
You can use [Homebrew](https://brew.sh) to install `gfold`using the [core formulae](https://formulae.brew.sh/formula/gfold).
118
118
119
-
#### Core (macOS and Linux)
120
-
121
-
`gfold` is now available in the [core formulae](https://formulae.brew.sh/formula/gfold)!
122
119
However, you may run into a naming collision on macOS if [coreutils](https://formulae.brew.sh/formula/coreutils) is installed via `brew`.
123
120
See the [troubleshooting](#troubleshooting-and-known-issues) section for a workaround and more information.
124
121
125
122
```shell
126
123
brew install gfold
127
124
```
128
125
129
-
#### Tap (macOS only)
130
-
131
-
The [tap](https://github.com/nickgerace/homebrew-nickgerace/blob/main/Formula/gfold.rb) is still available if you would like to use it.
132
-
This is subject to change.
133
-
134
-
```shell
135
-
brew install nickgerace/nickgerace/gfold
136
-
```
137
-
138
126
### Arch Linux
139
127
140
128
You can use [pacman](https://wiki.archlinux.org/title/Pacman) to install `gfold` from the [extra repository](https://archlinux.org/packages/extra/x86_64/gfold/).
@@ -187,6 +175,11 @@ For an example on how to do that, refer to the [manual install](./docs/MANUAL_IN
187
175
188
176
If you would like an example on how to build from source, refer to the [manual install](./docs/MANUAL_INSTALL.md) guide.
189
177
178
+
### Deprecated: Homebrew Tap (macOS only)
179
+
180
+
The [tap located at nickgerace/homebrew-nickgerace](https://github.com/nickgerace/homebrew-nickgerace/blob/main/Formula/gfold.rb) has been deprecated.
181
+
Please use the aforementioned core Homebrew package instead.
182
+
190
183
### Preferred Installation Method Not Listed?
191
184
192
185
Please [file an issue](https://github.com/nickgerace/gfold/issues/new)!
@@ -196,13 +189,6 @@ Please [file an issue](https://github.com/nickgerace/gfold/issues/new)!
196
189
`gfold` is intended to be ran on _any_ tier one Rust 🦀 target.
197
190
Please [file an issue](https://github.com/nickgerace/gfold/issues) if your platform is unsupported.
198
191
199
-
## Usage as a Library
200
-
201
-
There are two ways to use `gfold` as a "library".
202
-
203
-
1. Use the [`libgfold`](./lib/libgfold/README.md) crate that powers `gfold`
204
-
1. Consume valid JSON results from `gfold -d json` (not a library, but useful for non-Rust applications)
205
-
206
192
## Troubleshooting and Known Issues
207
193
208
194
If you encounter unexpected behavior or a bug and would like to see more details, please run `gfold` with the following
@@ -241,7 +227,7 @@ This repository's tracking issue is [#205](https://github.com/nickgerace/gfold/i
241
227
242
228
## Community
243
229
244
-
For more information and thanks to contributors, users, and the "community" at large, please refer to the **[THANKS](./docs/THANKS.md)** file.
230
+
For more information and thanks to users and the "community" at large, please refer to the **[COMMUNITY THANKS](./docs/COMMUNITY_THANKS.md)** file.
245
231
246
232
-[Packages for NixOS, Arch Linux and more](https://repology.org/project/gfold/versions)
247
233
-["One Hundred Rust Binaries"](https://www.wezm.net/v2/posts/2020/100-rust-binaries/page2/), an article that featured `gfold`
Copy file name to clipboardExpand all lines: docs/COMMUNITY_THANKS.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# Thanks
1
+
# Community Thanks
2
+
3
+
This document contains "thank you" messages to those who aided or contributed to this project outside of source code changes and issues filed to this repository.
2
4
3
5
-[@AcksID](https://github.com/AckslD/nvim-gfold.lua) for creating and maintaining [nvim-gfold.lua](https://github.com/AckslD/nvim-gfold.lua), a `neovim` plugin for `gfold`
4
6
-[@jrcichra](https://github.com/jrcichra) for adding multi-OS support to the original, early-stage CI pipeline
Copy file name to clipboardExpand all lines: docs/RELEASE.md
+8-42Lines changed: 8 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,60 +10,26 @@ Generally, the versioning scheme looks like the following formats where `X` is a
10
10
-**Release candidates (RCs):**`X.X.X-rc.X`
11
11
-**Full releases:**`X.X.X`
12
12
13
-
## Overview
14
-
15
-
If only `gfold` has changed, release `gfold` alone.
16
-
If `libgfold` has changed, release `libgfold` and _then_`gfold`.
17
-
18
-
## Checklist for `libgfold`
19
-
20
-
Steps should be executed in sequential order.
21
-
22
-
-[ ] Checkout and rebase `main` to its latest commit and checkout a new branch
23
-
-[ ] Change the `version` field in [`Cargo.toml`](../lib/libgfold/Cargo.toml) to the new tag
24
-
-[ ] Use the new version in the `gfold`[`Cargo.toml`](../lib/gfold/Cargo.toml) file
25
-
-[ ] Change the version in [`CHANGELOG.md`](../CHANGELOG.md) and uncomment the following line: `<!--The latest version contains all changes.-->` (skip this for release candidates)
26
-
-[ ] Verify that everything looks/works as expected:
27
-
28
-
```shell
29
-
just ci
30
-
```
31
-
32
-
-[ ] Create and _do not merge_ a commit with the following message: `Update libgfold to <tag>`
33
-
-[ ] Test and verify the publishing workflow:
34
-
35
-
```shell
36
-
cargo publish --dry-run -p libgfold
37
-
```
38
-
39
-
-[ ] Merge the preparation commit into `main`
40
-
-[ ] Publish the crate:
41
-
42
-
```shell
43
-
cargo publish -p libgfold
44
-
```
45
-
46
-
-[ ] Verify that the [crate](https://crates.io/crates/libgfold) on `crates.io` looks correct
47
-
-[ ] Ensure that the [docs](https://docs.rs/libgfold/latest/libgfold/) on `docs.rs` look correct
48
-
49
-
## Checklist for `gfold`
13
+
## Checklist
50
14
51
15
Steps should be executed in sequential order.
52
16
53
17
-[ ] Checkout and rebase `main` to its latest commit, then checkout a new branch
54
-
-[ ] Change the `version` field in [`Cargo.toml`](../bin/gfold/Cargo.toml) to the new tag
55
-
-[ ] Change the version in [`CHANGELOG.md`](../CHANGELOG.md) and uncomment the following line: `<!--The latest version contains all changes.-->` (skip this for release candidates)
18
+
-[ ] Change the `version` field in [`Cargo.toml`](../Cargo.toml) to the new tag
19
+
-[ ] Open a web browser tab to the following link: `https://github.com/nickgerace/gfold/compare/<last-tag>...main`
20
+
-[ ] Add a new section the version in [`CHANGELOG.md`](../CHANGELOG.md) with the current date
21
+
-[ ] Using the diff, commit messages and commit title, populate the new section with all user-relevant changes
56
22
-[ ] Verify that everything looks/works as expected:
57
23
58
24
```shell
59
25
just ci
60
26
```
61
27
62
-
-[ ] Create and _do not merge_ a commit with the following message: `Update gfold to <tag>`
28
+
-[ ] Create and _do not merge_ a commit with the following message: `Update to <tag>`
63
29
-[ ] Test and verify the publishing workflow:
64
30
65
31
```shell
66
-
cargo publish --dry-run -p gfold
32
+
cargo publish --dry-run
67
33
```
68
34
69
35
-[ ] Merge the preparation commit into `main`
@@ -78,7 +44,7 @@ git push --tags origin main
78
44
-[ ] Publish the crate:
79
45
80
46
```shell
81
-
cargo publish -p gfold
47
+
cargo publish
82
48
```
83
49
84
50
-[ ] Verify that the [crate](https://crates.io/crates/gfold) on `crates.io` looks correct
0 commit comments