-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controllers: control tar ignores w/ exclude files
This commit changes the file excludes for tarballs generated for Git repository artifacts from a fixed set of strings to include exclusion files files. It currently takes `.sourceignore` and in the root of the given directory into account. In addition to this the Git VCS related files that are ignored have been extended to not only include the .git/ directory, but also the .gitignore, .gitmodules and .gitattributes files. In addition to this, it adds the `--exclude-vcs` option to the tar command so that all VCS related files are always excluded.
- Loading branch information
Showing
2 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters