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

Add logic to detect wiki page deletion #1

Open
rsyring opened this issue Jul 22, 2024 · 0 comments
Open

Add logic to detect wiki page deletion #1

rsyring opened this issue Jul 22, 2024 · 0 comments

Comments

@rsyring
Copy link
Member

rsyring commented Jul 22, 2024

GH's event system doesn't trigger a gollum event for wiki page deletes. So, currently, a page can only be permanently deleted from the source repo.

I think we could do some minimal state tracking on the files such that we could detect when a file exists in the docs repo but not the wiki if the file is new to the docs repo and should be synced or was previously synced to the wiki and its absence means we should delete it rather than sync it.

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