There may be a point in extending Annex H to cover snippets, so these concatenated javascript files can have a machine-readable licensing information for each range. (Having markers embedded into the file is more robust to edits, but then the file is probably not auto-generated and I am running out of examples.)
Now the question is to decide how to mark snippets. If we are okay with making SnippetSPDXID mandatory, we can say that each snippet starts with a SPDX-SnippetSPDXID: and ends with the next SPDX-SnippetSPDXID. It would be good to have something that ends a snippet without beginning one.
There's also the question of actually marking the license. We can either use the snippet properties (SPDX-LicenseInfoInSnippet: and friends), or just say that Annex E SPDX-License-Identifier: is scoped.
There may be a point in extending Annex H to cover snippets, so these concatenated javascript files can have a machine-readable licensing information for each range. (Having markers embedded into the file is more robust to edits, but then the file is probably not auto-generated and I am running out of examples.)
Now the question is to decide how to mark snippets. If we are okay with making
SnippetSPDXID
mandatory, we can say that each snippet starts with aSPDX-SnippetSPDXID:
and ends with the nextSPDX-SnippetSPDXID
. It would be good to have something that ends a snippet without beginning one.There's also the question of actually marking the license. We can either use the snippet properties (
SPDX-LicenseInfoInSnippet:
and friends), or just say that Annex ESPDX-License-Identifier:
is scoped.