Skip to content

This script takes a dataset that meets the Orcro licence list definition, and produces generalized compliance artefacts.

Notifications You must be signed in to change notification settings

galacticalex/compliance-artefact-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compliance Artefact Generator Script

This script takes a dataset that meets the Orcro licence list definition, and produces generalized compliance artefacts that are suitable for use in an OpenChain compliant program.

REUSE status GitHub

Usage

The script requires an R interpreter to run. Any version should be fine, but the script is tested with 4.1.3

GNU Wget is used to download licence texts, ensure that it is installed. Again, any version should be fine, but the script is tested with 1.21.3

It is expected that everything should work from a POSIX compliant shell. But the script is only tested on GNU Bash.

Two .csv data files are required as input:

1- A licence list (with appropriate metadata) for a software project 2- Scancode toolkit output for the corresponding software project

Lastly, and importantly, some dependencies may be installed via a package manager (specific to the project). So you should ensure that all appropriate package managers are installed (such as npm).

The recommended way to use this script is from a shell:

Rscript generate-artefacts.R LicenceList.csv ScancodeOutput.csv

Generated artefacts will be placed into the directory that the command was run from. The licence list and scan results should be encoded in UTF-8 and be present in the working directory.

Licence

Copyright © 2022 Orcro Ltd.

This program and the accompanying materials are made available under the terms of the Apache License Version 2.0, a copy can be found in ./LICENSES/.

Dependencies

R is released under the GNU General Public Licence version 3 or later.

GNU Wget is released under the GNU General Public Licence version 3 or later.

Contact

🏡 Orcro Ltd. team@orcro.co.uk

🔨 Maintainer alexander.murphy@orcro.co.uk

💻 Website orcro.co.uk

About

This script takes a dataset that meets the Orcro licence list definition, and produces generalized compliance artefacts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages