-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat: add spec parser and combiner for grubby_info #4329
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4329 +/- ##
==========================================
+ Coverage 77.00% 77.03% +0.03%
==========================================
Files 735 736 +1
Lines 41309 41369 +60
Branches 8772 8789 +17
==========================================
+ Hits 31809 31869 +60
Misses 8438 8438
Partials 1062 1062
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
We may use this new Grubby combiner to deprecate the existing BootLoaderEntries
insights/combiners/grubby.py
Outdated
|
||
Attributes: | ||
boot_entries (dict): All boot entries indexed by the entry "index" | ||
default_index (int): the numeric index of the current default boot entry |
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.
As a combiner, it would be good to combine more useful attribute here, e.g. devs can use the combiner rather than access each single parser to fetch particular info.
Attributes from related parsers are included in the new combiner. @xiangce Could you help review the changes? |
3dfcc1b
to
c9cc8e6
Compare
Signed-off-by: Xiaoxue Wang <[email protected]>
Signed-off-by: Xiaoxue Wang <[email protected]>
c9cc8e6
to
c0f5f36
Compare
Signed-off-by: Xiangce Liu <[email protected]>
Signed-off-by: Xiaoxue Wang <[email protected]> (cherry picked from commit bc73463)
All Pull Requests:
Check all that apply:
Complete Description of Additions/Changes:
RHINENG-15118
grubby_info_all
GrubbyDefaultKernel
with Grubby combiner