-
Notifications
You must be signed in to change notification settings - Fork 626
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
optlib: allow users to set fields and check extras defined in a foreign language #3960
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3960 +/- ##
==========================================
+ Coverage 85.50% 85.52% +0.01%
==========================================
Files 237 237
Lines 57042 57143 +101
==========================================
+ Hits 48776 48869 +93
- Misses 8266 8274 +8 ☔ View full report in Codecov by Sentry. |
e14c4e6
to
cbdc8c8
Compare
The ways to support boolean fields are not consistent in various aspects. |
d9408cb
to
ae46592
Compare
ae46592
to
eba8b2e
Compare
I added test cases. The top half of this pull request can be merged. I will make a pull request. |
…for newly defined field Signed-off-by: Masatake YAMATO <yamato@redhat.com>
--_list-fielddef-flags option is added, too. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…field setters This is a preparation. A test case for raising the error introduced in this commit will be added when we have real field accessors. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
The operators (setter and/or getter) for each field. The name of operatos has following form: setter => :<LANG>.<FIELD> getter => <LANG>.<FIELD>: NOTE: The operators for a field are defined only if the field has C level getters and setters, getValueObject and setValueObject in fieldDefinition. This commit doesn't provide a getter and a setter. The test cases and the real accessor will be implemented later. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…ned in an optlib parser Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
eba8b2e
to
c50fcca
Compare
In addition, this pull request allows you to fill out a field for a foreign tag from optscript.