@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 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
- fastlane tools.
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
- Another option is to use the environment variable `SENTRYCLI_CDNURL`.
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, or the value from your `HTTPS_PROXY`
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=7ad93a9680d80597030f3fb7b5bd821025d9090cb09482c062f32ceb36abb62c
2
- sentry-cli-Darwin-universal=26db98e09b4fc42f2b341e1bf61c36648cf67a6e8784a816a33a476f451d9faa
3
- sentry-cli-Darwin-x86_64=056f21ef424c05ea2ce93e10ee6b22e94d2d798aef8fc958a31c7753b8f03e95
4
- sentry-cli-Linux-aarch64=5b64a6df219c065cdb5c0502f03562461b6d01d3dcabc8f4994f68aab05710a4
5
- sentry-cli-Linux-armv7=e3db0973c8d1968c9f034866d43204777a8e055731e345970b0b3380b53eea59
6
- sentry-cli-Linux-i686=9e55f8e9c78971c93f0ff13301c3961108b7e07c9730b0eb6dac11da5b45c2c7
7
- sentry-cli-Linux-x86_64=3603956ecdfe03fa8914871fd3895e18cee2261fdef4f5070ab052d0ca094c3c
8
- sentry-cli-Windows-i686.exe=661b8155dc5c9ae6df78a1f8303ad7bcb0967b94ab8d17756a4e43b237dd21c7
9
- sentry-cli-Windows-x86_64.exe=03d06dac7664f634519144b5b2692d43c0530971a84408152561db8e2159b54d
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.1",
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/",