Skip to content

Commit 0c2230c

Browse files
authored
[ANE-2564] Remove fossa snippets subcommand (#1623)
* remove snippets subcommand * update millhone readmes
1 parent 6f01179 commit 0c2230c

13 files changed

Lines changed: 6 additions & 703 deletions

File tree

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# FOSSA CLI Changelog
22

3+
## 3.15.3
4+
- Remove `fossa snippets` subcommand and documentation ([#1623](https://github.com/fossas/fossa-cli/pull/1623))
5+
36
## 3.15.2
47
- Licensing: applies a fix for public domain detection ([#1625](https://github.com/fossas/fossa-cli/pull/1625))
58

docs/README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,6 @@ Concept guides explain the nuances behind how basic FOSSA primitives work. If yo
120120

121121
- [Overview and Support Policy](./references/experimental/README.md)
122122

123-
#### Scanning Projects for Source Snippets
124-
125-
- [Overview](./references/subcommands/snippets.md)
126-
- [Quickstart](./references/subcommands/snippets.md#quickstart)
127-
- [Frequently Asked Questions](./references/subcommands/snippets.md#faq)
128-
129-
##### Subcommands
130-
131-
- [`fossa snippets analyze`](./references/subcommands/snippets/analyze.md)
132-
- [`fossa snippets commit`](./references/subcommands/snippets/commit.md)
133-
134123
### References
135124

136125
#### CLI commands
@@ -140,7 +129,6 @@ Concept guides explain the nuances behind how basic FOSSA primitives work. If yo
140129
- [`fossa init`](./references/subcommands/init.md): Generate sample config files.
141130
- [`fossa list-targets`](./references/subcommands/list-targets.md): Retrieve a list of filterable targets in a project.
142131
- [`fossa report`](./references/subcommands/report.md): Download a report of the most recent scan of a project.
143-
- [`fossa snippets`](./references/subcommands/snippets.md): Analyze snippets of a project and check if they exist in other open source projects FOSSA knows about.
144132
- [`fossa test`](./references/subcommands/test.md): View the results of the most recent scan of a project.
145133
- [`fossa release-group`](./references/subcommands/release-group.md): Interact with FOSSA release groups.
146134
- [`fossa project`](./references/subcommands/project.md): Interact with FOSSA projects.

docs/references/subcommands/snippets.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

docs/references/subcommands/snippets/analyze.md

Lines changed: 0 additions & 110 deletions
This file was deleted.

docs/references/subcommands/snippets/commit.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

extlib/millhone/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# `millhone`
22

3-
This CLI is used for FOSSA snippet scanning,
4-
and will be accessible via `fossa snippets` in future FOSSA CLI releases.
3+
This CLI is used for FOSSA container JAR analysis.
54

65
# Subcommands
76

extlib/millhone/docs/subcommands/analyze.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ example-project/
2222
main.c
2323
```
2424

25-
When scanned like `fossa snippets analyze -o snippets`,
25+
When scanned like `millhone analyze -o snippets`,
2626
would be presented like the below if all files contained a snippet match:
2727
```
2828
snippets/
@@ -89,7 +89,7 @@ committing these results in a FOSSA scan.
8989

9090
# Next Steps
9191

92-
After running `fossa snippets analyze`, the next step is to run `fossa snippets commit`.
92+
After running `millhone analyze`, the next step is to run `millhone commit`.
9393

9494
These are separate steps to give users the ability to edit or review the matched data
9595
prior to submitting the results to FOSSA.

spectrometer.cabal

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ library
230230
App.Fossa.Config.SBOM.Analyze
231231
App.Fossa.Config.SBOM.Common
232232
App.Fossa.Config.SBOM.Test
233-
App.Fossa.Config.Snippets
234233
App.Fossa.Config.Test
235234
App.Fossa.Container
236235
App.Fossa.Container.AnalyzeNative
@@ -281,9 +280,6 @@ library
281280
App.Fossa.RunThemis
282281
App.Fossa.SBOM
283282
App.Fossa.SBOM.Analyze
284-
App.Fossa.Snippets
285-
App.Fossa.Snippets.Analyze
286-
App.Fossa.Snippets.Commit
287283
App.Fossa.Subcommand
288284
App.Fossa.Test
289285
App.Fossa.VendoredDependency

0 commit comments

Comments
 (0)