-
Notifications
You must be signed in to change notification settings - Fork 8
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
Question: Is there a bulk text match API? #107
Comments
Hi @goneall, From my understanding of the BulkTextMatch workflow it is meant to interact with scan results and license matches, right? Unfortunately there is no Rest API endpoints able to perform such tasks (as far as I know). Maybe this needs to be discussed first in Fossology, e.g. in this issue about evolution of the REST API. /cc @shaheemazmalmmd |
Thanks @deveaud-m for the quick response.
That is my understanding as well. This is used in a batch mode in the Linux Foundation Scaffold script and is driven by configuration files. In looking at the fossdriver implementation, it is doing a post to |
Hey @goneall and @deveaud-m , the endpoints for bulk scans have recently been merged. You can find the relevant PRs linked in the issue fossology/fossology#2472 The next version of FOSSology will be shipping with these new endpoints. |
Thanks @GMishx - Looks like one more PR to merge then we'll have what we need to replace the FOSSDriver implementation. @deveaud-m - let me know if you'd like a PR to add once we have a release candidate for the next release of FOSSOlogy. Python isn't my "native" language, but I can make an attempt at a PR if it helps. |
I just released a new version supporting Fossology 4.2.1 today and there are still some endpoints not yet supported in this library for Fossology version 4.3.0 (see #52). I'm a bit late but this is not a blocker, we can start working on integrating all the license clearing endpoints even if there are not released in Fossology yet so feel free to open a PR (note that I'll be on vacation until end of the month). |
@goneall does this endpoint provides the functionality you need: https://fossology.github.io/fossology-python/items.html#fossology.items.Items.schedule_bulk_scan? |
Yes - this should work. Thanks @deveaud-m |
I'm working on migrating an app from using fossdriver to this fossology-python.
I've worked out most of the mapping with the exception of the bulk text match described here.
Is there an equivalent function in this library or API? If not, any advice on how to migrate that feature over?
The text was updated successfully, but these errors were encountered: