Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync deletions with the native sync as well #224

Open
Vitor-Avila opened this issue Jul 13, 2023 · 0 comments
Open

Sync deletions with the native sync as well #224

Vitor-Avila opened this issue Jul 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Vitor-Avila
Copy link
Contributor

Current Scenario

Currently, the sync native command can be used to push assets to Superset. This command imports all YAMLs from the specified path. However, this approach doesn't sync deletions.

Suggested Improvement

After a successful sync, the CLI could create a .history file to keep track of which assets were synced. In the next sync, the CLI could delete any asset that was previously synced (and therefore exists in the .history file) but was not synced anymore (so the YAML was likely deleted from the directory).

This behavior should be behind a command flag (the sync by default shouldn't delete assets).

@Vitor-Avila Vitor-Avila added the enhancement New feature or request label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant