databricks-cli/cmd/sync
shreyas-goenka 18dae73505
[DECO-79][DECO-165] Incremental sync with support for multiple profiles (#82)
This PR does multiple things, which are:

1. Creates .databricks dir according to outcomes concluded in "bricks
configuration principles"
2. Puts the sync snapshots into a file whose names is tagged with
md5(concat(host, remote-path))
3. Saves both host and username in the bricks snapshot for debuggability

Tested manually:


https://user-images.githubusercontent.com/88374338/195672267-9dd90230-570f-49b7-847f-05a5a6fd8986.mov
2022-10-19 16:22:55 +02:00
..
snapshot.go [DECO-79][DECO-165] Incremental sync with support for multiple profiles (#82) 2022-10-19 16:22:55 +02:00
snapshot_test.go [DECO-79][DECO-165] Incremental sync with support for multiple profiles (#82) 2022-10-19 16:22:55 +02:00
sync.go [DECO-79][DECO-165] Incremental sync with support for multiple profiles (#82) 2022-10-19 16:22:55 +02:00
sync_test.go Make tests pass (#40) 2022-09-07 20:08:42 +02:00
watchdog.go [DECO-79][DECO-165] Incremental sync with support for multiple profiles (#82) 2022-10-19 16:22:55 +02:00