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

check-approval: Fix missing license_ids variable #567

Merged
merged 1 commit into from
Jan 3, 2018

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 3, 2018

Avoid:

$ ./script/check-approval MIT
./script/check-approval:55:in `<main>': undefined local variable or method `license_ids' for main:Object (NameError)

The license_ids line was added in e505eb8 (#318), but license_ids was removed from the helper in b99e7ab (#424). This commit restores the old code locally, since this script is the only consumer.

@wking
Copy link
Contributor Author

wking commented Jan 3, 2018

I've pushed f845adfd2ed77d to pick up #568.

Avoid:

   $ ./script/check-approval MIT
   ./script/check-approval:55:in `<main>': undefined local variable or method `license_ids' for main:Object (NameError)

The license_ids line was added in e505eb8 (check if license is aleady
a license, 2016-01-18, github#318), but license_ids was removed from the
helper in b99e7ab (replace 'id' variables with 'spdx_lcase' to
minimize confusion, 2016-06-01, github#424).  This commit restores the old
code locally, since this script is the only consumer.
@wking wking force-pushed the check-approval-license-ids branch from d2ed77d to 45369ac Compare January 3, 2018 19:58
@wking
Copy link
Contributor Author

wking commented Jan 3, 2018

And I've pushed d2ed77d45369ac to pick up #569.

@mlinksva
Copy link
Contributor

mlinksva commented Jan 3, 2018

I personally don't think it's worth the effort and potential disruption of anyone else working on branch to force push when picking up updates. But it seems to be part of your workflow, so go ahead. Thanks for the contributions! Here and to the various license meta projects you are so steadfastly improving. 👍

@mlinksva mlinksva merged commit 3174c97 into github:gh-pages Jan 3, 2018
@wking wking deleted the check-approval-license-ids branch January 3, 2018 20:02
@wking
Copy link
Contributor Author

wking commented Jan 3, 2018

I personally don't think it's worth the effort and potential disruption of anyone else working on branch to force push when picking up updates.

Ah, sorry. I thought it would help folks in the future by avoiding backwards merges, when we could rebase to accomplish the same thing. I'll let the backwards merges go in the future ;).

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