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

wip: only files in git will be considered in the report, file name wi… #484

Closed
wants to merge 1 commit into from

Conversation

pedrobpereira
Copy link
Contributor

…ll be according to git file structure ALA-773

…ll be according to git file structure ALA-773

def matchAndReturnName(filename: String, fileNames: Seq[String]): Option[String] = {

fileNames.find(name => isTheSameFile(filename, name))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To achieve parity with the already implemented mechanisms in our code base (coverage-service, engine) there is still missing a part where we sort by similarity (see code base)

packageName = pkg \@ "name"
sourceFile <- pkg \\ "sourcefile"
filename = s"$packageName/${sourceFile \@ "name"}"
actualName <- FileNameMatcher
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be moved to a more generic place, after the reports are done, so that we don't have to implement for each parser

@pedrobpereira
Copy link
Contributor Author

Will be tackled here #485

@manufacturist manufacturist deleted the git-only-files-report-ALA-773 branch February 29, 2024 13:43
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.

1 participant