Closed
Bug 273209
Opened 20 years ago
Closed 20 years ago
Checksetup.pl-created skins/.cvsignore is annoying in cvs update
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: jouni, Assigned: myk)
Details
Attachments
(1 file)
|
1.11 KB,
patch
|
jouni
:
review+
|
Details | Diff | Splinter Review |
I'm filing this as a new bug, as it's an easy way to make whatever opinions here logged. Targeting & ccing original posse from bug 256208. Now that we're creating skins/.cvsignore to include the "custom" directory, I get a "? skins/.cvsignore" every time I run cvs up. This doesn't feel good either. How much of an issue would checking that .cvsignore in be? How often do people need to change it (from the default content of "custom")?
if you're going to make a .cvsignore file, then you should mention .cvsignore in it...
Comment 2•20 years ago
|
||
Is there stuff inside the skins directory that IS in cvs? If so, then by all means, that .cvsignore should be checked in. If skins is otherwise empty, then just mention .cvsignore in the .cvsignore file as timeless suggests.
| Assignee | ||
Comment 3•20 years ago
|
||
Installations are going to list installed third-party skins in skins/.cvsignore so that CVS won't bother with them. If we check in skins/.cvsignore, it's going to claim that it's modified on "cvs update" and display changes on "cvs diff", which we don't want, so instead of checking it in we should add it to the root .cvsignore.
| Assignee | ||
Comment 4•20 years ago
|
||
Here's a patch that adds .cvsignore to skins/.cvsignore so that the file instructs CVS to ignore it. I've also simplified the code so that it creates skins/.cvsignore if it doesn't exist but doesn't otherwise modify it. The downside to this simplification is that if "custom" ever gets accidentally deleted from the file, it won't be replaced, and CVS commands will question its existence. The upside, besides the code being simpler and more obvious, is that installation admins will have more control over the contents of the file, and if for some reason they don't want custom to be ignored, we won't thwart them and force CVS to ignore it anyway. Since admins hacking the file will know what they're doing, and since the only consequence of the downside is a "? skins/custom" as part of the output of some CVS commands, the upside of this change wins.
| Assignee | ||
Updated•20 years ago
|
Attachment #179833 -
Flags: review?(jouni)
| Reporter | ||
Comment 6•20 years ago
|
||
Comment on attachment 179833 [details] [diff] [review] patch v1: fixes problem r=jouni, although this will only fix new installations. But I agree, let's not mess with the cvsignore contents once it's been created (even though it might be sensible to do it _once_ here).
Attachment #179833 -
Flags: review?(jouni) → review+
| Assignee | ||
Comment 7•20 years ago
|
||
Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.388; previous revision: 1.387 done
Severity: normal → trivial
Status: NEW → RESOLVED
Closed: 20 years ago
Flags: blocking2.20? → approval+
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.20
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•