GithubHelp home page GithubHelp logo

spdx-java-spreadsheet-store's Introduction

spdx-java-spreadsheet-store

Stores SPDX documents in Microsoft Excel formats. Supports both XLS and XLSX file types.

This store supports serializing and deserializing files in XLS and XLSX spreadsheet formats.

This library utilizes the SPDX Java Library Storage Interface extending the ExtendedSpdxStore which allows for utilizing any underlying store which implements the SPDX Java Library Storage Interface.

Using the Library

This library is intended to be used in conjunction with the SPDX Java Library.

Create an instance of a store which implements the SPDX Java Library Storage Interface. For example, the InMemSpdxStore is a simple in-memory storage suitable for simple file serializations and deserializations.

Create an instance of SpreadsheetStore(IModelStore baseStore, SpreadsheetFormatType spreadsheetFormat) passing in the instance of a store created above along with the format. The format is one of the following:

  • XLS - Microsoft Excel 97 to 2003 Workbook format
  • XLSX - Microsoft Excel workbook format

Serializing and Deserializing

This library supports the ISerializableModelStore interface for serializing and deserializing files based on the format specified.

Development Status

Mostly stable - although it has not been widely used.

spdx-java-spreadsheet-store's People

Contributors

dependabot[bot] avatar goneall avatar tuannn2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

spdx-java-spreadsheet-store's Issues

Release Version 0.5 Checklist

  • Create release for any dependent libraries which have changed (Spdx-Java-Library)
  • Update dependency versions in the pom.xml file
  • Update the version in the pom.xml file
  • Publish using the command maven deploy - this will deploy to the bintray SPDX tools
  • Sync the bintray repo with Maven Central
  • Tag the repo with the release version
  • Publish the release on github

Release 1.1.5

  • Review all PR's and Issues
  • Pass unit tests
  • Test tools-java dependent library
  • Test cdx-to-spdx dependent library
  • Run mvn org.owasp:dependency-check-maven:check
  • Update version
  • Run mvn deploy
  • Release to Maven on Sonatype
  • Create Github release

Can not export SPDX 2.3 to Excel formats

Hello @goneall

I am using the tools-java library for sw360 and implementing an export function to support SPDX 2.3
I can't export SPDX 2.3 to xls/xlsx by using this library (spdx-java-spreadsheet-store), I can fix this issue and will create a pull request now.

Please help me check this PR.

Fix CI to skip sonar when pull requests submitted from non-SPDX users

When the CI runs for a pull request and the users is not part of the SPDX organization, the following error occurs:

Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project spdx-spreadsheet-store: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator -> [Help 1]

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.