-
Notifications
You must be signed in to change notification settings - Fork 441
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
Fix scoping in RPM plugin for #789 #826
Conversation
Thanks for your pull request. Code LGTM. The is a minimal Contributing.md, which describes how to run the tests. We don't have a"formal test process", as the test-matrix for this project is almost infinite :( There is a simple test |
@thetristan do you need any help for extending the tests? |
@muuki88 I should be OK. I've been busy with real life kind of things but I'll try to get this change wrapped up this weekend. |
a0ba95b
to
b594a0c
Compare
I updated the base test for |
|
||
TaskKey[Unit]("checkSpecFile") <<= (target, streams) map { (target, out) => | ||
val spec = IO.read(target / "rpm" / "SPECS" / "rpm-test.spec") | ||
println(spec) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see traces of debugging sbt :D
looks good so far :) |
OK, I was finally able to add those additional checks. Let me know if you see anything else that should be improved. |
a90f1b4
to
d6a5a43
Compare
At first glance it looks like the build failure from my last push is unrelated. I rebased my commits to re-trigger the build and will investigate further if it fails again. |
Thanks a lot. Will release this ASAP. |
Sure, you're welcome! |
This change updates the RPM plugin settings so that keys starting with
rpm
are no longer scoped to theRpm
configuration. This should address #789.I didn't see a formal testing process documented (though I may have missed it in the docs), so far I've only verified that
sbt test
andsbt scripted rpm/*
are passing (both ran on a VM running centos7).TODO