databricks-cli/libs
Pieter Noordhuis c25bc041b1
Never ignore root directory when enumerating files in a repository (#683)
## Changes

The pattern `.*` in a `.gitignore` file can match `.` when walking all
files in a repository. If it does, then the walker immediately aborts
and no files are returned. The root directory (an unnamed directory)
must never be ignored.

Reported in https://github.com/databricks/databricks-vscode/issues/837.

## Tests

New tests pass.
2023-08-21 07:35:02 +00:00
..
auth Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
cmdio Use custom prompter for bundle template inputs (#663) 2023-08-15 14:50:20 +00:00
databrickscfg Always resolve .databrickscfg file (#659) 2023-08-14 12:45:08 +00:00
errs Added ability for deferred mutator execution (#380) 2023-05-16 18:01:50 +02:00
filer Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
fileset Never ignore root directory when enumerating files in a repository (#683) 2023-08-21 07:35:02 +00:00
flags Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
git Never ignore root directory when enumerating files in a repository (#683) 2023-08-21 07:35:02 +00:00
jsonschema Return better error messages for invalid JSON schema types in templates (#661) 2023-08-15 14:28:04 +00:00
locker Correct name for force acquire deploy flag (#656) 2023-08-15 19:03:43 +00:00
log Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
set Added support for sync.include and sync.exclude sections (#671) 2023-08-18 08:07:25 +00:00
sync Added support for sync.include and sync.exclude sections (#671) 2023-08-18 08:07:25 +00:00
template Rename init project-dir flag to output-dir (#676) 2023-08-17 20:32:30 +00:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00