Ticket #11748 (closed defect: fixed)
ignore .DS_store files in root repo, scripts repo
| Reported by: | jhpalmieri | Owned by: | GeorgSWeber |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.7.2 |
| Component: | build | Keywords: | Finder MacOS untracked files |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Leif Leonhardy |
| Authors: | John Palmieri | Merged in: | sage-4.7.2.rc1 |
| Dependencies: | Stopgaps: |
Description (last modified by jhpalmieri) (diff)
We should add .DS_store files to the .hgignore files for the root and scripts repo. (They're already in the main Sage library repo.
Apply
- trac_11748-root.patch to the root repo
- trac_11748-scripts.patch to the scripts repo
Attachments
Change History
comment:1 Changed 21 months ago by jhpalmieri
- Status changed from new to needs_review
- Description modified (diff)
- Authors set to John Palmieri
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 21 months ago by jhpalmieri
Replying to leif:
What about ._.DS_Store files?
We could add those too. What are they? I haven't found any documentation for them anywhere.
comment:4 in reply to: ↑ 3 ; follow-up: ↓ 8 Changed 21 months ago by leif
Replying to jhpalmieri:
Replying to leif:
What about ._.DS_Store files?
We could add those too. What are they? I haven't found any documentation for them anywhere.
Ask Karl-Dieter; he really likes to create them. ;-)
"Files prefixed with ._ contain all of the metadata for their un-prefixed partner that the native volume format cannot contain in a single file."
comment:6 Changed 19 months ago by leif
- Keywords Finder MacOS untracked files added
- Reviewers set to Leif Leonhardy
- Status changed from needs_review to positive_review
comment:7 Changed 19 months ago by jdemeyer
- Status changed from positive_review to closed
- Resolution set to fixed
- Merged in set to sage-4.7.2.rc1
comment:8 in reply to: ↑ 4 ; follow-up: ↓ 10 Changed 19 months ago by kcrisman
We could add those too. What are they? I haven't found any documentation for them anywhere.
Ask Karl-Dieter; he really likes to create them. ;-)
You could at least cc: someone you are being snarky to on a ticket. I do my best to get rid of such things, but I do not have Linux, and Mac is extremely aggressive at creating them. Let's not create additional barriers to development by mocking those who don't have the shell fu to eradicate them every time (which is why this is a good ticket, by the way).
comment:9 Changed 19 months ago by jhpalmieri
(I didn't read it as snarky, for what that's worth, but I may be missing part of the back story...)
comment:10 in reply to: ↑ 8 ; follow-up: ↓ 11 Changed 19 months ago by leif
Replying to kcrisman:
We could add those too. What are they? I haven't found any documentation for them anywhere.
Ask Karl-Dieter; he really likes to create them. ;-)
You could at least cc: someone you are being snarky to on a ticket.
War doch nicht böse gemeint. Ausserdem war das zu dem Zeitpunkt, als du selbst den Finder dafür verflucht hast, dass er deine spkgs kontaminiert (die daraufhin zurückgewiesen wurden).
Wenn du die besagten Dateinamen googlest, findest du auch jede Menge Apple-Fans, die von dem schwer zu vermeidenden Verhalten des Finders begeistert sind...
(which is why this is a good ticket, by the way)
Ebendt.
For the record:
$ find . -name .DS_Store -o -name ._.DS_Store -exec rm {} \;
(Or replace "." by the base directory or directories from where you want to recursively remove all such files.)
comment:11 in reply to: ↑ 10 Changed 19 months ago by kcrisman
Replying to leif:
Replying to kcrisman:
We could add those too. What are they? I haven't found any documentation for them anywhere.
Ask Karl-Dieter; he really likes to create them. ;-)
You could at least cc: someone you are being snarky to on a ticket.
War doch nicht böse gemeint. Ausserdem war das zu dem Zeitpunkt, als du selbst den Finder dafür verflucht hast, dass er deine spkgs kontaminiert (die daraufhin zurückgewiesen wurden).
Weiss man manchmal nicht, aber jetzt sehe ich, das war schon vor Monate, 'tschuldigung.
Wenn du die besagten Dateinamen googlest, findest du auch jede Menge Apple-Fans, die von dem schwer zu vermeidenden Verhalten des Finders begeistert sind...
Haha!
$ find . -name .DS_Store -o -name ._.DS_Store -exec rm {} \;
Which of course I will not remember :) By the way, what is the deal with the ._.DS_Store files? They seem to disappear when I remove the regular ones. I read what you said above, so I guess they just magically disappear when their "parent" files are gone? Hope so.
Sorry for hijacking the ticket.

