-
Notifications
You must be signed in to change notification settings - Fork 246
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
More verbose messages when components are excluded #2495
Conversation
More verbose debug logging when components are excluded.
More verbose messages when components are excluded and less misleading function names that tell what they actually do plus generic code cleanup in layout/save/default/330_remove_exclusions.sh
Added LogPrint "Created disk layout ..." to layout/save/default/950_verify_disklayout_file.sh to match the "Creating disk layout" in layout/save/GNU/Linux/100_create_layout_file.sh so that it is more clear in the user messages when the disk layout was created.
On my laptop I have
where My etc/rear/local.conf contains (excerpts)
With the changes in this pull request Full output:
Excerpt:
Excerpt:
The This is the resulting disklayout.conf:
This is the resulting disktodo.conf
|
@rear/contributors |
More descriptive messages that now also tells the config array that is the reason why the particular component gets excluded.
Use DebugPrint for messages that tell what is automatically excluded so that the user could see that info on his terminal in debug '-d' mode.
Use DebugPrint for messages that tell what is automatically disabled so that the user could see that info on his terminal in debug '-d' mode.
Use DebugPrint for messages that tell what is automatically added to EXCLUDE_RECREATE so that the user could make sense of "Excluding component ... in EXCLUDE_RECREATE" messages that appear on his terminal when using debug '-d' mode.
Less duplicate wording in messages about marking dependant components as done.
With my recent commits here things look now good to me
In debug mode it is now visible on the terminal what the reason is why there is that It is a different issue whether or not automatically excluding the |
Type: Enhancement
Impact: Normal
How was this pull request tested?
Tested on my home-office laptop while working on
#2493
More verbose messages when components are excluded
so that is is easier for the user to see what the actual results are
when he specified to exclude components in his etc/rear/local.conf
and what components are automatically excluded by ReaR.
There is a (perhaps oversophisticated?) distinction what messages should appear
so that the info that is shown on the user's terminal (hopefully) looks consistent.