Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deletions of Apple-identified files #4759

Closed
wants to merge 1 commit into from

Conversation

rolandwalker
Copy link
Contributor

Fixes #4409. These globs were in single-quotes, so they were not
currently being expanded, and therefore were having no effect anyway.
We also have an (undocumented) policy against manipulating files
identified to Apple.

@rolandwalker
Copy link
Contributor Author

@vitorgalvao , would documenting that fit in with the other docs you are working on, or should I do that separately?

@sigito, GitHub seems to have lost your history on this file (which is weird!), but I think you were the original author. Maybe we don't have to religiously stick to our rule against deleting com.apple files, since it is only caches here — if you would be so kind as to explain the rationale?

If we did keep these, we would have to enclose the strings containing * with Dir.glob so that they would get expanded, eg

  system 'rm', '-f', '--', Dir.glob('/System/Library/Caches/com.apple.IntlDataCache.le*')

@sigito
Copy link
Contributor

sigito commented Jun 7, 2014

@rolandwalker this deletion of cache files was added according to uninstall section of package documentation. Unfortunately, I am not an author of the software, so cannot say whether we can skip this step.

@rolandwalker
Copy link
Contributor Author

The link is very helpful info, thanks @sigito !

@vitorgalvao
Copy link
Contributor

@rolandwalker Haven’t yet decided the best place to put the information, although if you think a document with “things to pay attention to” would be warranted, they could certainly fit together.

So far, I’m thinking about including the information about MAS-only apps in “Finding A Home For Your Cask”. It seems like the most natural place to inform users of casks that should not be submitted. That way we’re also covered if someone decides to create a trials tap — we’d just need a small documentation update.

Fixes Homebrew#4409.  These globs were in single-quotes, so they were not
currently being expanded, and therefore were having no effect anyway.
We also have an (undocumented) policy against manipulating files
identified to Apple.
@rolandwalker rolandwalker added core Issue with Homebrew itself rather than with a specific cask. and removed enhancement labels Oct 17, 2014
@jawshooah jawshooah added bug Issue describing a reproducible bug. cask labels Sep 24, 2015
@adidalal
Copy link
Contributor

Closing as this PR is outdated.

Not removing Apple-identified files should be added to the zap documentation, and glob expansion has yet to be implemented, anyways.

@adidalal adidalal closed this Dec 16, 2015
@miccal miccal removed bug Issue describing a reproducible bug. cask core Issue with Homebrew itself rather than with a specific cask. labels Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

quoted glob in programmer-dvorak.rb will not work
7 participants