Skip to content

Comments

Clean up deprecated and old flags in the CLI#1633

Open
zlav wants to merge 5 commits intomasterfrom
deprecate-flag-removal
Open

Clean up deprecated and old flags in the CLI#1633
zlav wants to merge 5 commits intomasterfrom
deprecate-flag-removal

Conversation

@zlav
Copy link
Member

@zlav zlav commented Jan 28, 2026

Overview

This PR is intended to clean up old CLI flags and clearly state that deprecated functionality is deprecated

  • --experimental-use-v3-go-resolver flag has been hidden. This behavior is now default
  • MSB documentation cleaned up. The flags have been hidden with deprecation warnings and the public docs have been removed.

Acceptance criteria

The logic to deprecate flags and the behavior is correct.

Testing plan

Manually run the flags on the binaries and see that they output a deprecation message and that they no longer show up in the list of features.

Risks

There should be none. The flags are either being hidden or having a deprecation notice added

Checklist

  • I added tests for this PR's change (or explained in the PR description why tests don't make sense).
  • If this PR introduced a user-visible change, I added documentation into docs/.
  • If this PR added docs, I added links as appropriate to the user manual's ToC in docs/README.ms and gave consideration to how discoverable or not my documentation is.
  • If this change is externally visible, I updated Changelog.md. If this PR did not mark a release, I added my changes into an ## Unreleased section at the top.
  • If I made changes to .fossa.yml or fossa-deps.{json.yml}, I updated docs/references/files/*.schema.json AND I have updated example files used by fossa init command. You may also need to update these if you have added/removed new dependency type (e.g. pip) or analysis target type (e.g. poetry).
  • If I made changes to a subcommand's options, I updated docs/references/subcommands/<subcommand>.md.

@zlav zlav requested a review from a team as a code owner January 28, 2026 21:42
@zlav zlav requested review from csasarak and removed request for csasarak January 28, 2026 21:42
@zlav zlav force-pushed the deprecate-flag-removal branch from 34a227e to 9f166d6 Compare February 4, 2026 19:51

FOSSA CLI uses [jar-callgraph-1.0.2.jar](../../scripts/jar-callgraph-1.0.2.jar) to infer call path edges.
FOSSA CLI uses `java -jar jar-callgraph-1.0.2.jar ./path/to/your/build.jar` command to record edges from
FOSSA CLI uses [jar-callgraph-1.0.3.jar](../../scripts/jar-callgraph-1.0.3.jar) to infer call path edges.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc changes that didn't get committed with https://github.com/fossas/fossa-cli/pull/1634/changes

@zlav zlav requested a review from csasarak February 4, 2026 20:37
Eventually, this flag will be fully removed so we recommend removing it from any scripts where you currently have it active.
The package-based Go module analysis is the same as the functionality under this flag except it is now the default.

Using this flag will display a deprecation warning. Please remove this flag from any scripts where you currently have it active.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should just remove this FAQ entry? It seems more in line with the spirit of this PR, which fully hides it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants