[MacPorts] #63953: git: Configuration file is replaced on update
MacPorts
noreply at macports.org
Thu Nov 18 01:54:42 UTC 2021
#63953: git: Configuration file is replaced on update
----------------------+--------------------
Reporter: Bachsau | Owner: ci42
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: wontfix | Keywords:
Port: git |
----------------------+--------------------
Comment (by Bachsau):
This is a very bad attitude. Configuration files are there for a reason:
To allow the user to configure things. Otherwise, the changes could just
be compiled in. Besides that, on managed multi-user systems (even if that
might not be very common for Macs), one can not maintain system defaults
in the per-user files, which is why system-wide configuration files exist.
A good package manager would not even make this port specific but refrain
from overwriting anything in /etc that's different from the previous
version's package contents. Special handling is not needed. Merging things
or saving .dist-files are comfort features that are nice to have, while
replacing user-defined configuration files is destructive!
@cjones051073 I expect to have to maintain my changes across updates, but
I can't do that, when everything is lost. Additionaly, most software does
not require changes to configuration files on every update. Git does not.
Compiled-in default rarely change, and git happily accepts even the most
ancient of configurations. It just reads what it understands and ignores
any settings that might have been removed. The vast majority of users
would also not have problems if everything unchanged is updated properly,
while for those who do changes, replacing the file definitely DOES break
things. Suddenly I accidently commit files to my repos that should be
ignored (like "Icon\r"), aliases stop working, and unicode filenames get
decomposed. Closing bugs as "wontfix" is just another way of saying: "I
don't care and I'm too lazy to work on it."
--
Ticket URL: <https://trac.macports.org/ticket/63953#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list