Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914396 - Pointless changes in /etc/genkernel.conf comments
Summary: Pointless changes in /etc/genkernel.conf comments
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: https://wiki.gentoo.org/wiki/Project:...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-18 19:00 UTC by Michał Dec
Modified: 2023-09-20 03:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Example of null changes proposed by Portage (pointless_changes.patch,7.03 KB, patch)
2023-09-18 19:01 UTC, Michał Dec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2023-09-18 19:00:40 UTC
I keep getting nagged by Portage to update umpteen or so config files in my /etc. Gee I wonder what is it.

Turns out it's /etc/genkernel.conf yet again.

Config updates are an important way to communicate breaking changes in configs. This is not meant to communicate the fact that maintainers chose to:
1. Use some words in comments in uppercase
2. Use different amount of "=" signs in a comment, in a section that has a lot of them in a row, like 10-20
3. Convert entire comment to uppercase

With changes like this, I am less likely to treat Portage's nagging with the seriousness it deserves.

Reproducible: Always

Steps to Reproduce:
1. Install genkernel and have your own config
2. Wait a few months and update genkernel again
Actual Results:  
Most of the config changes suggested by dispatch-conf are related to words used in comments. This is pointless.

Expected Results:  
I should only be looking at suggested changes to /etc/genkernel.conf when there are new parameters available, not when devs fix typos and re-arrange comments.
Comment 1 Michał Dec 2023-09-18 19:01:44 UTC
Created attachment 870894 [details, diff]
Example of null changes proposed by Portage
Comment 2 Ben Kohler gentoo-dev 2023-09-18 19:09:00 UTC
You can configure dispatch-conf to auto-merge comments:

/etc/dispatch-conf.conf:

# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=no
Comment 3 Mike Gilbert gentoo-dev 2023-09-20 03:21:40 UTC
You're basically asking for AI to detect when config updated may be relevant for you. It's not going to happen.