@sentry/cli 1.73.0 → 1.74.0
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/CHANGELOG.md +23 -1
- package/checksums.txt +9 -9
- package/package.json +4 -3
- package/scripts/install.js +17 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
"You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.74.0
|
|
6
|
+
|
|
7
|
+
### Various fixes & improvements
|
|
8
|
+
|
|
9
|
+
- ref: Dont run install script using node binary (#1151) by @kamilogorek
|
|
10
|
+
- feat: Add show-projects and show-commits flags to 'releases info' command (#1144) by @kamilogorek
|
|
11
|
+
- ref: Rework find_id function of difutil find (#1149) by @kamilogorek
|
|
12
|
+
- ref: Rework find_matching_rev tests to not use our real repo history (#1147) by @kamilogorek
|
|
13
|
+
- deps: Update git2 crate to 0.14.1 to support custom git extensions (#1140) by @kamilogorek
|
|
14
|
+
- ci: Change stale GitHub workflow to run once a day (#1141) by @kamilogorek
|
|
15
|
+
|
|
16
|
+
## 1.73.2
|
|
17
|
+
|
|
18
|
+
### Various fixes & improvements
|
|
19
|
+
|
|
20
|
+
- install: Rename SENTRY_NO_PROGRESS_BAR flag to SENTRYCLI_NO_PROGRESS_BAR (#1132) by @kamilogorek
|
|
21
|
+
|
|
22
|
+
## 1.73.1
|
|
23
|
+
|
|
24
|
+
### Various fixes & improvements
|
|
25
|
+
|
|
26
|
+
- feat: Allow for using local binary through SENTRYCLI_USE_LOCAL env (#1129) by @kamilogorek
|
|
27
|
+
- ref: Dont panic on malformed xcodeproj directories (#1127) by @kamilogorek
|
|
6
28
|
|
|
7
29
|
## 1.73.0
|
|
8
30
|
|
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=ad610f37ffa4dbf239706f4c1af451d64884e7e2422a22a4708bb4564348a951
|
|
2
|
+
sentry-cli-Darwin-universal=9a619d98b507533db2fff46e788e789f706f489db4572445cbb1949b7bccd2d9
|
|
3
|
+
sentry-cli-Darwin-x86_64=5665034483b4104177e60ff4317b87bf04ba51fab9959d66c557cda4541776eb
|
|
4
|
+
sentry-cli-Linux-aarch64=83f2ba621569ded12289e6d140a125ac01eaf9bf087b8f8b425082298246f46d
|
|
5
|
+
sentry-cli-Linux-armv7=71c182d7762e98a74e5a2c5b80341d4cee2a03fddc0d238f29f3f0bcf05658b1
|
|
6
|
+
sentry-cli-Linux-i686=58944522ec6fa51c471643048cbf03be77e3c815291dd8ed4025aff5aa1be19a
|
|
7
|
+
sentry-cli-Linux-x86_64=33df0510ed10a2a79ee0aa6ae8edd344a7848cb98ddf5015a784bd93199a88fc
|
|
8
|
+
sentry-cli-Windows-i686.exe=bb683bb7a6f1f834cbd22aa6a2c8a5ae1432a769c8691bfbb9a9b0a652ead1a5
|
|
9
|
+
sentry-cli-Windows-x86_64.exe=c37d877584a5ebca2f91436910b081cdede1573c0de39d4541a4555aa9485dfc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.0",
|
|
4
4
|
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
|
|
5
5
|
"homepage": "https://docs.sentry.io/hosted/learn/cli/",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"sentry-cli": "bin/sentry-cli"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"install": "
|
|
27
|
+
"install": "./scripts/install.js",
|
|
28
28
|
"fix": "npm-run-all fix:eslint fix:prettier",
|
|
29
29
|
"fix:eslint": "eslint --fix bin/* scripts/**/*.js js/**/*.js",
|
|
30
30
|
"fix:prettier": "prettier --write bin/* scripts/**/*.js js/**/*.js",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"node-fetch": "^2.6.7",
|
|
41
41
|
"npmlog": "^4.1.2",
|
|
42
42
|
"progress": "^2.0.3",
|
|
43
|
-
"proxy-from-env": "^1.1.0"
|
|
43
|
+
"proxy-from-env": "^1.1.0",
|
|
44
|
+
"which": "^2.0.2"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"eslint": "^6.8.0",
|
package/scripts/install.js
CHANGED
|
@@ -18,6 +18,7 @@ const Proxy = require('proxy-from-env');
|
|
|
18
18
|
// NOTE: Can be dropped in favor of `fs.mkdirSync(path, { recursive: true })` once we stop supporting Node 8.x
|
|
19
19
|
const mkdirp = require('mkdirp');
|
|
20
20
|
const npmLog = require('npmlog');
|
|
21
|
+
const which = require('which');
|
|
21
22
|
|
|
22
23
|
const helper = require('../js/helper');
|
|
23
24
|
const pkgInfo = require('../package.json');
|
|
@@ -47,7 +48,8 @@ function getLogStream(defaultStream) {
|
|
|
47
48
|
function shouldRenderProgressBar() {
|
|
48
49
|
const silentFlag = process.argv.some(v => v === '--silent');
|
|
49
50
|
const silentConfig = process.env.npm_config_loglevel === 'silent';
|
|
50
|
-
|
|
51
|
+
// Leave `SENTRY_NO_PROGRESS_BAR` for backwards compatibility
|
|
52
|
+
const silentEnv = process.env.SENTRYCLI_NO_PROGRESS_BAR || process.env.SENTRY_NO_PROGRESS_BAR;
|
|
51
53
|
const ciEnv = process.env.CI === 'true';
|
|
52
54
|
// If any of possible options is set, skip rendering of progress bar
|
|
53
55
|
return !(silentFlag || silentConfig || silentEnv || ciEnv);
|
|
@@ -194,6 +196,20 @@ function downloadBinary() {
|
|
|
194
196
|
const platform = os.platform();
|
|
195
197
|
const outputPath = helper.getPath();
|
|
196
198
|
|
|
199
|
+
if (process.env.SENTRYCLI_USE_LOCAL === '1') {
|
|
200
|
+
try {
|
|
201
|
+
const binPath = which.sync('sentry-cli');
|
|
202
|
+
npmLog.info('sentry-cli', `Using local binary: ${binPath}`);
|
|
203
|
+
fs.copyFileSync(binPath, outputPath);
|
|
204
|
+
return Promise.resolve();
|
|
205
|
+
} catch (e) {
|
|
206
|
+
throw new Error(
|
|
207
|
+
'Configured installation of local binary, but it was not found.' +
|
|
208
|
+
'Make sure that `sentry-cli` executable is available in your $PATH or disable SENTRYCLI_USE_LOCAL env variable.'
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
197
213
|
const downloadUrl = getDownloadUrl(platform, arch);
|
|
198
214
|
if (!downloadUrl) {
|
|
199
215
|
return Promise.reject(new Error(`Unsupported target ${platform}-${arch}`));
|