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

Feat: Exclude Files #880

Open
2 tasks done
surdaft opened this issue Nov 14, 2024 · 0 comments
Open
2 tasks done

Feat: Exclude Files #880

surdaft opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@surdaft
Copy link

surdaft commented Nov 14, 2024

Is your feature request related to a problem? Please describe.

I have a large monolithic repo with a lot of files that need adding to the .deb archive, I currently use fpm's exclude-file functionality to ignore a bunch of stuff I don't need, such as .git and the cache directory from build.

Adding each folder, file, etc. to the contents list is far too many items to add.

Describe the solution you'd like

It would be very helpful to be able to move over to nfpm with the existing exclude file that is already present.

Describe alternatives you've considered

I could potentially rsync the contents to another directory for packaging, with the exclude file being used there, however this would reduce the complexity of the build pipeline a lot if I could avoid that rsync.

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

Currently, without the exclude, I encounter a huge memory usage from nfpm trying to package my project. I have done a test and this seems to be linked to the additional folders, as mentioned .git, being included as well.

@surdaft surdaft added the enhancement New feature or request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants