You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fb2416e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,20 @@ All notable changes to `src-cli` are documented in this file.
15
15
16
16
### Changed
17
17
18
+
- Updated Go to 1.26.10 and the Alpine `ca-certificates-bundle` in Docker images to 20261020-r0 to stop trusting the compromised eMudhra CAs ([CVE-2026-111943](https://emudhra.we-have-a-problem.com/)).
19
+
- HTTP requests now fail instead of hanging forever if the server does not start responding within 1 minute. Set the `SRC_RESPONSE_HEADER_TIMEOUT` environment variable to change this timeout, or to `0` to disable it. Responses that stream data for a long time (for example, large search job results) are not affected.
20
+
-`src search-jobs logs` and `src search-jobs results` now use the standard API client, gaining proxy support, `-insecure-skip-verify`, and cross-host redirect protection, and now report an error on non-200 responses instead of writing the error page into the output.
21
+
- The command list in `src help` is now generated from the registered commands instead of being maintained by hand. `src debug`, `src snapshot`, and `src lsp` now appear in it; aliases are shown after each description.
22
+
23
+
### Fixed
24
+
25
+
-`src doc` now generates reference pages for the `search-jobs`, `debug`, and `snapshot` subcommands, and the root `index.md` again lists legacy commands (`batch`, `repos`, `search`, ...) alongside the `urfave/cli` ones.
26
+
18
27
### Removed
19
28
20
29
- Removed `src sbom` and `src signature` commands. SBOMs and container signatures are no longer published as of Sourcegraph 7.1.0.
30
+
- Removed the internal `src batch exec` command. Server-side Batch Changes execution now uses the `batch-exec` binary in the Sourcegraph repository.
31
+
- Removed the `src teams` (`src team`) commands. Teams were removed in Sourcegraph 7.0 and the commands have refused to run against 7.x instances since src-cli 7.0.0.
21
32
22
33
## 6.7.1104
23
34
@@ -43,7 +54,7 @@ All notable changes to `src-cli` are documented in this file.
43
54
44
55
### Added
45
56
46
-
- SBOM support: Added `--image` and `--exclude-image` flags to `src sbom fetch` for filtering which docker images SBOMs are fetched for. Both flags support glob patterns (e.g., `frontend`, `*api*`) and comma-separated lists. The `sourcegraph/` image name prefix is optional.
57
+
- SBOM support: Added `--image` and `--exclude-image` flags to `src sbom fetch` for filtering which Docker images SBOMs are fetched for. Both flags support glob patterns (e.g., `frontend`, `*api*`) and comma-separated lists. The `sourcegraph/` image name prefix is optional.
47
58
48
59
### Changed
49
60
@@ -85,7 +96,7 @@ All notable changes to `src-cli` are documented in this file.
85
96
## 5.10.0
86
97
87
98
- cody gateway benchmark changes
88
-
- fix local builds for non sourcegraph team [1121](https://github.com/sourcegraph/src-cli/pull/1121)
99
+
- fix local builds for non Sourcegraph team [1121](https://github.com/sourcegraph/src-cli/pull/1121)
89
100
90
101
## 5.9.1
91
102
@@ -163,7 +174,7 @@ All notable changes to `src-cli` are documented in this file.
163
174
164
175
### Fixed
165
176
166
-
- The fork attribute in changesetTemplate is now acknowleged when creating a batch change via `src-cli`. [#58156](https://github.com/sourcegraph/sourcegraph/pull/58156)
177
+
- The fork attribute in changesetTemplate is now acknowledged when creating a batch change via `src-cli`. [#58156](https://github.com/sourcegraph/sourcegraph/pull/58156)
167
178
168
179
## 5.2.0
169
180
@@ -179,7 +190,7 @@ All notable changes to `src-cli` are documented in this file.
179
190
180
191
### Fixed
181
192
182
-
- The temporary docker volume created during workspace preparation is now cleaned up when failure occurs. [#1021](https://github.com/sourcegraph/src-cli/pull/1021).
193
+
- The temporary Docker volume created during workspace preparation is now cleaned up when failure occurs. [#1021](https://github.com/sourcegraph/src-cli/pull/1021).
183
194
184
195
## 5.1.1
185
196
@@ -265,7 +276,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
265
276
266
277
### Fixed
267
278
268
-
- Fix network timeout in `src users clean`occuring in instances with many users [#901](https://github.com/sourcegraph/src-cli/pull/901)
279
+
- Fix network timeout in `src users clean`occurring in instances with many users [#901](https://github.com/sourcegraph/src-cli/pull/901)
269
280
- Aligned parsing of spec file parameter of `src batch repos` with other commands. [#919](https://github.com/sourcegraph/src-cli/pull/919)
270
281
- Remove empty log outputs during batch spec execution. [#923](https://github.com/sourcegraph/src-cli/pull/923)
271
282
@@ -277,7 +288,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
277
288
278
289
### Added
279
290
280
-
- Batch Changes: Watchdog that checks for docker responsiveness while running commands has been added. [#898](https://github.com/sourcegraph/src-cli/pull/898)
291
+
- Batch Changes: Watchdog that checks for Docker responsiveness while running commands has been added. [#898](https://github.com/sourcegraph/src-cli/pull/898)
281
292
282
293
## 4.2.1
283
294
@@ -306,7 +317,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
306
317
307
318
### Changed
308
319
309
-
- Improved output for failing docker pulls in batch change execution. [#880](https://github.com/sourcegraph/src-cli/pull/880)
320
+
- Improved output for failing Docker pulls in batch change execution. [#880](https://github.com/sourcegraph/src-cli/pull/880)
310
321
311
322
## 4.1.0
312
323
@@ -793,7 +804,7 @@ Re-release of 3.29.3 for Sourcegraph 3.30.
793
804
794
805
### Fixed
795
806
796
-
- When specifying `-skip-errors`, the batch spec would always be empty. This ix fixed and the intended behavior has been restored. [#539](https://github.com/sourcegraph/src-cli/pull/539)
807
+
- When specifying `-skip-errors`, the batch spec would always be empty. This is fixed and the intended behavior has been restored. [#539](https://github.com/sourcegraph/src-cli/pull/539)
797
808
798
809
## 3.27.0
799
810
@@ -868,13 +879,13 @@ Re-release of 3.29.3 for Sourcegraph 3.30.
868
879
869
880
### Fixed
870
881
871
-
- The homebrew recipe for `src-cli` contained the wrong binary name.
882
+
- The Homebrew recipe for `src-cli` contained the wrong binary name.
872
883
873
884
## 3.24.6
874
885
875
886
### Fixed
876
887
877
-
- Workspaces could sometimes fail with docker bind mount errors, due to a race condition of multiple workspaces accessing the same auxilliary files. [#468](https://github.com/sourcegraph/src-cli/pull/468)
888
+
- Workspaces could sometimes fail with Docker bind mount errors, due to a race condition of multiple workspaces accessing the same auxiliary files. [#468](https://github.com/sourcegraph/src-cli/pull/468)
878
889
879
890
## 3.24.5
880
891
@@ -1150,7 +1161,7 @@ Re-release of 3.29.3 for Sourcegraph 3.30.
1150
1161
1151
1162
- Add `--no-progress` flag to the `lsif upload` command to disable verbose output in non-TTY environments.
1152
1163
-`SRC_HEADER_AUTHORIZATION="Bearer $(...)"` is now supported for authenticating `src` with custom auth proxies. See [auth proxy configuration docs](AUTH_PROXY.md) for more information. [#239](https://github.com/sourcegraph/src-cli/pull/239)
- Searches that result in errors will now display any alerts returned by Sourcegraph, including suggestions for how the search could be corrected. [#221](https://github.com/sourcegraph/src-cli/pull/221)
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ For quick end-to-end CLI sanity checks against a live Sourcegraph instance, run:
62
62
63
63
This script intentionally uses your currently exported `SRC_*` environment variables, is not hooked up to CI, and is meant for manual regression checks (for example, to catch issues like `src users list` failing unexpectedly).
64
64
65
-
We adhere to the [general Sourcegraph principles for testing](https://docs.sourcegraph.com/dev/background-information/testing_principles), as well as [the Go specific directions](https://docs.sourcegraph.com/dev/background-information/languages/testing_go_code), at least to the extent they apply to a standalone tool like `src`.
65
+
We adhere to the general Sourcegraph principles for testing, as well as the Go specific directions used in the main Sourcegraph repository, at least to the extent they apply to a standalone tool like `src`.
`src` waits up to 1 minute for the server to start responding to a request. To change this, set the `SRC_RESPONSE_HEADER_TIMEOUT` environment variable to a duration such as `30s` or `10m`, or to `0` to disable the timeout. This timeout only applies until the server sends its response headers — responses that stream data for a long time, such as large search job results, are not interrupted.
203
+
200
204
## Telemetry
201
205
202
206
`src` includes the operating system and architecture in the `User-Agent` header sent to Sourcegraph. For example, running `src` version 3.21.10 on an x86-64 Linux host will result in this header:
@@ -207,7 +211,7 @@ src-cli/3.21.10 linux amd64
207
211
208
212
To disable this and _only_ send the version, you can set `-user-agent-telemetry=false` for a single command, or set the `SRC_DISABLE_USER_AGENT_TELEMETRY` environment variable to any non-blank string.
209
213
210
-
As with [other Sourcegraph telemetry](https://docs.sourcegraph.com/dev/background-information/telemetry), any collected data is only sent to Sourcegraph.com in aggregate form.
214
+
As with other Sourcegraph telemetry, any collected data is only sent to Sourcegraph.com in aggregate form.
0 commit comments