First Evaluation
First Evaluation Report
Date:2021-07-14
Updates
List of task completed
-
Created a jinja template for ScanCode required output
-
Integrated ScanCode for license scanning
- Display name of license with percentage matched
- Insert new license to
license_ref
table - Highlight matched text for license scanned
-
Integrated ScanCode for Copyright and Author
- Created following tables in the database
- scancode_copyright
- scancode_author
- scancode_copyright_event
- scancode_author_event
- Able to insert scancode scanned output in these tables.
- Added a tab named ScanCode Findings in copyright browser and modified Copyright findings by Fossology to FOSSology Findings.
- Created following tables in the database
List of commits
- feat(scancode): Initial commit
- This commit will add makefile, configure, and dependencies to run scancode toolkit.
- feat(scancode/agent): Add scancode agent
- Add scancode agent to scan a file
- Add name and percentage of licenses to fossology database.
- feat(scancode/ui): Add scancode agent UI
- Add UI for license scanning by scancode-toolkit.
- style(scancode): Update scancode agent
- Update scancode key with spdx-key, datatype of percentage license match from float(returned by scancode) to int(fossology need).
- feat(scancode/highlight): Add license highlight
- Highlight license relevant text for licenses scanned by scancode-toolkit
- feat(scancode): Add text_url and license full name
- This commit will add text_url and license full name for new licenses inserted into FOSSology database.
- feat(scancode): Add copyright & author info in DB
- Removed UI glitch from license highlighting.
- This glitch was due to not inserting only unique entries in the license_file and hightlight tables.
- feat(scancode):Create copyright and author table
- feat(scancode/copyrightUI):Add scancode tab
- Added a tab named ScanCode Findings in copyright browser and modified Copyright findings by Fossology to FOSSology Findings.
- feat(scancode):Add event table, comments, license
- Create tables for scancode_copyright_event and scancode_author_event
- Add copyright and license text in source code
- Add comments for source code
- Merge LicenseMatch and Match class
How to test
- Fetch feat/newagent/scancode-toolkit branch to your local.
- Install Fossology from source
Note Incase facing problem in scancode installation, Install scancode manually with pip(checkout installation page for scancode).
Work in progress
- Adding scancode copyright to UI
- Add emails and urls to HTML output
Postponed tasks
- Writing Tests for license integration.
- Create a ScanCode plugin to extract license-text.
- Will do after integrating scancode copyright/author.