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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,20 @@ All notable changes to `src-cli` are documented in this file.
11
11
12
12
## Unreleased
13
13
14
+
### Added
15
+
16
+
- 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.
17
+
18
+
### Changed
19
+
14
20
- The deprecated `src extensions` commands have been removed.
15
21
22
+
## 6.4.0
23
+
24
+
## 6.3.0
25
+
26
+
## 6.2.0
27
+
16
28
## 6.1.1
17
29
18
30
### Added
@@ -24,6 +36,7 @@ All notable changes to `src-cli` are documented in this file.
24
36
- Updated Go to 1.24.1
25
37
26
38
## 6.1.0
39
+
27
40
- Support uploading GZIP compressed SCIP indexes [1146](https://github.com/sourcegraph/src-cli/pull/1146)
28
41
- Remove deprecated `lsif` subcommand, and remove LSIF->SCIP conversion support [1147](https://github.com/sourcegraph/src-cli/pull/1147)
29
42
@@ -40,6 +53,7 @@ All notable changes to `src-cli` are documented in this file.
40
53
- Update x/crypto to fix reported CVE-2024-45337
41
54
42
55
## 5.10.0
56
+
43
57
- cody gateway benchmark changes
44
58
- fix local builds for non sourcegraph team [1121](https://github.com/sourcegraph/src-cli/pull/1121)
45
59
@@ -80,7 +94,7 @@ All notable changes to `src-cli` are documented in this file.
80
94
81
95
### Added
82
96
83
-
- Batch Changes: Added support for batch spec versions. Batch specs with `version: 2` will default to keyword search to resolve workspaces if the pattern type is not specified explicitly. (https://github.com/sourcegraph/sourcegraph/pull/63613)
97
+
- Batch Changes: Added support for batch spec versions. Batch specs with `version: 2` will default to keyword search to resolve workspaces if the pattern type is not specified explicitly. (<https://github.com/sourcegraph/sourcegraph/pull/63613>)
84
98
85
99
### Changed
86
100
@@ -147,11 +161,13 @@ All notable changes to `src-cli` are documented in this file.
147
161
## 5.1.0
148
162
149
163
### Added
164
+
150
165
-`src validate install` can check executor connections [#974](https://github.com/sourcegraph/src-cli/pull/974)
151
166
-`src validate install` can send test SMTP message [#973](https://github.com/sourcegraph/src-cli/pull/973)
152
167
-`src repos {add|update|delete}-metadata -repo-name` flag support [#977](https://github.com/sourcegraph/src-cli/pull/977)
153
168
154
169
### Changed
170
+
155
171
- Renamed `src repo {add|update|delete}-kvp` to `repo {add|update|delete}-metadata`[#972](https://github.com/sourcegraph/src-cli/pull/972)
156
172
157
173
## 5.0.3
@@ -192,7 +208,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
192
208
193
209
### Fixed
194
210
195
-
-`src codeintel upload` will no longer overwrite the entire route supplied via `-upload-route` if SCIP data is detected. [#934](https://github.com/sourcegraph/src-cli/pull/934)
211
+
-`src codeintel upload` will no longer overwrite the entire route supplied via `-upload-route` if SCIP data is detected. [#934](https://github.com/sourcegraph/src-cli/pull/934)
196
212
197
213
## 4.4.1
198
214
@@ -238,7 +254,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
238
254
### Added
239
255
240
256
- Batch specs being run locally with `src batch preview` or `src batch apply` can now be run with the `-run-as-root` flag, which will run all step containers as root instead of the default user for the image. This is off by default. [#886](https://github.com/sourcegraph/src-cli/pull/886)
241
-
- An **experimental** set of `src snapshot` commands for generating and sharing snapshots of Sourcegraph instances, as well as testing Sourcegraph instances restored from snapshots. [#888](https://github.com/sourcegraph/src-cli/pull/888), [#889](https://github.com/sourcegraph/src-cli/pull/889), [#890](https://github.com/sourcegraph/src-cli/pull/890)
257
+
- An __experimental__ set of `src snapshot` commands for generating and sharing snapshots of Sourcegraph instances, as well as testing Sourcegraph instances restored from snapshots. [#888](https://github.com/sourcegraph/src-cli/pull/888), [#889](https://github.com/sourcegraph/src-cli/pull/889), [#890](https://github.com/sourcegraph/src-cli/pull/890)
242
258
243
259
### Changed
244
260
@@ -312,7 +328,7 @@ No noteworthy changes, mechanical release to match Sourcegraph release.
312
328
313
329
### Changed
314
330
315
-
-**IMPORTANT:** Searches using the command `src search -stream` is updated to use a **new and better search result schema**, improving highlighting and accurate result counts for multiline matches. Please see the new JSON schema for results if you use the `src search -stream -json` output: [#807](https://github.com/sourcegraph/src-cli/pull/807)
331
+
-__IMPORTANT:__ Searches using the command `src search -stream` is updated to use a __new and better search result schema__, improving highlighting and accurate result counts for multiline matches. Please see the new JSON schema for results if you use the `src search -stream -json` output: [#807](https://github.com/sourcegraph/src-cli/pull/807)
316
332
317
333
### Fixed
318
334
@@ -935,7 +951,7 @@ Re-release of 3.29.3 for Sourcegraph 3.30.
935
951
### Changed
936
952
937
953
-`src campaign [apply|preview]` now prints more detailed information about the diffs produced in each repository when run in verbose mode with `-v`. [#390](https://github.com/sourcegraph/src-cli/pull/390)
938
-
- The dependency `go-diff` has been upgraded to 0.6.1 to include https://github.com/sourcegraph/go-diff/pull/55.
954
+
- The dependency `go-diff` has been upgraded to 0.6.1 to include <https://github.com/sourcegraph/go-diff/pull/55>.
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
@@ -83,7 +83,7 @@ We adhere to the [general Sourcegraph principles for testing](https://docs.sourc
83
83
[...]
84
84
```
85
85
After updating the checksums, rerun the command to verify that the values are correct.
86
-
4. Run `sg generate bazel` (this may not result in any changes)
86
+
4. Run `sg generate bazel`and `sg bazel configure`(this may not result in any changes)
87
87
4. Commit the changes, and open a PR.
88
88
6. Once the version bump PR is merged and the commit is live on dotcom, check that the [curl commands in the README](README.md#installation) also fetch the new latest version.
versionFlag:=flagSet.String("v", "", "The version of Sourcegraph to fetch SBOMs for.")
39
49
outputDirFlag:=flagSet.String("d", "sourcegraph-sboms", "The directory to store validated SBOMs in.")
40
50
internalReleaseFlag:=flagSet.Bool("internal", false, "Fetch SBOMs for an internal release. Defaults to false.")
41
51
insecureIgnoreTransparencyLogFlag:=flagSet.Bool("insecure-ignore-tlog", false, "Disable transparency log verification. Defaults to false.")
52
+
imageFlag:=flagSet.String("image", "", "Filter list of image names, to only fetch SBOMs for Docker images with names matching these patterns. Supports literal names, like frontend, and glob patterns like '*postgres*'. Multiple patterns can be specified as a comma-separated list (e.g., 'frontend,*postgres-1?-*'). The 'sourcegraph/' prefix is optional. If not specified, SBOMs for all images are fetched.")
53
+
excludeImageFlag:=flagSet.String("exclude-image", "", "Exclude Docker images with names matching these patterns from being fetched. Supports the same formats as --image. Takes precedence over --image filters.")
0 commit comments