-
Notifications
You must be signed in to change notification settings - Fork 629
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.94% 85.95% +0.01%
==========================================
Files 239 239
Lines 58976 59097 +121
==========================================
+ Hits 50686 50797 +111
- Misses 8290 8300 +10 ☔ 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. |
eba8b2e
to
c50fcca
Compare
8f2f83d
to
8ea0aa6
Compare
This pull request was for a Texinfo parser. |
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…for newly defined field Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
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>
…efined in optlib Signed-off-by: Masatake YAMATO <yamato@redhat.com>
8ea0aa6
to
7805e78
Compare
7805e78
to
4a62955
Compare
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
4a62955
to
b8b157f
Compare
In addition, this pull request allows you to fill out a field for a foreign tag from optscript.