@sentry/cli 2.20.1 → 2.20.3
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 +15 -7
- package/checksums.txt +9 -9
- package/js/helper.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
This is a Sentry command line client for some generic tasks. Right now this is
|
|
19
19
|
primarily used to upload debug symbols to Sentry if you are not using the
|
|
20
|
-
|
|
20
|
+
Fastlane tools.
|
|
21
21
|
|
|
22
22
|
* Downloads can be found under
|
|
23
23
|
[Releases](https://github.com/getsentry/sentry-cli/releases/)
|
|
@@ -29,7 +29,7 @@ If you are on OS X or Linux, you can use the automated downloader which will fet
|
|
|
29
29
|
|
|
30
30
|
curl -sL https://sentry.io/get-cli/ | bash
|
|
31
31
|
|
|
32
|
-
We do however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
|
|
32
|
+
We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
|
|
33
33
|
To do that, you can use the exact same method, with an additional version specifier:
|
|
34
34
|
|
|
35
35
|
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.0.4 bash
|
|
@@ -52,7 +52,7 @@ pip install sentry-cli
|
|
|
52
52
|
|
|
53
53
|
### Node
|
|
54
54
|
|
|
55
|
-
Additionally you can also install this binary via npm:
|
|
55
|
+
Additionally, you can also install this binary via npm:
|
|
56
56
|
|
|
57
57
|
npm install @sentry/cli
|
|
58
58
|
|
|
@@ -77,14 +77,22 @@ Or add property into your `.npmrc` file (https://www.npmjs.org/doc/files/npmrc.h
|
|
|
77
77
|
sentrycli_cdnurl=https://mymirror.local/path
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
There are a few environment variables that you can provide to control the npm installation:
|
|
81
81
|
|
|
82
|
-
```sh
|
|
83
|
-
SENTRYCLI_CDNURL=https://mymirror.local/path npm install @sentry/cli
|
|
84
82
|
```
|
|
83
|
+
SENTRYCLI_CDNURL=<url> # Use alternative cdn url for downloading binary
|
|
84
|
+
SENTRYCLI_USE_LOCAL=1 # Use local instance of sentry-cli binary (looked up via $PATH environment)
|
|
85
|
+
SENTRYCLI_SKIP_DOWNLOAD=1 # Skip downloading binary entirely
|
|
86
|
+
SENTRYCLI_NO_PROGRESS_BAR=1 # Do not print the progress bar when downloading binary (default for non-TTY environments like CI)
|
|
87
|
+
SENTRYCLI_LOG_STREAM=<stdout|stderr> # Changes where to redirect install script output
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
When using `sentry-cli` via JavaScript API or any 3rd party plugin that is consuming said API,
|
|
91
|
+
you can also use `SENTRY_BINARY_PATH=<path>` alongside `SENTRYCLI_SKIP_DOWNLOAD=1` to completely
|
|
92
|
+
control what binaries are downloaded and used throughout the whole process.
|
|
85
93
|
|
|
86
94
|
If you're installing the CLI with NPM from behind a proxy, the install script will
|
|
87
|
-
use either NPM's configured HTTPS proxy server
|
|
95
|
+
use either NPM's configured HTTPS proxy server or the value from your `HTTPS_PROXY`
|
|
88
96
|
environment variable.
|
|
89
97
|
|
|
90
98
|
### Homebrew
|
package/checksums.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
sentry-cli-Darwin-arm64=
|
|
2
|
-
sentry-cli-Darwin-universal=
|
|
3
|
-
sentry-cli-Darwin-x86_64=
|
|
4
|
-
sentry-cli-Linux-aarch64=
|
|
5
|
-
sentry-cli-Linux-armv7=
|
|
6
|
-
sentry-cli-Linux-i686=
|
|
7
|
-
sentry-cli-Linux-x86_64=
|
|
8
|
-
sentry-cli-Windows-i686.exe=
|
|
9
|
-
sentry-cli-Windows-x86_64.exe=
|
|
1
|
+
sentry-cli-Darwin-arm64=9b39ca8f6b633f971753c99b2742cfc4f29d84357e04e6ddf97ff436259f1d41
|
|
2
|
+
sentry-cli-Darwin-universal=4c445c18711539740e53dfc7282b8fe905aa013a804d6eb6318950ee1447f199
|
|
3
|
+
sentry-cli-Darwin-x86_64=a260e81796edf73e54320c8d6bf1839bfe9be5a8781ccce7882b262200955bd2
|
|
4
|
+
sentry-cli-Linux-aarch64=fae5777deee53329b8c427fb9eda86bd4f01412b73d0d672b9485e6f95be0247
|
|
5
|
+
sentry-cli-Linux-armv7=7f40080ff5c54d06d0a7674d4172a78fbc99052238902eac097be5a17c1f4283
|
|
6
|
+
sentry-cli-Linux-i686=b9e36903099d050892a977f5490a5a92dc43907b39331e291cec49270e47d56a
|
|
7
|
+
sentry-cli-Linux-x86_64=f2d4eb5a5d338278b7c38d5fa16a33026602827c6fac5cdb7b35b909c91de001
|
|
8
|
+
sentry-cli-Windows-i686.exe=1f874311502f39d2a0a5d192b785a66d5bb8fd0cbca75b992aff86acfad7a916
|
|
9
|
+
sentry-cli-Windows-x86_64.exe=8762fb82bc12e3a9642013ef91a495d459d533ff6d1a0112baaf776c7540aef1
|
package/js/helper.js
CHANGED
|
@@ -12,6 +12,10 @@ const childProcess = require('child_process');
|
|
|
12
12
|
* @returns {string} The path to the sentry-cli binary
|
|
13
13
|
*/
|
|
14
14
|
function getBinaryPath() {
|
|
15
|
+
if (process.env.SENTRY_BINARY_PATH) {
|
|
16
|
+
return process.env.SENTRY_BINARY_PATH;
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
const parts = [];
|
|
16
20
|
parts.push(__dirname);
|
|
17
21
|
parts.push('..');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/cli",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.3",
|
|
4
4
|
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-cli.git",
|
|
6
6
|
"homepage": "https://docs.sentry.io/hosted/learn/cli/",
|