Skip to content

Commit ac5f33d

Browse files
authored
Merge pull request #2002 from EliahKagan/md
Copyedit a few top-level Markdown files
2 parents ca8d64c + 30b7682 commit ac5f33d

File tree

4 files changed

+53
-40
lines changed

4 files changed

+53
-40
lines changed

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,19 @@ on your needs, for _Linux_, _MacOS_ and _Windows_.
177177

178178
[releases]: https://github.com/GitoxideLabs/gitoxide/releases
179179

180-
### Download from Arch-Repository
180+
### Download from Arch Linux repository
181181

182182
For Arch Linux you can download `gitoxide` from `community` repository:
183-
```
183+
184+
```sh
184185
pacman -S gitoxide
185186
```
186187

187188
### Download from Exherbo Linux Rust repository
188189

189190
For Exherbo Linux you can download `gitoxide` from the [Rust](https://gitlab.exherbo.org/exherbo/rust/-/tree/master/packages/dev-scm/gitoxide) repository:
190-
```
191+
192+
```sh
191193
cave resolve -x repository/rust
192194
cave resolve -x gitoxide
193195
```
@@ -203,7 +205,7 @@ the latest stable one will work as well.
203205
There are various build configurations, all of them are [documented here](https://docs.rs/crate/gitoxide/latest). The documentation should also be useful
204206
for packagers who need to tune external dependencies.
205207

206-
```
208+
```sh
207209
# A way to install `gitoxide` with just Rust and a C compiler installed.
208210
# If there are problems with SSL certificates during clones, try to omit `--locked`.
209211
cargo install gitoxide --locked --no-default-features --features max-pure
@@ -220,19 +222,25 @@ cargo install gitoxide --locked --no-default-features --features lean
220222
The following installs the latest unpublished `max` release directly from git:
221223

222224
```sh
223-
cargo install --git https://github.com/GitoxideLabs/gitoxide gitoxide
225+
cargo install --git https://github.com/GitoxideLabs/gitoxide gitoxide
224226
```
225227

226228
#### How to deal with build failures
227229

228-
On some platforms, installation may fail due to lack of tools required by `C` toolchains. This can generally be avoided by installation
229-
with `cargo install gitoxide --no-default-features --features max-pure`.
230+
On some platforms, installation may fail due to lack of tools required by *C* toolchains. This can generally be avoided by installation with:
231+
232+
```sh
233+
cargo install gitoxide --no-default-features --features max-pure
234+
```
230235

231236
What follows is a list of known failures.
232237

233-
- On Fedora, `perl` needs to be installed for `OpenSSL` to build properly. This can be done with the following command:
234-
`dnf install perl` (see [this issue](https://github.com/GitoxideLabs/gitoxide/issues/592)).
235-
-
238+
- On Fedora, `perl` needs to be installed for `OpenSSL` to build properly. This can be done with the following command (see [issue #592](https://github.com/GitoxideLabs/gitoxide/issues/592)):
239+
240+
```sh
241+
dnf install perl
242+
```
243+
236244
### Using Docker
237245

238246
Some CI/CD pipelines leverage repository cloning. Below is a copy-paste-able example to build docker images for such workflows.

SHORTCOMINGS.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
1-
This file is for tracking features that are less well implemented or less powerful than their `git` counterparts for one reason or another.
1+
# Shortcomings
22

3-
#### `gix`
3+
This file is for tracking features that are less well implemented or less powerful than their Git counterparts for one reason or another.
44

55
### gix-index
66

7-
* The `link` extension can be read, but won't be written. This effectively disables the use of a split index once a mutating operation is run on it with `gitixode`.
7+
* The `link` extension can be read, but won't be written. This effectively disables the use of a split index once a mutating operation is run on it with `gitoxide`.
88

99
### gix-protocol
10-
* **fetches using protocol V1 and stateful connections, i.e. ssh, git, file, may hang**
10+
11+
* **Fetches using protocol V1 and stateful connections, i.e. ssh, git, file, may hang**
1112
* This can be fixed by making response parsing.
1213
* Note that this does not affect cloning, which works fine.
1314

14-
### `gix-pack`
15+
### gix-pack
16+
1517
* **Packfiles use memory maps**
1618
* Even though they are comfortable to use and fast, they squelch IO errors.
17-
* _potential remedy_: We could generalize the Pack to make it possible to work on in-memory buffers directly. That way, one
18-
would initialize a Pack by reading the whole file into memory, thus not squelching IO errors at the expense of latency as well
19+
* _Potential remedy_: We could generalize the `Pack` to make it possible to work on in-memory buffers directly. That way, one
20+
would initialize a `Pack` by reading the whole file into memory, thus not squelching IO errors at the expense of latency as well
1921
as memory efficiency.
20-
* **Packfiles cannot load files bigger than 2^31 or 2^32 on 32 bit systems**
22+
* **Packfiles cannot load files bigger than 2^31 or 2^32 on 32-bit systems**
2123
* As these systems cannot address more memory than that.
22-
* _potential remedy_: implement a sliding window to map and unmap portions of the file as needed.
23-
* However, those who need to access big packs on these systems would rather resort to `git` itself, allowing
24+
* _Potential remedy_: implement a sliding window to map and unmap portions of the file as needed.
25+
* However, those who need to access big packs on these systems would rather resort to Git itself, allowing
2426
our implementation to be simpler and potentially more performant.
25-
* **Objects larger than 32 bits cannot be loaded on 32 bit systems**
26-
* in-memory representations objects cannot handle objects greater than the amount of addressable memory.
27-
* This will not affect git LFS though.
27+
* **Objects larger than 32 bits cannot be loaded on 32-bit systems**
28+
* In-memory representations objects cannot handle objects greater than the amount of addressable memory.
29+
* This will not affect Git LFS though.
2830

29-
### `gix`
31+
### gix
3032

31-
* object replacements are read once upon opening the repository from their refs and changes to these won't be picked up.
33+
* Object replacements are read once upon opening the repository from their refs and changes to these won't be picked up.
3234

33-
### `gix-url`
35+
### gix-url
3436

35-
* **gix-url** _might_ be more restrictive than what git allows as for the most part, it uses a browser grade URL parser.
36-
* Thus far there is no proof for this, and as _potential remedy_ we could certainly re-implement exactly what git does
37+
* **gix-url** _might_ be more restrictive than what Git allows as for the most part, it uses a browser grade URL parser.
38+
* Thus far there is no proof for this, and as _potential remedy_ we could certainly re-implement exactly what Git does
3739
to handle its URLs.

STABILITY.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,22 @@ Please note that this guide isn't stable itself and may be adjusted to fit chang
1414
- _workspace crate_
1515
- A crate which is a member of this workspace and hence is stored in this repository
1616
- _breaking change_
17-
- A change in code that requires a `dependent crate` to adjust their code to fix compile errors.
17+
- A change in code that requires a _dependent crate_ to adjust their code to fix compile errors.
1818
- _release_
1919
- A new version of a crate is published to crates.io
2020
- _development version_
2121
- A crate version whose _major_ version is 0.
2222
- _release version_
2323
- A crate version whose _major_ version is 1 or higher.
2424
- _initial development phase_ (IDP)
25-
- The phase of development leading up to producing a crate with a major version of 1 or greater, as per `semver`.
25+
- The phase of development leading up to producing a crate with a major version of 1 or greater, as per [semver].
2626
- Not to be confused with the term _pre-release_, which is used to indicate any release version prior to an actual release, like `1.1.0-beta.1`.
2727

2828
## Tiers
2929

3030
The project uses three stability tiers for all of its crates, and all crates use [semver] for their version numbers.
31-
Tiers differ primarily in the time between breaking changes, which always have to be announced with `PRs` as per
31+
32+
Tiers differ primarily in the time between breaking changes, which always have to be announced with *PRs* as per
3233
our [collaboration guide].
3334

3435
The following schematic helps to visualize what follows.
@@ -108,10 +109,10 @@ If there are additional breaking changes without a release, these push back the
108109
### Tier 1: released apps and application crates
109110

110111
Released apps and application crates are marked with major version number 1 or above, like `2.3.0+21.06` and live in tier 1 _(->ST1)_,
111-
with the build identifiers for year (`21`) and month `06` appended, based on the actual release year and month.
112+
with the build identifiers for year (`21`) and month (`06`) appended, based on the actual release year and month.
112113

113114
Breaking changes are collected and may be released no more often than every 6 months by incrementing the major version number. If there are additional breaking changes,
114-
these push bac the release date so that they can be tested at least for 3 months. For example, a breaking change happens in January 01, and another breaking change in February 15.
115+
these push back the release date so that they can be tested at least for 3 months. For example, a breaking change happens in January 01, and another breaking change in February 15.
115116
The earliest release date is July 1st. Had the second breaking change happened in April 01, the release date would have to be pushed to August 1st.
116117

117118
Intermediate pre-releases may be created at most every 4 weeks by appending `-alpha.X` where `X` is the sequential release number. These should help testing

tasks.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1+
# Tasks
2+
13
## Tracking issues
24

3-
* [repository clone](https://github.com/GitoxideLabs/gitoxide/issues/303)
4-
* [repository FSCK](https://github.com/GitoxideLabs/gitoxide/issues/304)
5+
* [Repository clone](https://github.com/GitoxideLabs/gitoxide/issues/303)
6+
* [Repository FSCK](https://github.com/GitoxideLabs/gitoxide/issues/304)
57
* [Show changes in various forms](https://github.com/GitoxideLabs/gitoxide/issues/305)
68
* [Client side push (client to server)](https://github.com/GitoxideLabs/gitoxide/issues/306)
79
* [Server fetch/pull (server to client)](https://github.com/GitoxideLabs/gitoxide/issues/307)
810

9-
## Smaller Tasks
11+
## Smaller tasks
1012

1113
…to not forget. Might get reorganized.
1214

1315
### gix organize
1416

15-
* [ ] Add journey test to cover case with non-bare repository. Try to only read `non-bare` git config files and see the journey test fail.
17+
* [ ] Add journey test to cover case with non-bare repository. Try to only read *non-bare* git config files and see the journey test fail.
1618

1719
### gix cat
1820

19-
* A program to cat objects and pretty-print them, similar to git cat-file. Useful to get a feel for
20-
'locate(…)' performance and stress test it a little.
21-
* Be sure to escape terminal escape codes
21+
* A program to cat objects and pretty-print them, similar to `git cat-file`. Useful to get a feel for
22+
`locate(…)` performance and stress test it a little.
23+
* Be sure to escape terminal escape codes.

0 commit comments

Comments
 (0)