git-truck 0.0.0-d21ce66 → 0.0.0-d52eea0

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.
Files changed (45) hide show
  1. package/README.md +27 -79
  2. package/build/client/assets/GitTruckInfo-C4iTvisW.js +1 -0
  3. package/build/client/assets/LoadingIndicator-BczuLl-s.js +1 -0
  4. package/build/client/assets/RevisionSelect-BG-cKF2B.js +1 -0
  5. package/build/client/assets/Tooltip-_Ub6vdeZ.js +6 -0
  6. package/build/client/assets/_index-SKvRo0KN.js +1 -0
  7. package/build/client/assets/_repo._-DTMv0mY4.js +17 -0
  8. package/build/client/assets/_repository-CZYQSN1t.js +0 -0
  9. package/build/client/assets/authordist-BooTyDMX.js +0 -0
  10. package/build/client/assets/clear-cache-BEcqGuLw.js +1 -0
  11. package/build/client/assets/clear-cache-DnGGSm_X.js +1 -0
  12. package/build/client/assets/commitcount-B_3CeIvr.js +0 -0
  13. package/build/client/assets/commits-DNZ_hn-X.js +0 -0
  14. package/build/client/assets/entry.client-C3y4VgJY.js +9 -0
  15. package/build/client/assets/jsx-runtime-ByaNisVz.js +26 -0
  16. package/build/client/assets/manifest-bec123bb.js +1 -0
  17. package/build/client/assets/progress-DMGX1aEW.js +0 -0
  18. package/build/client/assets/root-CmZxDL95.js +1 -0
  19. package/build/client/assets/root-igHuhpOR.css +1 -0
  20. package/build/client/assets/ui-CnSNnwOE.js +1 -0
  21. package/build/client/favicon.ico +0 -0
  22. package/build/server/assets/server-build-JYtNAFFH.js +43146 -0
  23. package/build/server/assets/util.server-D6I-wbQW.js +9958 -0
  24. package/build/server/index.js +16921 -0
  25. package/cli.js +35959 -1091
  26. package/package.json +127 -88
  27. package/build/index.js +0 -1251
  28. package/build/metafile.js.json +0 -1
  29. package/build/metafile.server.json +0 -1
  30. package/build/version.txt +0 -1
  31. package/public/build/_assets/commit_icon-JEPGHU5X.png +0 -0
  32. package/public/build/_assets/index-J6PD77UO.css +0 -1
  33. package/public/build/_assets/tailwind-ZNYP4XBM.css +0 -1
  34. package/public/build/_assets/truck-JLDVJULS.png +0 -0
  35. package/public/build/_assets/vars-4NGWF3MU.css +0 -1
  36. package/public/build/_shared/chunk-7ZRMUBOE.js +0 -1
  37. package/public/build/_shared/chunk-AL2GFMRM.js +0 -32
  38. package/public/build/_shared/chunk-MFUESDJJ.js +0 -1
  39. package/public/build/_shared/chunk-QKOGMPSY.js +0 -264
  40. package/public/build/entry.client-53JI5JAC.js +0 -1
  41. package/public/build/manifest-A074C4DF.js +0 -1
  42. package/public/build/root-KLFTCYMF.js +0 -1
  43. package/public/build/routes/$repo.$-DEUWK53A.js +0 -82
  44. package/public/build/routes/_index-62BORZC7.js +0 -1
  45. /package/{public/build/_assets/truck-7F5JWBYT.gif → build/client/assets/truck-BgAoc4Gr.gif} +0 -0
package/README.md CHANGED
@@ -1,96 +1,44 @@
1
- # Git Truck 🚛 ·
2
- [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/git-truck/git-truck/blob/main/LICENSE)
3
- [![Git Truck on NPM](https://img.shields.io/npm/v/git-truck)](https://www.npmjs.com/git-truck)
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)
4
2
 
5
- ![Demo](demo.gif)
3
+ Git Truck is a tool that provides you with a truckload of visualizations of your git repository.
6
4
 
7
- 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/):
5
+ With Git Truck you can:
8
6
 
9
- | | |
10
- |-|-|
11
- | 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"> |
12
- | 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"> |
13
- | 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
+ - See who worked on different parts of the project
8
+ - Get an overview of the file structure
9
+ - See where there is the most activity in your project
10
+ - See how your project has looked at different points in time
14
11
 
