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

markup change to Boehm-GC #2508

Closed
wants to merge 1 commit into from
Closed

markup change to Boehm-GC #2508

wants to merge 1 commit into from

Conversation

xsuchy
Copy link
Collaborator

@xsuchy xsuchy commented Jul 2, 2024

To accomodate the license found in mariadb
Fixes: #2507

src/Boehm-GC.xml Outdated Show resolved Hide resolved
Permission is hereby granted to use or copy this program for any
purpose, provided the above notices are retained on all copies.
Permission <optional>is hereby granted to</optional> use or copy this <alt name="program" match="program|software">program</alt> for any
purpose, <optional>is hereby granted without fee,</optional> provided the above notices are retained on all copies.
Permission to modify the code and to distribute modified code is
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it matter that this permits nonsensical or unlikely permutations (that combine both variants)? This is probably true of a lot of SPDX identifier XML files, I'm guessing, but would be curious to know what people think.

Copy link
Member

Choose a reason for hiding this comment

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

@richardfontana I'd say probably not (i.e. it probably doesn't matter).

Agreed that this is in theory an issue for lots of SPDX XML files, and especially those with "anything goes" / .* regular expressions. However, I think in practice we accept that this is the practice at present. I'm not aware of any "real world" license texts that have tried to abuse it in a meaningful way.

To accomodate the license found in mariadb
Fixes: spdx#2507
Permission is hereby granted to use or copy this program for any
purpose, provided the above notices are retained on all copies.
Permission <optional>is hereby granted</optional> to use or copy this <alt name="program" match="program|software">program</alt> for any
purpose, <optional>is hereby granted without fee,</optional> provided the above notices are retained on all copies.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure this actually matches https://github.com/MariaDB/server/blob/11.6/libmysqld/lib_sql.cc with the present edits. Note the comma after "purpose" in Boehm-GC which isn't present in the MariaDB link.

Might be able to make that optional, but ugh... to @richardfontana's point, this does start to look a bit ugly...

@xsuchy
Copy link
Collaborator Author

xsuchy commented Jul 14, 2024

Closing per discussion in the associated issue.

@xsuchy xsuchy closed this Jul 14, 2024
This pull request was closed.
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.

Markup change of Boehm-GC
3 participants