Skip to content

Conversation

@AyanSinhaMahapatra
Copy link
Member

Adds a new attribute output_format_version to the scancode header
to support output data format versioning.
See aboutcode-org/scancode-toolkit#2653 for more details.

Signed-off-by: Ayan Sinha Mahapatra ayansmahapatra@gmail.com

Adds a new attribute `output_format_version` to the scancode header
to support output data format versioning.
See aboutcode-org/scancode-toolkit#2653 for more details.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@AyanSinhaMahapatra AyanSinhaMahapatra force-pushed the 2653-add-output-format-version-to-header branch from 036061f to 1b79e15 Compare August 30, 2021 15:40
pombredanne
pombredanne previously approved these changes Aug 30, 2021
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

LGTM!

@pombredanne
Copy link
Member

but in hindsight, is output_data_format the best name for this? Output is about a process...
What about data_format_version instead?

@pombredanne pombredanne dismissed their stale review August 30, 2021 16:19

is output_data_format the best name for this? Output is about a process... What about data_format_version instead?

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

IMHO data_format_version or format_version may be better names

@pombredanne
Copy link
Member

IMHO data_format_version or format_version may be better names

Actually your name is better. Let's keep this!

@pombredanne pombredanne merged commit cdbf041 into aboutcode-org:main Aug 30, 2021
@AyanSinhaMahapatra
Copy link
Member Author

Btw, just for info, this was renamed from data_format_version (as discussed here) to output_format_version as IMHO data in scancode usually refers to the licenses/rules data, and so this could create confusion as this is more format versioning of the output, rahter than the data. Hence the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants