Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change isDirectory to fileKind enumeration #666

Merged
merged 3 commits into from
Mar 22, 2024
Merged

Change isDirectory to fileKind enumeration #666

merged 3 commits into from
Mar 22, 2024

Conversation

goneall
Copy link
Member

@goneall goneall commented Mar 12, 2024

Fixes #630

Note that fileKind was choosen since fileType is already in use

model/Software/Classes/File.md Outdated Show resolved Hide resolved
@goneall goneall added this to the 3.0-rc3 milestone Mar 17, 2024
Copy link
Contributor

@kestewart kestewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of ambiguities should be cleared up. See comments.

model/Software/Vocabularies/FileKindType.md Outdated Show resolved Hide resolved

## Description

An SPDX file may represent a file on disk or a directory of files. In the future, this may be extended to other kinds (e.g. network based files).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file could be in memory not just "disk".... probably want to rephrase to something like:
"represent a file on disk" to "represent a specific file"

Fixes #630

Note that fileKind was choosen since fileType is already in use

Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
@goneall
Copy link
Member Author

goneall commented Mar 22, 2024

@zvr @kestewart - updated per comments - please review or request changes

Copy link
Contributor

@kestewart kestewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gary. Both issues are resolved.
Good to merge from my perspective.

@kestewart kestewart merged commit 8cc3cfc into main Mar 22, 2024
1 check passed
@goneall goneall deleted the issue630 branch April 30, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider extensibility for package "file" types
3 participants