@sentry/cli 2.58.3-alpha0 → 2.58.4

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 (3) hide show
  1. package/README.md +5 -117
  2. package/checksums.txt +10 -7
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -8,127 +8,15 @@
8
8
  </a>
9
9
  </p>
10
10
 
11
- # Official Sentry Command Line Interface
11
+ # Sentry CLI
12
12
 
13
- [![Build Status](https://github.com/getsentry/sentry-cli/workflows/CI/badge.svg?branch=master)](https://github.com/getsentry/sentry-cli/actions?query=workflow%3ACI)
14
- [![GitHub release](https://img.shields.io/github/release/getsentry/sentry-cli.svg)](https://github.com/getsentry/sentry-cli/releases/latest)
15
- [![npm version](https://img.shields.io/npm/v/@sentry/cli.svg)](https://www.npmjs.com/package/@sentry/cli)
16
- [![license](https://img.shields.io/github/license/getsentry/sentry-cli.svg)](https://github.com/getsentry/sentry-cli/blob/master/LICENSE)
13
+ This is the repository for Sentry CLI, the official command line interface for Sentry.
17
14
 
18
- This is a Sentry command line client for some generic tasks. Right now this is
19
- primarily used to upload debug symbols to Sentry if you are not using the
20
- Fastlane tools.
15
+ Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs.
21
16
 
22
- * Downloads can be found under
23
- [Releases](https://github.com/getsentry/sentry-cli/releases/)
24
- * Documentation can be found [here](https://docs.sentry.io/hosted/learn/cli/)
17
+ ## Installation and Usage
25
18
 
26
- ## Installation
27
-
28
- If you are on macOS or Linux, you can use the automated downloader which will fetch the latest release version for you and install it:
29
-
30
- curl -sL https://sentry.io/get-cli/ | bash
31
-
32
- We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
33
- To do that, you can use the exact same method, with an additional version specifier:
34
-
35
- curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
36
-
37
- This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
38
-
39
- If you are using `sentry-cli` on Windows environments, [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist) is required.
40
-
41
- To verify it’s installed correctly you can bring up the help:
42
-
43
- sentry-cli --help
44
-
45
- ### pip
46
-
47
- _New in 2.14.3_: `sentry-cli` can also be installed using `pip`:
48
-
49
- ```bash
50
- pip install sentry-cli
51
- ```
52
-
53
- ### Node
54
-
55
- Additionally, you can also install this binary via npm:
56
-
57
- npm install @sentry/cli
58
-
59
- When installing globally, make sure to have set
60
- [correct permissions on the global node_modules directory](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
61
- If this is not possible in your environment or still produces an EACCESS error,
62
- install as root:
63
-
64
- sudo npm install -g @sentry/cli --unsafe-perm
65
-
66
- By default, this package will download sentry-cli from the CDN managed by [Fastly](https://www.fastly.com/).
67
- To use a custom CDN, set the npm config property `sentrycli_cdnurl`. The downloader will append
68
- `"/<version>/sentry-cli-<dist>"`.
69
-
70
- ```sh
71
- npm install @sentry/cli --sentrycli_cdnurl=https://mymirror.local/path
72
- ```
73
-
74
- Or add property into your `.npmrc` file (https://www.npmjs.org/doc/files/npmrc.html)
75
-
76
- ```rc
77
- sentrycli_cdnurl=https://mymirror.local/path
78
- ```
79
-
80
- There are a few environment variables that you can provide to control the npm installation:
81
-
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.
93
-
94
- If you're installing the CLI with NPM from behind a proxy, the install script will
95
- use either NPM's configured HTTPS proxy server or the value from your `HTTPS_PROXY`
96
- environment variable.
97
-
98
- ### Homebrew
99
-
100
- A homebrew recipe is provided in the `getsentry/tools` tap:
101
-
102
- brew install getsentry/tools/sentry-cli
103
-
104
- ### Docker
105
-
106
- As of version _1.25.0_, there is an official Docker image that comes with
107
- `sentry-cli` preinstalled. If you prefer a specific version, specify it as tag.
108
- The latest development version is published under the `edge` tag. In production,
109
- we recommend you to use the `latest` tag. To use it, run:
110
-
111
- ```sh
112
- docker pull getsentry/sentry-cli
113
- docker run --rm -v $(pwd):/work getsentry/sentry-cli --help
114
- ```
115
-
116
- Starting version _`2.8.0`_, in case you see `"error: config value 'safe.directory' was not found;"` message,
117
- you also need to correctly set UID and GID of mounted volumes like so:
118
-
119
- ```sh
120
- docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/work getsentry/sentry-cli --help
121
- ```
122
-
123
- This is required due to security issue in older `git` implementations. See [here](https://github.blog/2022-04-12-git-security-vulnerability-announced/) for more details.
124
-
125
- ## Update
126
-
127
- To update sentry-cli to the latest version run:
128
-
129
- ```sh
130
- sentry-cli update
131
- ```
19
+ Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/).
132
20
 
133
21
  ## Compiling
134
22
 
package/checksums.txt CHANGED
@@ -1,7 +1,10 @@
1
- sentry-cli-Linux-aarch64=dc847900b90b04eb9ae12a342bb68626d6a617f0dd3e806038f8db34a02e438c
2
- sentry-cli-Linux-armv7=6293a4e62f0cf12d2882864f71f9d243675b7092cce32eabdbbb404c80dd7809
3
- sentry-cli-Linux-i686=306384389c5685cf7174e903a1bacf804080437b89bb9335656b06eeed313e3a
4
- sentry-cli-Linux-x86_64=d49103860d24e6ba630bc78bdc9da6afab34464c645a7418ff378d23d55628b6
5
- sentry-cli-Windows-aarch64.exe=c054d584647fc5e4c6cb401be2c2b4ab63a3efd5cef4663a37b077857191496e
6
- sentry-cli-Windows-i686.exe=43e44eb88462d0bc8c3eb9f1bceb1e94ada25b6d4dddc06b66dcb81860a78af7
7
- sentry-cli-Windows-x86_64.exe=3e468f56865bfa4dea45b5a113f7399f2514fc954e358aa12ca88da97407e511
1
+ sentry-cli-Darwin-arm64=3f5065e7177188f9c193c66ca788eb956ef95a864845876552c51f5aa577ed30
2
+ sentry-cli-Darwin-universal=5a1c1121b45c48504d2ae58af11c743c5663ea8979db3258961838a16cf90c08
3
+ sentry-cli-Darwin-x86_64=87149438e1c4becdb54a8302832cacc9429638eadefd09d370b4806bec20a078
4
+ sentry-cli-Linux-aarch64=672cb986b0c5d84ef724f39b3aa189be802bceb8bc7dc8c5776a0ca90fcf41bd
5
+ sentry-cli-Linux-armv7=e8df469ae35f6d8cd788fe2967c5420633bb09348ad09953d5176615cf1bead0
6
+ sentry-cli-Linux-i686=1b05efec7bc2ebf4dca8f3e6ededa8ffedf8ee2dd49e23d434a20885bc9a50cf
7
+ sentry-cli-Linux-x86_64=a4932b4315b192b3d037678a16eb2a5a8731609f671fc4008e643b85c3c74cb6
8
+ sentry-cli-Windows-aarch64.exe=4e18e8d293366096d26573e31d03544ea16d9310f12450db1618ba55acfef8c4
9
+ sentry-cli-Windows-i686.exe=e7314b4b95b969378a46be45b087dfe8cc5c017aceb43a5bbcab3d5e7d6730ea
10
+ sentry-cli-Windows-x86_64.exe=6183f8ef1d4823290ba95656654714a3c5c216914229b3914acd99a8b4be812d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.58.3-alpha0",
3
+ "version": "2.58.4",
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/",
@@ -32,17 +32,17 @@
32
32
  "typescript": "5.8.3"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@sentry/cli-darwin": "2.58.3-alpha0",
36
- "@sentry/cli-linux-arm": "2.58.3-alpha0",
37
- "@sentry/cli-linux-arm64": "2.58.3-alpha0",
38
- "@sentry/cli-linux-i686": "2.58.3-alpha0",
39
- "@sentry/cli-linux-x64": "2.58.3-alpha0",
40
- "@sentry/cli-win32-i686": "2.58.3-alpha0",
41
- "@sentry/cli-win32-x64": "2.58.3-alpha0",
42
- "@sentry/cli-win32-arm64": "2.58.3-alpha0"
35
+ "@sentry/cli-darwin": "2.58.4",
36
+ "@sentry/cli-linux-arm": "2.58.4",
37
+ "@sentry/cli-linux-arm64": "2.58.4",
38
+ "@sentry/cli-linux-i686": "2.58.4",
39
+ "@sentry/cli-linux-x64": "2.58.4",
40
+ "@sentry/cli-win32-i686": "2.58.4",
41
+ "@sentry/cli-win32-x64": "2.58.4",
42
+ "@sentry/cli-win32-arm64": "2.58.4"
43
43
  },
44
44
  "scripts": {
45
- "postinstall": "npm run install-cli",
45
+ "postinstall": "node ./scripts/install.js",
46
46
  "build": "tsc",
47
47
  "install-cli": "node ./scripts/install.js",
48
48
  "prepack": "npm run build",