erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Rework exclude logic for hex packages #70

Closed Licenser closed 7 years ago

Licenser commented 7 years ago

This improves excluding files from hex uploads. In total there are three changes here

1) Explicit includes overwrite excludes, this is so regexp excludes don't need to be overly complicated and users can still say "I really want this one specific file". 2) exclude_regexps in the app file can now hold regular expressions that exclude files based on a pattern (for example "\\.d$" for c-code that we don't want to always exclude is someone might write d (sure that will happen ...)) 3) A list of known bad files that we don't want to upload in hex packages ever, this includes emacs and vim temp files, as well as compiled c-code. (those can be overwritten with explicit includes if needed)

Licenser commented 7 years ago

This would resolve #41 and #55

Licenser commented 7 years ago

ping