git-truck 1.8.2 → 1.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,44 +1,53 @@
1
1
  # Git Truck 🚛 · [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/git-truck/git-truck/blob/main/LICENSE) [![Git Truck on NPM](https://img.shields.io/npm/v/git-truck)](https://www.npmjs.com/git-truck)
2
2
 
3
- ![Demo](demo.gif)
4
-
5
- Git-Truck provides you with a truckload of visualizations for your git repository, and helps you find out if your project has a good [truck factor](https://www.agileadvice.com/2005/05/15/agilemanagement/truck-factor/):
3
+ Git-Truck is a tool that provides you with a truckload of visualizations for your git repository, and helps you find out if your project has a good [truck factor](https://www.agileadvice.com/2005/05/15/agilemanagement/truck-factor/).
6
4
 
7
- | | |
5
+ | Git Truck can help you figure out: | |
8
6
  |-|-|
9
- | The files in your system where you have a single contributor (i.e., truck-factor = 1) | <img width="1912" alt="image" src="https://user-images.githubusercontent.com/464519/167393939-8d683732-4583-44fe-99a3-36c818761bcb.png"> |
10
- | You can see how the various developers contribute to your codebase | <img width="1913" alt="image" src="https://user-images.githubusercontent.com/464519/167394548-ca66665a-a699-44d7-8a97-bc7309c72f8a.png"> |
11
- | You can determine which parts of the system that are most often changed | <img width="1912" alt="image" src="https://user-images.githubusercontent.com/464519/167395118-6a4f50f4-5f37-4e0d-bcc8-144797b83e65.png"> |
7
+ | Where the files in your codebase that only have a single contributor are (i.e., truck-factor = 1) | <img width="1912" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/1cc20716-0927-4aba-8d7d-115626bc445f"> |
8
+ | How the various developers contribute to your codebase | <img width="1913" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/780852f3-28de-44d2-ab79-e4ef420c3736"> |
9
+ | Which parts of the system that are most often changed | <img width="1912" alt="image" src="https://github.com/git-truck/git-truck/assets/1959615/8ca5f0b9-798f-40cd-b64e-de2fee00a5c3"> |
12
10
 
11
+ ## [What makes Git Truck different?](#what-makes-git-truck-different)
13
12
 
14
- ### What makes Git Truck different?
13
+ 🔒 Private by design
15
14
 
16
- - Private by design
17
- - Works offline
18
- - Git provider agnostic - Works with any Git repository
19
- - No tracking, no ads, no data mining, no analytics, no cloud, no servers
15
+ 🏝️ Works offline
20
16
 
17
+ 🤷 Git provider agnostic - works with any git repository
18
+
19
+ 😊 No tracking, no ads, no data mining, no analytics, no cloud, no servers
21
20
 
22
21
  ## [Prerequisites](#prerequisites)
23
22
 
24
- To use Git Truck, you will need to have the following programs installed:
23
+ > [!IMPORTANT]
24
+ > To use Git Truck, you will need to have the following programs installed:
25
+ > - [Node.js](https://nodejs.org/en/) 18.0.0 or newer and npm 10.0 or newer
26
+ > - [git](https://git-scm.com/downloads) 2.29 or newer
27
+ >
28
+ > Check your installed versions using `node --version`, `npm --version` and `git --version`.
25
29
 
26
- - [Node.js](https://nodejs.org/en/) 16.13 or newer
27
- - npm 6.14 or newer
28
- - [git](https://git-scm.com/downloads) 2.29 or newer
30
+ > [!TIP]
31
+ > The latests versions of Node and git can be installed from the links above.
29
32
 
30
- To check if these programs are installed, and what version you have, run `node --version`, `npm --version` and `git --version`. If any of these are not installed on your system, or are just very old, they can be installed from the links above. Note that `npm` is installed along with `node`.
33
+ > [!Note]
34
+ > `npm` is automatically installed along with `node`.
31
35
 
32
36
  ## [Get started](#get-started)
33
37
 
34
- 1. Within a git repository, or a directory containing git repositories, run the command `npx -y git-truck`.
38
+ 1. Within a git repository, or a directory containing git repositories, run the command
39
+
40
+ ```bash
41
+ npx -y git-truck
42
+ ```
43
+
35
44
  2. The application will now open in your default browser.
36
45
 
37
- **Git Truck is part of a research study, so please fill out our [short survey](https://forms.gle/9wCCAw6zae7wuwZQ6) after trying out the tool. Thanks!**
46
+ ![Demo](demo.gif)
38
47
 
39
- ## [I got an error or I want to give feedback, what do i do?](#i-got-an-error-or-i-want-to-give-feedback-what-do-i-do)
48
+ ## [Feedback](#feedback)
40
49
 
41
- Please open an issue [here](https://github.com/git-truck/git-truck/issues) where you describe your problem. Please include git version, node version, npm version, operating system, and an image of the problem would be great too!
50
+ Please open an issue [here](https://github.com/git-truck/git-truck/issues) where you describe your problem or featureq request. For bug reports, please include git version, Node version, npm version, operating system, and an image of the problem would be great too!
42
51
 
43
52
  If you have any suggestions about new features, or things that you think should be different, also feel free to open an issue.
44
53
 
@@ -60,7 +69,8 @@ npx git-truck [args]
60
69
  | `--invalidate-cache` | bypass analyzer cache manually | - |
61
70
  | `--headless` | run the program without opening the browser | - |
62
71
 
63
- **Note:** Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server.
72
+ > [!CAUTION]
73
+ > Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server. This can be very slow if working with large repositories.
64
74
 
65
75
  ### [Configuration](#configuration)
66
76
 
@@ -85,9 +95,9 @@ You can also define files to ignore.
85
95
 
86
96
  ### Very large repositories
87
97
 
88
- If the repository you intend to analyze is very large (300k+ commits), we recommend to increase the memory available to nodejs by setting the environment variable `NODE_OPTIONS` to `--max-old-space-size=4096` before starting Git Truck, otherwise analyzation might crash.
89
-
90
- If your repository has more than 1 million commits, it is unlikely that Git Truck can successfully analyze it, even with higher memory limit.
98
+ > [!TIP]
99
+ > If the repository you intend to analyze is very large (300k+ commits), we recommend to increase the memory available to nodejs by setting the environment variable `NODE_OPTIONS` to `--max-old-space-size=4096` before starting Git Truck, otherwise analyzation might crash.
100
+ > If your repository has more than 1 million commits, it is unlikely that Git Truck can successfully analyze it, even with higher memory limit.
91
101
 
92
102
  ## Star History
93
103