databricks-cli/cmd/sync
shreyas-goenka b42768801d
[DECO-396] Post mortem followups on sync deletes repo (#119)
This PR:
- Implements safeguards for not accidentally/maliciously deleting repos
by sanitizing relative paths
- Adds versioning for snapshot schemas to allow invalidation if needed
- Adds logic to delete preexisting remote artifacts that might not have
been cleaned up properly if they conflict with an upload
- A bunch of tests for the changes here

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2022-12-12 14:31:06 +01:00
..
repofiles [DECO-396] Post mortem followups on sync deletes repo (#119) 2022-12-12 14:31:06 +01:00
snapshot.go [DECO-396] Post mortem followups on sync deletes repo (#119) 2022-12-12 14:31:06 +01:00
snapshot_test.go [DECO-396] Post mortem followups on sync deletes repo (#119) 2022-12-12 14:31:06 +01:00
sync.go [DECO-396] Post mortem followups on sync deletes repo (#119) 2022-12-12 14:31:06 +01:00
sync_test.go Make tests pass (#40) 2022-09-07 20:08:42 +02:00
watchdog.go [DECO-396] Post mortem followups on sync deletes repo (#119) 2022-12-12 14:31:06 +01:00