Describe the bug
Running kit init will attempt to place all files in the current directory inside the Kitfile. This includes hidden files, particularly OS-specific files like MacOS's .DS_Store.
In some cases, this can lead to adding an entire opaque code section to the Kitfile solely to hold the hidden files.
Kit should
- Ignore OS-specific files such as
.DS_Store and similar in kit init; i.e. files not added by the user
- Exclude OS-specific files even when a directory path might include them (e.g. a
code layer with path: . that includes non-ignored iles)
- (Maybe) Ignore packing hidden files by default, to be re-enabled via flag
To Reproduce
- Run
kit init in a directory containing hidden files
- In all likelihood, notice a 'catch-all
code layer (path: .`) that's added to include them, even when not necessary
Version
latest
Additional context
N/A
Describe the bug
Running
kit initwill attempt to place all files in the current directory inside the Kitfile. This includes hidden files, particularly OS-specific files like MacOS's.DS_Store.In some cases, this can lead to adding an entire opaque
codesection to the Kitfile solely to hold the hidden files.Kit should
.DS_Storeand similar inkit init; i.e. files not added by the usercodelayer withpath: .that includes non-ignored iles)To Reproduce
kit initin a directory containing hidden filescodelayer (path: .`) that's added to include them, even when not necessaryVersion
latest
Additional context
N/A