metaflow icon indicating copy to clipboard operation
metaflow copied to clipboard

`--package-suffixes` omits dotfiles

Open saikonen opened this issue 5 months ago • 1 comments

There is an issue when trying to append dotfiles with --package-suffixes as it skips any filename that starts with a .

Expected --package-suffixes=.env should include a file with the name .env to the package

saikonen avatar Feb 19 '24 10:02 saikonen

the existing behavior of skipping all files starting with . is most likely intentional though, as more often than not it is the case that hidden files contain sensitive bits we do not want to bundle into the codepackage.

Will open a proposal PR for a fix, as I think we can relax on the filtering a bit to account for the regular dotenv use cases

saikonen avatar Feb 19 '24 10:02 saikonen