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

Consider dot files whitelisting #40

Open
voxik opened this issue Apr 14, 2015 · 0 comments
Open

Consider dot files whitelisting #40

voxik opened this issue Apr 14, 2015 · 0 comments
Labels

Comments

@voxik
Copy link
Member

voxik commented Apr 14, 2015

Currently, the generated files sections for backports gem contains following dot files:

%exclude %{gem_instdir}/.gitignore
%{gem_instdir}/.gitmodules
%exclude %{gem_instdir}/.irbrc
%exclude %{gem_instdir}/.travis.yml
%doc %{gem_instdir}/.document

As you can see, there are some "unknown" dot files left. Shouldn't we use whitelist instead? E.g.:

%exclude %{gem_instdir}/.*

would exclude all dot file. If there is some know whitelisted dot file which should be preserved, we could do later:

%{gem_instdir}/.whitelisted

Unfortunately I am not sure if this is supported by RPM. Anyway, if all dot files are removed from the package at the end, they should be replaced by wildcard exclude to save some lines.

@voxik voxik added the RFE label Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant