By Sarita Singh, Mon 23 August 2021, in category Final evaluation
Integrating ScanCode toolkit as a new agent to FOSSology. Using the command line interface from the scancode package in order to be called right from the fossology application. Fossology is passing a single file and takes the result for license/copyright/author from the scancode command line call.
| category | task | status |
|---|---|---|
| template | Using scancode custom template | ☑ |
| license | License info scanned by scancode | ☑ |
| license DB | Reusing existing license in the fossology database | ☑ |
| license DB | Inserting new license in the fossology database | ☑ |
| license UI | Highlighting license relevance text | ☑ |
| license DB | Inserting new license key,full name, ref_url | ☑ |
| license DB | Inserting license text for new license in fossology | ☐ |
| license report | Including scancode in the license report | ☑ |
| copyright | Creating new tables for copyright and author both on UI and DB | ☑ |
| copyright | Copyright and Author info scanned by scancode | ☑ |
| copyright | Email and URL info scanned by scancode | ☐ |
| copyright DB | Populated newly created scancode database table | ☑ |
| copyright UI | Copyright bulk view has scancode table populated | ☑ |
| copyright UI | Email/URL/Author bulk view has scancode table populated | ☑ |
| copyright UI | Copyright single view has scancode integrated | ☑ |
| copyright UI | Highlight working for copyright | ☐ |
| copyright report | Including scancode copyright in the report | ☐ |
| scancode | Schedule scancode from bulk view space | ☐ |
| API | Integrating ScanCode to FOSSology API | ☑ |
| testing | Write tests for scancode agent | ☐ |
| CLI | Using CLI to run scancode | ☐ |
Demonstrating ScanCode integrated to the FOSSology UI
$ git fetch https://github.com/itssingh/fossology sarita/newagent/scancode:scancode and checkout to the scancode branch.Upload a file from Source/URL/VCS then select license or copyright under scancode-toolkit.
NOTE: Email and URL are not working for now as scancode-toolkit doesn't provide this info by using a custom template (PR is merged waiting for new release 🥳 ).
If you are facing a problem in installing scancode, please install the scancode-toolkit manually. The steps to install scancode-toolkit