12
+ | | |
13
+ | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
14
+ | <img src="./teaser-images/readme1.png" alt="Where has the most work been done recently?"> | <img src="./teaser-images/readme2.png" alt="Who worked on different subsystems in the past?"> |
15
15
 
16
- ### What makes Git Truck different?
17
-
18
- - Private by design
19
- - Works offline
20
- - Git provider agnostic - Works with any Git repository
21
- - No tracking, no ads, no data mining, no analytics, no cloud, no servers
22
-
23
-
24
- ## [Prerequisites](#prerequisites)
25
-
26
- To use Git Truck, you will need to have the following programs installed:
27
-
28
- - [Node.js](https://nodejs.org/en/) 16.13 or newer
29
- - npm 6.14 or newer
30
- - [git](https://git-scm.com/downloads) 2.29 or newer
31
-
32
- 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`.
16
+ You can read more about the features in the [feature overview](https://git-truck.github.io/git-truck/GitTruckTeaser), [in papers about Git Truck](https://github.com/git-truck/papers/blob/master/README.md), or just try it and start exploring your projects!
33
17
 
34
18
  ## [Get started](#get-started)
35
19
 
36
- 1. Within a git repository, or a directory containing git repositories, run the command `npx -y git-truck`.
37
- 2. The application will now open in your default browser.
38
-
39
- **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!**
40
-
41
- ## [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)
42
-
43
- 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!
44
-
45
- If you have any suggestions about new features, or things that you think should be different, also feel free to open an issue.
46
-
47
- ## [Advanced use](#advanced-use)
48
-
49
- Run `npx git-truck` in the root of a git repository, that you want to visualize:
50
-
51
- ```sh
52
- npx git-truck [args]
53
- ```
54
-
55
- ### [Arguments](#arguments)
56
-
57
- | arg | description | default value |
58
- | :------------------: | :-------------------------------------------------------------------: | :----------------: |
59
- | `--path` | path to a folder or a git repository | current directory |
60
- | `--log` | output log level. See [here](./src/analyzer/log.server.ts) for values | - |
61
- | `--port` | port to use for the program | 3000 |
62
- | `--invalidate-cache` | bypass analyzer cache manually | - |
63
- | `--headless` | run the program without opening the browser | - |
64
-
65
- **Note:** Using `--invalidate-cache` will cause the analyzer to run every time the client talks to the server.
20
+ 1. In your terminal, navigate to a git repository or a folder containing several repositories
66
21
 
67
- ### [Configuration](#configuration)
22
+ 2. Run the command `npm install -g git-truck@latest` to install or update Git Truck.
68
23
 
69
- You can add a `truckconfig.json` file to the root of your project, where you can define the arguments you want.
70
- Additionally you can define which git-aliases should be considered as the same person using `unionedAuthors`. If provided, the first name in the array is used as the name of the person.
71
- You can also define files to ignore.
24
+ 3. Now you can run Git Truck using the command `git truck`
72
25
 
73
- **Example:**
26
+ 4. The application will now open in your default browser. Happy trucking!
74
27
 
75
- ```json
76
- {
77
- "log": "debug",
78
- "branch": "main",
79
- "unionedAuthors": [
80
- ["Bob", "Bobby Bob"],
81
- ["Alice", "aliiii", "alice alice"]
82
- ],
83
- "hiddenFiles": ["package-lock.json", "*.bin", "*.svg"],
84
- "invalidateCache": true
85
- }
86
- ```
28
+ > [!NOTE]
29
+ > To use Git Truck, you will need to have the following programs installed:
30
+ >
31
+ > - [Node.js](https://nodejs.org/en/) 22.0.0 or newer and npm 10.0 or newer
32
+ > - [git](https://git-scm.com/downloads) 2.29 or newer
33
+ >
34
+ > Check your installed versions using `node --version`, `npm --version` and `git --version`.
87
35
 
88
- ### Very large repositories
36
+ ## [What makes Git Truck different?](#what-makes-git-truck-different)
89
37
 
90
- 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.
38
+ 🔒 Private by design
91
39
 
92
- If your repository has more than 1 million commits, it is unlikely that Git Truck can successfully analyze it, even with higher memory limit.
40
+ 🏝️ Works offline
93
41
 
94
- ## Star History
42
+ 🤷 Git provider agnostic - works with any git repository
95
43
 
96
- [![Star History Chart](https://api.star-history.com/svg?repos=git-truck/git-truck&type=Date)](https://star-history.com/#git-truck/git-truck&Date)
44
+ 😊 No tracking, no ads, no cloud, no servers, no subscription