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

qt: expose the spdx parser to Qt users #213

Merged
merged 1 commit into from Jan 10, 2019
Merged

Conversation

aleixpol
Copy link
Collaborator

@aleixpol aleixpol commented Jan 9, 2019

No description provided.

qt/spdx.cpp Outdated
return QString::fromUtf8(as_spdx_license_detokenize(tokens));
}

QString AppStream::SPDX::asLicenseId(const QString &license)
Copy link
Owner

Choose a reason for hiding this comment

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

This should likely be called toSpdxId or licenseToId, since the purpose of this function is to create a SPDX-compatible identifier from a more "generic" license name.

@ximion
Copy link
Owner

ximion commented Jan 10, 2019

Thank you for the patch!

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.

None yet

2 participants