Skip to content

Releases: aboutcode-org/scancode.io

v21.4.28

28 Apr 12:34
Compare
Choose a tag to compare
  • The installation local timezone can be configured using the TIME_ZONE setting.
    The current timezone in now included in the dates representation in the web UI.
    #142

  • Fix pipeline failure issue related to the assignment of un-saved (not valid) packages.
    #162

  • Add a new QUEUED status to differentiate a pipeline that is in the queue for execution
    from a pipeline execution not requested yet.
    #130

  • Refactor the multiprocessing code for file and package scanning.
    All database related operation are now executed in the main process as forking the
    existing database connection in sub-processes is a source of issues.
    Add progress logging for scan_for_files and scan_for_application_packages pipes. #145

  • Links from the charts to the resources list are now also filtered by
    in_package/not_in_package if enabled on the project details view. #124

  • Add ability to filter on codebase resource detected values such as licenses,
    copyrights, holders, authors, emails, and urls. #153

  • Filtered list views from a click on chart sections can now be opened in a new tab
    using ctrl/meta + click. #125

  • Add links to codebase resource and to discovered packages in list views.

v21.4.14

14 Apr 15:46
Compare
Choose a tag to compare
  • Implement timeout on the scan functions, default to 120 seconds per resources. #135

  • Fix issue with closing modal buttons in the web UI. #116 #141

v21.4.5

05 Apr 15:05
Compare
Choose a tag to compare
  • Add support for Docker and VM images using RPMs such as Fedora, CentOS, RHEL,
    and openSUSE linux distributions. #6

  • Add a compliance alert system based on license policies provided through a
    policies.yml file. #90 The compliance alerts are computed from the license_expression and
    stored on the codebase resource. When the policy feature is enabled, the compliance
    alert values are displayed in the UI and returned in all the downloadable results.
    The enable and setup the policy feature, refer to https://scancodeio.readthedocs.io/en/latest/scancodeio-settings.html#scancodeio-policies-file

  • Add a new codebase resource detail view including the file content.
    Detected value can be displayed as annotation in the file source. #102

  • Download URLs can be provided as inputs on the project form.
    Each URL is fetched and added to the project input directory. #100

  • Run celery worker with the "threads" pool implementation.
    Implement parallelization with ProcessPoolExecutor for file and package scans.
    Add a SCANCODEIO_PROCESSES settings to control the multiprocessing CPUs count. #70

  • Optimize "tag" type pipes using the update() API in place of save() on the QuerySet
    iteration. #70

  • Use the extractcode API for the Docker pipeline.
    This change helps with performance and results consistency between pipelines. #70

  • Create the virtualenv using the virtualenv.pyz app in place of the bundled "venv". #104

  • Consistent ordering for the pipelines, now sorted alphabetically.

1.1.0 (Feb 16, 2021)

16 Feb 15:05
Compare
Choose a tag to compare
  • Display project extra data in the project details view. #88

  • Add a @Profile decorator for profiling pipeline step execution. #73

  • Support inputs as tarballs in root_filesystem pipelines.
    The input archives are now extracted with extractcode to the codebase/ directory. #96

  • Improve support for unknown distros in docker and root_filesystem pipelines.
    The pipeline logs the distro errors on the project instead of failing. #97

  • Implement Pipeline registration through distribution entry points.
    Pipeline can now be installed as part of external libraries.
    With this change pipelines are no longer referenced by the
    Python script path, but by their registered name.
    This is a breaking command line API change. #91

  • Add a "Run Pipeline" button in the Pipeline modal of the Project details view.
    Pipelines can now be added from the Project details view. #84

  • Upgrade scancode-toolkit to version 21.2.9

  • Allow to start the pipeline run immediately on addition in the add_pipeline action
    of the Project API endpoint. #92

  • Rename the pipes.outputs module to pipes.output for consistency.

  • Remove the dependency on Metaflow. #82


WARNING: The new Pipelines syntax is not backward compatible with v1.0.x, the default built-in Pipeline were migrated.
Refer to the migration section bellow if you are using custom Pipelines.

Migrate Pipeline to 1.1.x:

  • Remove django.setup()
  • Remove @step decorators
  • Remove start() and end() methods
  • Remove all the self.next() calls
  • Remove the if __name__ == "__main__" section
  • Add a steps argument after the methods:
steps = (
    step1,
    step2,
)

See https://github.com/nexB/scancode.io/tree/1.1.0/scanpipe/pipelines for more Pipeline examples.

1.0.7 (Feb 2, 2021)

01 Feb 17:44
Compare
Choose a tag to compare
  • Add user interface to manage Projects from a web browser. All the command-line features are available #24
  • Log messages from Pipeline execution on a new Run instance log field #66
  • Add support for scancode pipes and Project name with whitespaces
  • Add a profile() method on the Run model for profiling pipeline execution #73

1.0.6 (Dec 12, 2020)

23 Dec 13:00
Compare
Choose a tag to compare
  • Add a management command to delete a Project and its related work directories #65
  • Add CSV and XLSX support for the output management command #46
  • Add a to_xlsx output pipe returning XLSX compatible content #46
  • Add a "status" management command to display Project status information #66
  • Fix the env_file location to run commands from outside the root dir #64
  • Add utilities to save project error in the database during Pipeline execution #64
  • Install psycopg2-binary instead of psycopg2 on non-Linux platforms #64

1.0.5 (Dec 7, 2020)

07 Dec 09:51
Compare
Choose a tag to compare
  • Add minimal license list and text views #32
  • Add admin actions to export selected objects to CSV and JSON
    The output content, such as included fields, can be configured for CSV format #48 #49
  • Add --list option to the graph management command.
    Multiple graphs can now be generated at once.
  • Add ProjectCodebase to help walk and navigate Project CodebaseResource
    loaded from the Database
    Add also a get_tree function compatible with scanpipe.CodebaseResource and
    commoncode.Resource #52
  • Add support for running ScanCode.io as a Docker image #9
  • Add support for Python 3.7, 3.8, and 3.9 #54

1.0.4 (Nov 17, 2020)

17 Nov 17:28
Compare
Choose a tag to compare
  • Add a to_json output pipe returning ScanCode compatible content #45
  • Improve Admin UI for efficient review: display, navigation, filters, and ability to view file content #36
  • Add Pipelines and Pipes documentation using Sphinx autodoc Fix for #38
  • Add new ScanCodebase pipeline for codebase scan Fix for #37
  • Upgrade Django, Metaflow, and ScanCode-toolkit to latest versions

1.0.3 (Sep 24, 2020)

24 Sep 14:48
Compare
Choose a tag to compare
  • Add ability to resume a failed pipeline from the run management command. Fix for #22
  • Use project name as argument to run a pipeline. Fix for #18
  • Add support for "failed" task_output in Run.get_run_id method. Fix for #17

1.0.2 (Sep 18, 2020)

18 Sep 14:44
Compare
Choose a tag to compare
  • Add documentation and tutorial. For #8
  • Add a create-project, add-input, add-pipeline, run, output management commands to expose ScanPipe features through the command line. Fix for #13
  • Always return the Pipeline subclass/implementation from the module inspection. Fix for #11