THE SPDX WIKI IS NO LONGER ACTIVE. ALL CONTENT HAS BEEN MOVED TO https://github.com/spdx
Difference between revisions of "Technical Team/Use Cases/2.0"
From SPDX Wiki
Bschineller (Talk | contribs) |
Bschineller (Talk | contribs) |
||
(89 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | + | We have several sources to begin pulling for SPDX Use Cases: | |
+ | |||
+ | # The Pad from earlier conversations collected at [[Technical_Team/Old/Use_Cases_Collected_during_1.x_timeframe|Use Cases For SPDX 2.0 Discussion]] | ||
+ | # The old [[Technical_Team/Old/Sandbox_for_Sharing_Examples/SPDX_Use_Case_1|SPDX 1.0 Use Cases]] as well as the [[:File:ecosystem.jpg|SDPX 1.0 Use Case Picture]]. | ||
+ | |||
+ | == Use Cases == | ||
+ | |||
+ | I'd like to propose that we 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) | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Committers_provides_SPDX_data_for_a_code_being_committed|Committer provides SPDX data]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Contributor_makes_commit_subject_to_existing_SPDX_data_of_project|Contributor makes commit subject to existing SPDX data of project]] [OK] | ||
+ | # [[Technical_Team/Use_Cases/2.0/Committer_annotates_source_files_with_SPDX_data|Committer annotates source files with SPDX data]] [OK] | ||
+ | # Patches (original work intended for the project) | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Patch_provider_provides_SPDX_data_for_the_patch|Patch provider provides SPDX data for the patch]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Patch_provider_provides_SPDX_data_for_the_patch_indicating_it_is_licensed_however_the_hell_its_applied|Patch provider provides SPDX data for the patch indicating it is licensed however the hell its applied]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Patch_provider_provides_patch_subject_to_existing_SPDX_data_of_project|Patch provider provides patch subject to existing SPDX data of project]] [OK] | ||
+ | # Patch provider provides a patch that modifies existing SPDX data of project | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Downstream_consumers_contributing_patches_to_provide_SPDX_data_to_an_upstream_that_doesnt_have_it|Downstream consumers contributing patches to provide SPDX data to an upstream that doesn't have it.]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Downstream_consumers_contributing_patches_to_provide_corrections_to_SPDX_data_for_an_upstream_that_does_have_it|Downstream consumers contributing patches to provide corrections to SPDX data for an upstream that does have it.]] [OK] | ||
+ | # [[Technical_Team/Use_Cases/2.0/Upstream_maintainer_providing_SPDX_data|Upstream maintainer providing SPDX data]] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Upstream_maintainer_providing_SPDX_data_in_source_archive|Upstream maintainer providing SPDX data in source archive]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Upstream_maintainer_providing_SPDX_data_in_SCM|Upstream maintainer providing SPDX data in SCM]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Upstream_maintainer_providing_SPDX_data_at_a_URL|Upstream maintainer providing SPDX data at a URL]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Upstream_maintainer_preparing_release_artifacts_(including_SPDX_data)|Upstream maintainer preparing release artifacts (including SPDX data).]] [OK] | ||
+ | # Project maintainer incorporates another project | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Project_maintainer_incorporates_another_project_by_including_source|Project maintainer incorporates another project by including source]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Project_maintainer_incorporates_another_project_by_including_binary|Project maintainer incorporates another project by including binary]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Project_maintainer_pulling_individual_files_out_of_another_project_(subsetting)|Project maintainer pulling individual files out of another project (subsetting)]] [OK] | ||
+ | # Ease adoption | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Low_cost_SPDX_file|Allow a low investment SPDX producer to produce valid SPDX data]] [OK-fathomed but not Approved for Implementation] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Producing_valid_SPDX_files_in_the_face_of_missing_data|Produce a valid SPDX dataset even if some data is missing]] [OK] | ||
+ | # Intermediate packager (rpm, deb, etc) passing on and adding to SPDX Data | ||
+ | ## Intermediate packager builds source package from upstream source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_builds_source_package_from_upstream_source_that_provides_SPDX_data|Intermediate packager builds source package from upstream source that provides SPDX data]] [OK] | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_builds_source_package_from_upstream_source_that_does_not_provide_SPDX_data|Intermediate packager builds source package from upstream source that does not provide SPDX data]] [OK] | ||
+ | ## Intermediate packager builds binary package from upstream source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_builds_binary_package_from_upstream_source_that_provides_SPDX_data|Intermediate packager builds binary package from upstream source that provides SPDX data]] [OK] | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_builds_binary_package_from_upstream_source_that_does_not_provides_SPDX_data|Intermediate packager builds binary package from upstream source that does not provides SPDX data [OK]] | ||
+ | ## Intermediate packager adds patches to upstream source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_adds_patches_to_upstream_source_that_provides_SPDX_data|Intermediate packager adds patches to upstream source that provides SPDX data]] [OK] | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_adds_patches_to_upstream_source_that_does_not_provide_SPDX_data|Intermediate packager adds patches to upstream source that does not provide SPDX data [OK]] | ||
+ | ## Intermediate packager adds someone else's patches to upstream source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_adds_someone_elses_patches_to_upstream_source_that_provides_SPDX_data|Intermediate packager adds someone else's patches to upstream source that provides SPDX data]] [OK] | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_adds_someone_elses_patches_to_upstream_source_that_does_not_provide_SPDX_data|Intermediate packager adds someone else's patches to upstream source that does not provide SPDX data]] [OK] | ||
+ | ## Intermediate packager subsetting upstream source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_subsetting_upstream_source_that_provides_SPDX_data|Intermediate packager subsetting upstream source that provides SPDX data]] [OK] | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Intermediate_packager_subsetting_upstream_source_that_does_not_provide_SPDX_data|Intermediate packager subsetting upstream source that does not provide SPDX data [OK]] | ||
+ | # Build systems (build systems want to pass on SPDX data for the thing they are building) | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Build_System_Yocto|Yocto]] [OK] | ||
+ | ## Linking | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Debian_has_an_interest_in_only_building_things_that_are_linking_license_compatible|Debian has an interest in only building things that are linking license compatible]] [OK] | ||
+ | ## I just made a binary out of some source | ||
+ | ### [[Technical_Team/Use_Cases/2.0/SPDX_data_indicating_subset_of_the_source_that_made_it_into_a_particular_binary_or_binary_package|SPDX data indicating subset of the source that made it into a particular binary or binary package]] [OK] | ||
+ | # Aggregator aggregating many 'copyrightable items' for redistribution | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Linux_Distros|Linux Distros]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Embedded_Images_(e.g._router_images,_switch_images)|Embedded Images (e.g. router images, switch images)]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Reference_Implementations|Reference implementations]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Application_which_ships_with_documentation_and_media_and_software|Application which ships with documentation + media + software]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Application_which_ships_with_a_contrib_libraries|Application which ships with a contrib libraries]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Application_which_ships_with_development_tools|Application which ships with development tools]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Subsetting_out_only_the_shippable_bits_of_stuff_coming_from_an_SDK|Subsetting out only the shippable bits of stuff coming from an SDK]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Aggregators_aggregating_other_aggregations_for_redistribution|Aggregators aggregating other aggregations for redistribution]] [OK] | ||
+ | # Consumers receiving SPDX data | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Provide_sufficient_data_to_allow_consumer_to_comply_with_licenses_on_redistribution|Provide sufficient data to allow consumer to comply with licenses on redistribution]] Alcatel-Lucent requirements attached [OK] | ||
+ | # [[Technical_Team/Use_Cases/2.0/Consuming_code_snippets|Consuming code snippets]] (God help us all) (subfile pieces of code not originally intended for the project) [OK] | ||
+ | # Signoff/multiple signoff on SPDX data | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Contracts_with_multiple_parties_requiring_signoff_by_all|Contracts with multiple parties requiring signoff by all]] [MORE INFO REQUESTED Kate Stewart] | ||
+ | # Third party does licensing analysis | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Third_party_produces_bill_of_materials_for_software_package|Third party generates license analysis]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Collecting_enough_information_to_allow_auditor_to_make_recommendations_to_remove_or_not_a_component|Collecting enough information to allow auditor to make recommendations to remove or not a component]] [OK] | ||
+ | # Auditor Analyzing/Sanity-checking/correcting Bill of Material he's handed | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Backtrack_from_binary_to_source_files|Backtrack from compiled/binary file to constituent files]] [MORE STUDY NEEDED] | ||
+ | ## outbound: validate that SPDX goes hand in hand with what's being shipped (Kirsten Newcomer) | ||
+ | ### [[Technical_Team/Use_Cases/2.0/Check_to_see_if_the_SPDX_data_provided_matches_the_files_provided_and_is_trustworthy_and_most_current_for_package|Check to see if the SPDX data provided matches the files provided]] [OK larger scope] | ||
+ | # Extensions: | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Communicate_data_beyond_what_is_described_in_spec|Communicate data beyond what is described in spec between consenting parties w/o breaking consumers that are not in the know]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/License_list_extension|License list extensions, how do you handle folks who have more licenses than SPDX]] [OK] | ||
+ | ## [[Technical_Team/Use_Cases/2.0/Decorating_an_already_produces_and_signed_SPDX_dataset_with_extension_data|Decorating an already produces and signed SPDX dataset with extension data]] [OK] | ||
+ | # Other arising during vetting... | ||
+ | ## Given 2 SPDX files about the same codebase from the same source, be able to tell which is the later rev / more current and correct one. [DETAIL PAGE NEEDS TO BE WRITTEN - seems to be asking for something more robust than just a later date on one SPDX file vs. the other, rather 'signing with revisioning, where the later revision may reference the earlier and declare it is an amendment to the earlier one] | ||
+ | |||
+ | == 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: here's interest in something SPDX-Lite like https://bugzilla.yoctoproject.org/show_bug.cgi?id=4516 | ||
+ | # 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). | ||
+ | |||
+ | [[Category:Technical]] |
Latest revision as of 18:17, 21 May 2013
We have 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.
Use Cases
I'd like to propose that we 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 annotates source files with SPDX data [OK]
- Patches (original work intended for the project)
- Patch provider provides a patch that modifies existing SPDX data of project
- Upstream maintainer providing SPDX data
- Project maintainer incorporates another project
- Ease adoption
- Allow a low investment SPDX producer to produce valid SPDX data [OK-fathomed but not Approved for Implementation]
- Produce a valid SPDX dataset even if some data is missing [OK]
- 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
- Build systems (build systems want to pass on SPDX data for the thing they are building)
- Yocto [OK]
- Linking
- I just made a binary out of some source
- Aggregator aggregating many 'copyrightable items' for redistribution
- Linux Distros [OK]
- Embedded Images (e.g. router images, switch images) [OK]
- Reference implementations [OK]
- Application which ships with documentation + media + software [OK]
- Application which ships with a contrib libraries [OK]
- Application which ships with development tools [OK]
- Subsetting out only the shippable bits of stuff coming from an SDK [OK]
- Aggregators aggregating other aggregations for redistribution [OK]
- Consumers receiving SPDX data
- Provide sufficient data to allow consumer to comply with licenses on redistribution Alcatel-Lucent requirements attached [OK]
- Consuming code snippets (God help us all) (subfile pieces of code not originally intended for the project) [OK]
- Signoff/multiple signoff on SPDX data
- Contracts with multiple parties requiring signoff by all [MORE INFO REQUESTED Kate Stewart]
- Third party does licensing analysis
- Auditor Analyzing/Sanity-checking/correcting Bill of Material he's handed
- Backtrack from compiled/binary file to constituent files [MORE STUDY NEEDED]
- 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 [OK larger scope]
- Extensions:
- Other arising during vetting...
- Given 2 SPDX files about the same codebase from the same source, be able to tell which is the later rev / more current and correct one. [DETAIL PAGE NEEDS TO BE WRITTEN - seems to be asking for something more robust than just a later date on one SPDX file vs. the other, rather 'signing with revisioning, where the later revision may reference the earlier and declare it is an amendment to the earlier one]
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: here's interest in something SPDX-Lite like https://bugzilla.yoctoproject.org/show_bug.cgi?id=4516
- 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).