THE SPDX WIKI IS NO LONGER ACTIVE. ALL CONTENT HAS BEEN MOVED TO https://github.com/spdx
Technical Team/Use Cases/2.0/Graveyard
From SPDX Wiki
We had several sources to begin pulling for SPDX Use Cases:
- The Pad from earlier conversations collected at Use Cases For SPDX 2.0 Discussion
- The old SPDX 1.0 Use Cases as well as the SDPX 1.0 Use Case Picture.
- Soliciting use cases in 2012 (especially at Linux Collab Summit in April)
NOTE: On May 29, 2012, we removed use cases which were not yet fleshed out. A snapshot of 'all' the use cases was saved in child page SPDX 2.0 Use Cases Graveyard. The process followed was to flesh out use cases here by having a brief summary listed here as a link to a more detailed child page. Note, these use cases should be *doable* but in general not *required*. Any item listed here that is not a link, should have a child page created for it.
- Code commits (original work intended for the project)
- Committer provides SPDX data
- Contributor makes commit subject to existing SPDX data of project
- Contributor makes commit subject to existing SPDX data of a dual licensed project and selects one license
- Committer annotates source files with SPDX data
- Patches (original work intended for the project)
- Patch provider provides a patch that modifies existing SPDX data of project
- Upstream maintainer providing SPDX data
- Upstream maintainer providing SPDX data in source archive
- Upstream maintainer providing SPDX data in SCM
- Upstream maintainer providing SPDX data at a URL
- Upstream maintainer preparing release artifacts (including SPDX data).
- Intended usage communicated by the auditee (how/will the audited item get included in delivered/deployed bits) [Bill Schineller]]
- Project maintainer incorporates another project
- Project maintainer incorporates another copyrightable artifact by reference (think maven, possibly linking cases)
- by static reference (the referenced library is included with a redistribution)
- by dynamic reference (express runtime dependency on the external library, but not redistributing it)
- Maven case
- SPDX-Lite:
- Intermediate packager (rpm, deb, etc) passing on and adding to SPDX Data
- Intermediate packager builds source package from upstream source
- Intermediate packager builds binary package from upstream source
- Intermediate packager adds patches to upstream source
- Intermediate packager adds someone else's patches to upstream source
- Intermediate packager subsetting upstream source
- Intermediate packager chooses to distribute one of multiple available under licenses provided for by upstream (check with legal team)
- Intermediate packager reviews SPDX data provided by upstream.
- Build systems (build systems want to pass on SPDX data for the thing they are building)
- Yocto
- How does SPDX work in an environment where the sources aren't there, but are pulled from git or a mirror and patched.
- Maven [Brian Fox]
- Rolling into release artifacts things only referenced in the POM file
- Shading (subsetting) portions of a transitive dependency for inclusion in your artifact
- Continuous integration around SPDX files (fixing SPDX files for commits coming in etc).
- Linking
- Debian has an interest in only building things that are linking license compatible
- If a tool is consuming SPDX data to interact with heuristics.
- Debian has an interest in only building things that are linking license compatible
- Java complications [Richard Fontana]]
- What to do about installers that download JDK directly from sun.
- I just made a binary out of some source
- Tool used to produce software infecting distribution license of the software itself [Kevin Fleming] (e.g. code-generator? Bison? ..)
- Yocto
- Aggregator aggregating many 'copyrightable items' for redistribution
- Linux Distros
- Embedded Images (e.g. router images, switch images)
- SDKs [Jack Manbeck]
- [[Technical_Team/Use_Cases/2.0/Reference_Implementations|Reference implementations] [Jack Manbeck]
- Eclipse/OSGI distributions
- Application which ships with documentation + media + software [Jack Manbeck]
- Application which ships with a contrib libraries
- Application which ships with development tools
- Receiving what appears to be commercial software but that commercial software contains Open Source
- Receiving what appears to be opensource software but that opensource software contains commercial software
- Subsetting out only the shippable bits of stuff coming from an SDK
- Aggregators aggregating other aggregations for redistribution
- Consumers receiving SPDX data
- Procurement needs to view it and review it
- Legal department needs to review
- Comply with licensing when there are multiple rights holders each with licensing use under a different license
- Provide sufficient data to allow consumer to comply with licenses on redistribution
- Bradley want to extract all rights holders for a particular file
- Multiple SPDX files you need to reconcile
- Recognizing the same SPDX data for the same code coming from multiple supply chain paths
- Flagging potential issues revealed by the SPDX
- License conflicts
- Listing out obligations
- Helping to meet the obligations of the licenses (Given that I receive an SPDX file, does the info in SPDX file allow me to extract what I need to meet basic kinds of obligations)
- How to capture attribution information for binaries
- Help with redistribution obligations
- Equivalence classes of binaries and tracking back to the same source and source SPDX data.
- Consider what to do about license metafiles
- COPYING files
- LICENSE.* files
- README.*
- Think about how to handle NOTICE files and Apache
- Consuming code snippets (God help us all) (subfile pieces of code not originally intended for the project)
- Make sure that the license and copyright information for a snippet is reflected in the SPDX data for the file
- Track differently licensed snippets explicitly
- Handle the case where code is copied and pasted through online forums etc.
- Signoff/multiple signoff on SPDX data
- Contracts with multiple parties requiring signoff by all [Kate Stewart]
- Signing off on only a subset of the SPDX data (of an SPDX document in progress?)
- Third party does licensing analysis
- Third party generates license analysis
- Actual usage communicated
- Did the code that I shipped (the binaries) match the copyrightable items? i.e. be able to produce an SPDX file that applies to binary code
- Collecting enough information to allow auditor to make recommendations to remove or not a component
- Tooling to assist with copyright (change copyright date and list of contributors/copyright holders, even as license and most of code remains unchanged) for changes between versions
- Unaffiliated third party provides SPDX data for a project
- Auditor Analyzing/Sanity-checking/correcting Bill of Material he's handed
- Backtrack from compiled/binary file to constituent files
- outbound: validate that SPDX goes hand in hand with what's being shipped [Kirsten Newcomer]
- Check to see if the SPDX data provided matches the files provided
- Check to see if the SPDX file is internally consistent (do I have a license refs to match licenses)
- Did the code that I shipped (the binaries) match the copyrightable items.
- inbound: validate that SPDX goes hand in hand with what's being brought in [Kirsten Newcomer]
- Chcek to see if the SPDX data matches the files you are shipping [Kirsten Newcomer]
- Check to see if the SPDX file is internally consistent (do I have a license refs to match licenses)
- SPDX lint
- Incomplete SPDX data you may need to complete
- Asserting corrections to SPDX data provided by others further upstream
- Migrating from one version of the SPDX spec to another (moving a file from SPDX 1.0 to 2.0 for example)
- e.g. knit together a bunch of 1.0 files into a 2.0...
- Extensions:
- Communicate data beyond what is described in spec between consenting parties w/o breaking consumers that are not in the know
- Experimental improvements to SDPX files w/o breaking consumers that are not in the know. [Peter Williams]
- License list extensions, how do you handle folks who have more licenses than SPDX
- Decorating an already produces and signed SPDX dataset with extension data [Bill Schineller]
- Recording per ExtractedLicenseText a comment detailing exactly which pattern matching technique / string found that Extracted License Text (so that SPDX file doesn't need to repeat in every matched File instance) [D. M. German]
- Recording free-form tribal knowledge about a file which is not otherwise visible in the text of the file itself (e.g. commit history from git repo, origin information such as scanning against a knowledge base of open source could provide) [Mark Gisi]
- Conveying Encryption content (Export Control implications) of a package/file in a package [someone at collab summit]
- Conveying Security Vulnerability information [Jianshen O.- Huawei]
- Look at a 'pingback' (URL string similar for blogs)kind of mechanism for original providers of SPDX (to allow them to figure out where it's used) [Andrew Hsu]
- Cloud
- Materializing a VM and making sure it's OK from a licensing mechanism
- SugarCRM case, obligation by virtue of using web service interface
- Legal Use Cases:
- Allow the NDA status of an SPDX document to be communicated in a machine readable way (not just a comment) for organizations that don't want the SPDX document to be publicly released [Mark Baushke from Juniper]
- How are we going to handle Public Domain (not in license list... region specific...)
Cross-cutting concerns
- Provenance (the need to optionally use signing to validate who said what)
- Trust
- Handling staleness of data
- Composite licensing
- Ease of sharing information
- Collecting tribal knowledge along the way
- Guarding against file bloat
- Simple simple simple
- SPDX-Lite:
- Clarity
- Automation/toolifiability
- Regionality
Themes:
Looking at these Use Cases, there are some underlying themes:
- Root of data (closer to upstream the better)
- Subsetting of copyrightable things (and their SPDX data) (Note: Subsets of copyrightable things are usually also copyrightable things)
- Aggregation of copyrightable things (and their SPDX data) (Note: Aggregations of copyrightable things are usually also copyrightable things).