-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Changed descriptions are silently overwritten #146
Comments
That's quite unfortunate indeed.
While that would of course reduce the risk considerably that still wouldn't be 100% safe. This really should be implemented on the server side. (Similar to
Maybe. But as long as the above isn't implemented we don't really need to think about this part. |
@tarsius This issue prevented me from using forge and I'd like to change that now. I created an upstream issue to get API support from gitlab https://gitlab.com/gitlab-org/gitlab/-/issues/465150. |
@tarsius Meanwhile, I'd like to add a workaround locally so that forge re-fetches the issue right before PUT and aborts and informs me, if the newly fetched description differs from the description it knows about. Any handling of the situation would be manual. An alternative to tracking the description could be the I understand that you don't want such functionality in mainline forge. Do you have any hints on where and how to add this in forge? |
I'm working on getting a release out. I'll look at this when that is done. |
If I edit a description (of an issue in GitLab) which is out-of-date
it will be silently overwritten with my version. The in-browser editor
of GitLab issues a warning in this case.
I think forge should:
While there is still room for data loss between the refetch and the update, it is a lot less likely than currently.
PS: Thank you very much for this tool! This is my first issues created using it.
The text was updated successfully, but these errors were encountered: