redguardtoo / elpa-mirror

Create local emacs package repository. 15 seconds to install 115 packages.
315 stars 55 forks source link

Anchor tar exclude patterns and document their syntax #35

Closed pkkm closed 3 years ago

pkkm commented 3 years ago

This pull request makes tar exclude patterns anchored at the beginning of the path. This lets us specify excludes more precisely so that, for example, we can exclude company-0.9.10/bin but not some-other-package-0.1/dir/company-0.9.10/bin. However, this is a backwards-incompatible change.

redguardtoo commented 3 years ago

Sure. Can you squash the commits into one commit? I suppose you've tested both bsd tar and gnu tar, right?

pkkm commented 3 years ago

Sure. I've tested with tar and bsdtar on my Linux system.

redguardtoo commented 3 years ago

Thanks