Skip to content

Consider dot files whitelisting #40

@voxik

Description

@voxik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions