-
-
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
Pushing to pull requests results in unrendered HTML on Gitlab forges #318
Comments
Either I completely misunderstand what you are talking about or this has nothing to do with Forge. Forge has no say in what Gitlab.com does in response to you effectively running |
I meant something like that:
|
That's certainly unexpected and I've never seen it before. Does that happen just with the gitlab instance we talked about before or also on gitlab.com? |
Yes same problem see my test PR on one of my projects:
https://gitlab.com/Thaodan/aur_helpers/-/merge_requests/1
|
Actually I just remembered that this is a feature. I didn't remember before because I don't really use Forge with Gitlab. This was "implemented" in b019dfa. |
The In any case this is rather noisy and we should probably filter out some of that text. But I am not thrilled about the prospect of having to use some heuristic again to guess the type of a "note" (see the comment removed by the mentioned commit). So I probably won't tackle this any time soon. |
Classifying as a "upstream bug" because they really should have a type field on the very generic "note" object type. |
The `<ul><li>` part is new, I believe. Or maybe adding a commit did not
result in the creation of what the Gitlab API calls a "note".
In any case this is rather noisy and we should probably filter out some of
that text. But I am not thrilled about the prospect of having to use some
heuristic again to guess the type of a "note" (see the comment removed by
the mentioned commit). So I probably won't tackle this any time soon.
I don't think filtering those out make sense as they come into context when
something changes e.g. a comment reacting to line of code that is no longer
present.
|
I agree, these "notes" are useful, but what would be even better is if we could easily tell them apart from comments that were written by human beings. We could then provide different functionality depending on the type of the "note" at point. For example, we could disallow editing "status updates". It is currently possible to attempt to do so; of course it eventually leads to an error, but unfortunately not upfront. |
Reported the problem upstream: |
Feel free to ad more if I had missed something. |
So far they have talked about who's responsibility it is to look into this. 🙄 |
When pushing a new commit to a repository there is a new message about the new commit eg in my latest case:
This that intended or a bug?
My forge version is: 20201201.1713
The text was updated successfully, but these errors were encountered: