mirror of https://github.com/databricks/cli.git
a7a109a5d8
## Changes Earlier we removed recursive deletion from sync. This makes it safe enough for us to not restrict sync to just the namespace of the user. This PR removes that base path validation. Note: If the sync destination is under `/Repos` we still only create missing directories required if the path is under my namespace ie matches `/Repos/@me/` ## Tests Manually Before: ``` shreyas.goenka@THW32HFW6T hello-bundle % cli bundle deploy Starting upload of bundle files Error: path must be nested under /Users/shreyas.goenka@databricks.com or /Repos/shreyas.goenka@databricks.com ``` After: ``` shreyas.goenka@THW32HFW6T hello-bundle % cli bundle deploy Starting upload of bundle files Uploaded bundle files at /Shared/common-test/hello-bundle/files! Starting resource deployment Resource deployment completed! ``` |
||
---|---|---|
.. | ||
auth | ||
cmdio | ||
databrickscfg | ||
errs | ||
filer | ||
fileset | ||
flags | ||
git | ||
locker | ||
log | ||
notebook | ||
sync | ||
terraform | ||
testfile |