Closed
Bug 553129
Opened 15 years ago
Closed 15 years ago
Switch to .hgignore
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: alqahira)
Details
(Whiteboard: [cm192test])
Attachments
(1 file, 1 obsolete file)
|
1.59 KB,
patch
|
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
We need to move our ignore patterns to .hgignore.
This sucks for two reasons:
1) One .hgignore per repo
2) We use rsync -C to leverage directory-specific .cvsignore files to keep additional things from being rsynced to the objdir (bug 408498 comment 6), e.g. clobbering your project display settings.
In practice, this means we need an .hgignore that includes all the rules currently in our three .cvsignore files, and yet we still need to keep our three .cvsignore files and keep them in sync with the .hgignore when we change any of them, OR we have to clutter up the Makefile with a list of patterns to exclude in RSYNC_ALL.
(Note we didn't add .cvsignore files when we added growl or breakpad, so in practice we've been clobbering objdir project settings for those during rsync, their their various build/ dirs have been showing up as ? in srcdir builds, but neither of those cases are really as critical.)
Thoughts on what's the best course of action?
Comment 1•15 years ago
|
||
Keeping .cvsignore around when we aren't using CVS any more seems needlessly confusing. We should just embed the project setting exclusions into the Makefile.
In practice the directory-specific-ness of the files wasn't buying us anything with the project settings files; in fact it was more maintenance work (which we weren't doing, as you pointed out). We just want to exclude *.xcodeproj/<foo>, where <foo> is each of the three extensions.
| Assignee | ||
Comment 2•15 years ago
|
||
The moves and deletions aren't very clear in these git-style diffs :(
Attachment #433758 -
Flags: superreview?(stuart.morgan+bugzilla)
Comment 3•15 years ago
|
||
Comment on attachment 433758 [details] [diff] [review]
Fix
>+RSYNC_ALL = rsync -aC --exclude .cvsignore --exclude *.pbxuser --exclude *.mode?v? --delete
This doesn't exclude mode1 files. It also doesn't restrict to xcodeproj, which we should do just to be on the safe side. Also, we shouldn't need to worry about .cvsignore any more, right?
So this should probably be:
RSYNC_ALL = rsync -aC --exclude '*.xcodeproj/*.mode*' --exclude '*.xcodeproj/*.pbxuser'
(I'm fine with being a bit overly broad on the "mode" extensions, since they are restricted to the project folder.)
Attachment #433758 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview-
| Assignee | ||
Comment 4•15 years ago
|
||
Oops. This should be better.
Attachment #433758 -
Attachment is obsolete: true
Attachment #433761 -
Flags: superreview?(stuart.morgan+bugzilla)
Comment 5•15 years ago
|
||
Comment on attachment 433761 [details] [diff] [review]
Now with more paying attention
sr=smorgan
Attachment #433761 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
| Assignee | ||
Comment 6•15 years ago
|
||
Landed in the test repo: http://hg.mozilla.org/users/alqahira_ardisson.org/camino-1.9.2-test/rev/63b3e6d07450
Status: NEW → ASSIGNED
Summary: Switch(?) to .hgignore → Switch to .hgignore
Whiteboard: [cm192test]
| Assignee | ||
Comment 7•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•