Skip to content

Stop sending spaces in licenses to CKAN #180

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

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

HebaruSan
Copy link
Contributor

NetKAN has been receiving a number of SpaceDock pull requests with license strings that don't match what CKAN uses. This happens for the various Creative Commons licenses; SpaceDock uses a space after the CC, while CKAN expects a hyphen.

Latest example here ("CC BY-NC-SA 3.0" vs "CC-BY-NC-SA-3.0"):

This pull request replaces all spaces in a license string to be sent to CKAN with hyphens.

@HebaruSan
Copy link
Contributor Author

@politas, do we have a dev contact on the SpaceDock team? This is a minor fix, but it would reduce the number of metadata PRs needing manual tweaking.

@politas
Copy link

politas commented Dec 22, 2017

I've pinged @V1TA5 and Thomas on their IRC channel.

@StollD
Copy link
Member

StollD commented Dec 22, 2017

Looks good to me, merging it. But I don't know when VITAS will be able to deploy it.

Sorry, something went wrong.

@StollD
Copy link
Member

StollD commented Dec 22, 2017

Oh, wait, now that I look at the branches: @HebaruSan Could you resubmit this to master? The code that is currently active on SpaceDock is there, the stuff in dev was abadoned when we started the rewrite.

Sorry, something went wrong.

@HebaruSan HebaruSan changed the base branch from dev to master December 22, 2017 15:35
@HebaruSan
Copy link
Contributor Author

Done!

Sorry, something went wrong.

@StollD StollD merged commit add9d31 into KSP-SpaceDock:master Dec 22, 2017
@HebaruSan HebaruSan deleted the patch-1 branch December 22, 2017 15:55
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

3 participants