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

Refresh DELETES ALL DATA if Vault is Synced to Different Gitlab Instance #32

Open
poetex opened this issue Nov 15, 2024 · 0 comments
Open

Comments

@poetex
Copy link

poetex commented Nov 15, 2024

If you are already using the Git community plugin to sync your vault to a gitlab/github server, and then you provide the Gitlab Issues plugin with an Auth Token from a different Gitlab instance, hitting the refresh icon to refresh the Gitlab issues will completely delete all files from a vault.

This is not a massive issue typically, since the user can just revert to the latest commit from the Git plugin's Gitlab instance remote server, or if it hasn't synced yet, all the deleted files are just marked as unstaged changes.

If the Git plugin's gitlab instance is down however, or if the sync fails for any reason, all the files that were deleted because of this bug moved from an unstaged changes state, to permanently deleted.

I didn't lose my entire vault, since my Gitlab instance went offline only a few hours ago, but everything I worked on from my last Git sync with the Git community plugin was deleted because of this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant