Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3742 Merge multiple project files into multiple project outputs (MIMO) #3800

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

ViktoriaGordeevaVG
Copy link
Collaborator

@ViktoriaGordeevaVG ViktoriaGordeevaVG commented Oct 23, 2024

Merge multiple project files into multiple project outputs (MIMO)

Issue: #3742

Description

The new -mimo command-line argument allows merging multiple files with the same prefix into separate output files. Files are matched based on their prefix before the first dot (e.g., prj1.sonar.cc.json and prj1.git.cc.json are matched because of the common prj1 prefix). If a file cannot be matched, the program suggests similar file names with a Levenshtein distance of less than 3 to help the user identify potential typos. This ensures a more flexible and error-tolerant merge process.

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

  • Changes have been manually tested
  • All TODOs related to this PR have been closed
  • There are automated tests for newly written code and bug fixes
  • All bugs discovered while working on this PR have been submitted as issues (if not already an open issue) feature request Add output file option to Analysis MergeFilter MIMO #3828
  • Documentation (GH-pages, analysis/visualization READMEs, parser READMEs, --help, etc.) has been updated (almost always necessary except for bug fixes)
  • CHANGELOG.md has been updated

Copy link

sonarcloud bot commented Nov 20, 2024

Copy link

sonarcloud bot commented Nov 20, 2024

@phanlezz
Copy link
Collaborator

@Richargh maybe you can try it out :) ?

@Richargh
Copy link

I will but not right now. I am technically on vacation until Tuesday next week :)

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.

Merge multiple project files into multiple project outputs (MIMO)
3 participants