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

changing tool_name from scanpipe to ScanCode.io #1571

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

Conversation

Avan2021
Copy link

This PR fixes #1556
Replaced all instances of tool_name from scanpipe to ScanCode.io

Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

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

@Avan2021 thanks for your PR.

  1. Could you merge the latest main branch, we had a lot of CI tests failing from an unrelated issue (see Bump commoncode to v32.2.0 and pin BeautifulSoup4 #1583 (comment)) so you need to use the latest which has the fix. You would still have some test failures after this btw, you need to fix those.
  2. You have merely changed the test expectations which are the JSON files, but you have not changed the actual behavior where the scan results JSON has the correct tool_name. Can you look at the code in scanpipe/pipes/output.py where we set the tool_name and modify it accordingly?

Signed-off-by: Avan2021 <avandalal2007@gmail.com>
Signed-off-by: Avan2021 <avandalal2007@gmail.com>
@Avan2021
Copy link
Author

Hi @AyanSinhaMahapatra, I am sorry for not seeing the comments or email. I was occupied by something, thanks for pointing out that I also need to have change tool_name accessed by the output.py

Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

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

@Avan2021 please check the test failures, you should always run the tests locally before pushing. There is some more changes required here.

@AyanSinhaMahapatra AyanSinhaMahapatra removed the request for review from tdruez March 11, 2025 08:44
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.

The tool name should be scancode.io not scanpipe in JSON results?
2 participants