Code Monkey home page Code Monkey logo

licenselistpublisher's Introduction

Build Status

LicenseListPublisher

This is the source code repository for the tool that generates license data found in the license-list-data repository. The source for the the data is located in the license-list-XML repository.

Getting Starting

The LicenseListPublisher binaries can be downloaded from the BinTray LicenseListPublisher repo under the respective release. The package is also available in Maven Central (organization org.spdx, artifact licenseListPublisher).

Contributing

See the file CONTRIBUTING.md for information on making contributions to the LicenseListPublisher.

Syntax

The command line interface of the licenseListPublisher can be used like this:

java -jar licenseListPublisher.jar <function> <parameters> 

Where the following functions and parameters are supported:

LicenseRDFAGenerator licencenseXmlFileOrDir outputDirectory [version] [releasedate] [testfiles] [ignoredwarnings]
   licencenseXmlFileOrDir - a license XML file or a directory of license XML files
   outputDirectory - Directory to store the output from the license generator
   [version] - Version of the SPDX license list
   [releasedate] - Release date of the SPDX license list
   [testfiles] - Directory of original text files to compare the generated licenses against
   [ignoredwarnings] - Either a file name or a comma separated list of warnings to be ignored
LicenseListPublisher
 -d,--directory <arg>        Input XML directory
 -h,--help                   Prints out this message
 -I,--ignoreAllWarnings      Ignore all warnings
 -O,--outputrepo <arg>       Git repository to output the license list
                             data to.  The git user must have update
                             access to this repository
 -p,--password <arg>         Github password
 -r,--release <arg>          License list release tag or version
 -t,--testOnly               Only tests the license XML files - does not
                             update or publish the results
 -u,--user <arg>             Github Username
 -w,--ignoreWarnings <arg>   Ignore specific warning messages
 -x,--xmlrepo <arg>          Input license XML repository
 -z,--debug                  Prints debug information while processing
TestLicenseXML licenseXmlFile textFile
   licenseXmlFile XML - file to test
   textFile - Text file which should match the the license text for the licenseXmlFile

WARNING

Running the LicenseRDFaGenerator for a single file will overwrite any index.html, licenses.json etc. with the single file results.

License

See the NOTICE file for licensing information including info from 3rd Party Software

See LICENSE file for full license text

SPDX-License-Identifier:	Apache-2.0
PackageLicenseDeclared:		Apache-2.0

Development

Build

You need Apache Maven to build the project:

mvn clean install

licenselistpublisher's People

Contributors

goneall avatar tjasmith avatar mlinksva avatar jlovejoy avatar dependabot[bot] avatar zvr avatar swinslow avatar wking avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.