-
Notifications
You must be signed in to change notification settings - Fork 314
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
Scanner: How to upgrade scan-code version from ORT #4296
Comments
@porsche-rishisaxena We will be soon upgrading to the latest version of ScanCode currently doing upgrade tests, but if you have locally or in your Docker image have newer version of ScanCode the ORT will use it. |
Thank you @tsteenbe for the providing an update. Would you be so kind to provide some more insight to scan-code version upgrade in context to timelines? |
@porsche-rishisaxena It's currently being worked on, expect at the latest last week of August if all goes well |
@tsteenbe I'd be interested in what HERE is doing in the ScanCode upgrading context to maintain compatibility with existing scan results. That's a difficult topic, and one of the reasons why we didn't do the upgrade yet ourselves. |
@tsteenbe Would you be so kind to provide more information on what version of scan-code is under testing for the upgrade? We ran multiple test with different version of Scan-Code and the latest version of scan-code also result with a bug. |
See the draft PR at #4324, it's version 21.7.30 (currently). |
@tsteenbe: Is there any update on the progress or result from testing on the scan-code upgrade? |
To give an update on this, I am currently working on some refactorings required to make the ScanCode version configurable. One blocker is currently that the ScanCode license texts included with ORT need to match the used ScanCode version. This will be fixed by #4523 and could later be improved by downloading license texts from https://scancode-licensedb.aboutcode.org/ or by aboutcode-org/scancode-toolkit#2738. This in turn depends on a refactoring of our utils modules which I have started in #4624 and which will require one more PR afterwards. Once this is done we can go ahead with #4582 and let users choose the ScanCode version they want to use, provided that there are no breaking changes in ScanCode's output format. |
Thank you so much @mnonnenmacher for making this issue progressive. |
@porsche-rishisaxena I cannot commit to a timeline as this is a side-task for me, but the largest part of the work is already done, so I hope this can be finished within the next two weeks. |
@porsche-rishisaxena With the merge of my latest PR (#4669) ORT does not require a specific ScanCode version anymore. We do not yet provide an easy way to build the Docker image with a different ScanCode version, but you could already fork this repository and replace the ScanCode version in the Dockerfile or create your own Dockerfile that inherits from ours. |
This has been resolved meanwhile in #4721, and upgrading ScanCode is now as easy as setting the |
Scanner: We realized that ORT is running with year old version of scan-code. How to upgrade scan-code version from ORT to its latest version (scan-code)?
The text was updated successfully, but these errors were encountered: