-
Notifications
You must be signed in to change notification settings - Fork 156
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
Implement .rultor.yml Validation, Remove Invalid Puzzle #1032
Comments
@alex-palevsky this is a bug. |
@original-brownbear tag bug added to this issue |
@original-brownbear since there is no milestone yet I set it to "2.0" |
@original-brownbear thanks for the report, I topped your acc for 30 mins, payment ID |
@alex-palevsky this is postponed. |
@original-brownbear OK, I put "postponed" label here |
@original-brownbear I will try to find someone else |
Problem
We currently do not really validate the
.rultor.yml
file. This was a feature desired in #570 and led to the addition of the validation snippet in this code ( and some now ignored tests ) in this PR:There are a few problems here now:
"
%sis not valid according to schema:\n``%s``"
should be reworded. "according to schema" (what schema?) and then listing the issues after is neither correct English nor user friendly.Expected Solution
A solution to this issue needs to:
com.rultor.profiles.GithubProfile#read
or thecom.rultor.profiles.YamlXML#get
tocom.rultor.profiles.GithubProfile#yml
so that it actually runs after the yaml has been parsed, not on the string. ( the current puzzle being solved directly would otherwise entail parsing the YAML twice!)pom.xml
:The text was updated successfully, but these errors were encountered: