Closed
Bug 1060728
Opened 11 years ago
Closed 11 years ago
Add perltidyrc that makes it easier to follow existing code standards to BMO repository
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dylan, Assigned: dylan)
Details
Attachments
(1 file)
|
292 bytes,
text/plain
|
Details |
I would like to suggest inclusion of the attached perltidyrc file (or one similar to it, I remember that glob had made some suggested improvements to the options) in the bmo repository (and perhaps eventually upstream?) for the sake of consistency and easing developer contributions.
It would also prevent me from periodically losing it when I do git clean -df...
We could do this as a trial, and if the results are good, move it to upstream?
(my perltidyrc for upstream is a bit different, as there are slightly laxer guidelines at play in BMO)
> Add perltidyrc that enforces existing code standards to BMO repository
including that file in our repo is a great idea :)
however you suggest in the summary enforcing the standards from this file.
given the current state of the code i don't think that enforcement would be appropriate at this point. i'd _love_ to be able to enforce code standards via perltidy, but that needs to happen upstream first, and there's resistance to that idea there.
can you provide some more detail around what you mean by "enforc[ing]" ?
Flags: needinfo?(dylan)
| Assignee | ||
Comment 2•11 years ago
|
||
Perhaps "reinforces" would be more correct, I didn't mean to imply it would be *required* to use, just that it would help ensure we *can* follow the guidelines.
Flags: needinfo?(dylan)
Summary: Add perltidyrc that enforces existing code standards to BMO repository → Add perltidyrc that makes it easier to follow existing code standards to BMO repository
.. before you commit can you please use the long form of the switches for all options.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dylan
| Assignee | ||
Comment 5•11 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
caa8040..2c4c96b master -> master
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•