1
1
# src-fingerprint
2
2
3
- - [ src-fingerprint] ( #src-fingerprint )
4
- - [ Introduction] ( #introduction )
5
- - [ Install] ( #install )
6
- - [ Generate My Token] ( #generate-my-token )
3
+ - [ Introduction] ( #introduction )
4
+ - [ Installation] ( #installation )
5
+ - [Using pre-compiled executables](#using-pre-compiled-executables)
6
+ - [Installing from sources](#installing-from-sources)
7
+ - [ Generate My Token] ( #generate-my-token )
7
8
- [ GitHub] ( #github )
8
9
- [ GitLab] ( #gitlab )
9
- - [ Compute my code fingerprints] ( #compute-my-code-fingerprints )
10
+ - [ Compute my code fingerprints] ( #compute-my-code-fingerprints )
10
11
- [ GitHub] ( #github-1 )
11
12
- [ GitLab] ( #gitlab-1 )
12
13
- [ Bitbucket server (formely Atlassian Stash)] ( #bitbucket-server-formely-atlassian-stash )
13
14
- [ Repository] ( #repository )
14
- - [ License] ( #License )
15
+ - [ License] ( #License )
15
16
16
17
## Introduction
17
18
@@ -23,22 +24,20 @@ This util supports 3 main version control systems:
23
24
- Gitlab CE and EE
24
25
- Bitbucket
25
26
26
- ## Install
27
+ ## Installation
27
28
28
- ### Pre -compiled executables
29
+ ### Using pre -compiled executables
29
30
30
- Get the executables [ here ] ( http://github.com/gitguardian/src-fingerprint/releases ) .
31
+ #### macOS, using Homebrew
31
32
32
- ### Using Homebrew
33
-
34
- If you're using [ Homebrew] ( https://brew.sh/index_fr ) you can add GitGuardian's tap and then install src-fingerprint. Just run the following commands :
33
+ If you're using [ Homebrew] ( https://brew.sh/index ) you can add GitGuardian's tap and then install src-fingerprint. Just run the following commands:
35
34
36
35
``` shell
37
36
brew tap gitguardian/tap
38
37
brew install src-fingerprint
39
38
```
40
39
41
- ### Linux packages
40
+ #### Linux packages
42
41
43
42
Deb and RPM packages are available on [ Cloudsmith] ( https://cloudsmith.io/~gitguardian/repos/src-fingerprint/packages/ ) .
44
43
@@ -47,10 +46,31 @@ Setup instructions:
47
46
- [ Deb packages] ( https://cloudsmith.io/~gitguardian/repos/src-fingerprint/setup/#formats-deb )
48
47
- [ RPM packages] ( https://cloudsmith.io/~gitguardian/repos/src-fingerprint/setup/#formats-rpm )
49
48
50
- ### From the sources
49
+ #### Windows
50
+
51
+ Open a PowerShell prompt and run this command:
52
+
53
+ ``` shell
54
+ iwr -useb https://raw.githubusercontent.com/GitGuardian/src-fingerprint/main/scripts/windows-installer.ps1 | iex
55
+ ```
56
+
57
+ The script asks for the installation directory. To install silently, use these commands instead:
58
+
59
+ ``` shell
60
+ iwr -useb https://raw.githubusercontent.com/GitGuardian/src-fingerprint/main/scripts/windows-installer.ps1 -Outfile install.ps1
61
+ .\i nstall.ps1 C:\D estination\D ir
62
+ rm install.ps1
63
+ ```
64
+
65
+ Note that ` src-fingerprint ` requires Unix commands such as ` bash ` to be available, so it runs better from a "Git Bash" prompt.
66
+
67
+ #### Manual download
68
+
69
+ You can also download the archives directly from the [ releases page] ( http://github.com/gitguardian/src-fingerprint/releases ) .
70
+
71
+ ### Installing from sources
51
72
52
- You need ` go ` installed and ` GOBIN ` in your ` PATH ` . Once that is done, run the
53
- command:
73
+ You need ` go ` installed and ` GOBIN ` in your ` PATH ` . Once that is done, run the command:
54
74
55
75
``` shell
56
76
$ go get -u github.com/gitguardian/src-fingerprint/cmd/src-fingerprint
0 commit comments