6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8193] prefer C style comments rather than C++ ones for configurations files
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ,. .___.._. |__| \./ | | | | | | |___ | _|_
Comment
> Some configuration files (e.g. turba/config/sources.php.dist) have > some sections (e.g. localldap) that are disabled by commenting out > every single line with a // . > > > > It would be better to change the commenting of these section using C > style comments /* */ . The main reason is that when upgrading to a > newer module version, it's easy to integrate your own changes > (usually a few line) using the diff/patch commands. > > > > E.g. if I uncomment all the lines of the localldap section and then I > modify only the server line I can do a diff between the .php.dist and > the .php version and I would have only three lines changed (the > starting comment /* , the server line and the ending */ comment ). > With the // style comment I get tens of changed lines, to manually > review, before applying the .php.dist -> .php patch to the newer > module version, since the skeleton config section may have been > changed. > > > > Thanks
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers