spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

Add size of file as optional field

Open kestewart opened this issue 8 years ago • 3 comments
trafficstars

Size of File (optional) - express as number of bytes similar to mechanism used for snippet. Will be useful for heuristics working with snippets and licensing.

kestewart avatar Aug 29 '17 16:08 kestewart

On Tue, Aug 29, 2017 at 04:58:44PM +0000, Kate Stewart wrote:

Size of File (optional) - express as number of bytes similar to mechanism used for snippet. Will be useful for heuristics working with snippets and licensing.

Can you provide more context for this heuristic? The only one I can think of is “I don't care about copyrights on content that is less than ${BYTES}/${LINES}”. Is that really a heuristic we want to enable? Or are there other heuristics which consume file size (but not the file content?) which are more useful?

wking avatar Aug 29 '17 18:08 wking

Moving this to 3.1 - as we don't have others asking for it, and its not essential at this point.

kestewart avatar Feb 18 '20 01:02 kestewart

This is being asked for from the dataset profile. Moving it back into consideration for 3.0.

kestewart avatar Aug 10 '22 03:08 kestewart

@kestewart - is this still needed?

goneall avatar Apr 14 '24 19:04 goneall

This has been added in 3.0 in the Dataset Profile: https://spdx.github.io/spdx-spec/v3.0/model/Dataset/Properties/datasetSize/

kestewart avatar Apr 14 '24 22:04 kestewart