Skip to content

Support for customizing the output directory for Quack Patch#1713

Open
sig-abyreddy wants to merge 4 commits into11.4.zfrom
IDETECT-5066
Open

Support for customizing the output directory for Quack Patch#1713
sig-abyreddy wants to merge 4 commits into11.4.zfrom
IDETECT-5066

Conversation

@sig-abyreddy
Copy link
Copy Markdown
Contributor

Description

Support for customizing the output directory for Quack Patch.

Changes,

  • Introduced a new flag detect.quack.patch.output to control the path for quack patch output information. If not set, the current working directory will be used as the default.

Ticket: IDETECT-5066

@dterrybd dterrybd requested a review from cpottsbd April 14, 2026 17:51
String quackPatchOutputDir = configFactory.getDetectPropertyConfiguration().getValue(DetectProperties.DETECT_QUACK_PATCH_OUTPUT);
logger.debug("Quack Patch output directory set to: {}", quackPatchOutputDir);
ComponentLocator.runQuackPatch(rapidFullResultsFile, relevantDetectorsAndFiles, llmKey, llmName, llmURL, quackPatchOutputDir);
return new QuackPatchResult(getQuackPatchOutputDirectory(new File(quackPatchOutputDir)));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

indentation on the return looks off from the rest of the method

* npm detectors now allow for aliases to be used when specifying dependencies in the package.json file.
* Ivy CLI Detector, leveraging the `ivy:dependencytree` Ant task to extract direct and transitive dependencies for Ant + Ivy projects. For further information, see [Ivy (Ant) support](packagemgrs/ivy.md).
* Changed the default output directory of the Quack Patch feature to current working directory.
* Introduced a new flag `detect.quack.patch.output` to control the path for quack patch output information. If not set, the current working directory will be used as the default.
Copy link
Copy Markdown
Contributor

@cpottsbd cpottsbd Apr 14, 2026

Choose a reason for hiding this comment

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

Perhaps line 27 is made redundant with your line 28? (OR should it be under a "### Changed features" heading?)
Suggestion for line 28:

  • Introduced the detect.quack.patch.output property to control the Quack Patch output information path. If not set, the current working directory will be used as the default.

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.

4 participants