-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Code review tool git-appraise intergration #189
Comments
I'll read up on git-appraise tomorrow, the README looks promising though :) |
@bkcsoft You read and decided that it was too much work? :) |
It just feels like it will break very fast. How does it handle "merge-conflicts" etc? |
@bkcsoft The metadata formats used by git-appraise are designed to work with the git-notes 'cat_sort_uniq' merge strategy, so merge conflicts are not an issue (they are automatically resolved by the |
@bkcsoft I realized a little earlier that what you were worried about with merge conflicts might have been "what happens when a comment is edited?", and that deserves a bit more details: The formats git-appraise uses do not represent the current state of a review, but rather a log of events (e.g. "User A added a comment at line B"). This means we can automatically resolve conflicts because we can take the union of all events (this is what the 'cat_sort_uniq' strategy gives us). However, there is a gotcha in that the current set of events does not include an 'edit comment' event (it does support 'edit review request' events). I've filed this issue to add such support. |
@ojarjur Wow, it's a real honor to have you here as the original git-appraise author! Hopefully collaboration will allow this issue to move forward more quickly! |
What is the current status of this? |
Waiting for someone send PR. :) |
Check errors in scrub code
There is someone currently working on this? There is https://github.com/google/git-appraise-web to use as an starting point.. |
See #733 for an ongoing effort (stuck, as far as I can tell) |
It will be nice until #733 gets developed to be able to reference sections of code in the discussion of the pull request. This should be very easy to implement:
That way it will be possible to discuss sections of code more easily, that's what people is interested in general I believe. |
The bounty is now over $200. Would be great if somebody finds the time to get this killer feature (code review) done. A good start for Gitea into 2018! |
Hey - picking up the discussion on this very important feature, it's good to see that there is some activity. @lunny BTW thanks for taking a stab at it, even if it didn't pan out like something usable. At least you've shown everyone else that the comments should be per-pull-request, not global. Also, @ojarjur being around this discussion feed, I'm pretty sure he'd give more advice about Also, and given the status of #733, I think a specification should be established before the work order is issued - as that last PR got stuck because inline comments were not per-pull-request. As @vizcay suggests, there are two things that could be useful here:
I also agree with @vizcay in the sense that the 2nd point is a very good way to mitigate the lack of the 1st point, as what the users are aiming for is a way to collaborate and talk about code-points in particular - and I can definitively see myself following a discussion on the main PR page while Ctrl+Clicking line numbers. Therefore, another and 3rd way of mitigating both things would be an in-between solution. How about:
This way, the PR main screen would still syndicate discussion, while file views would stick to do what they do - viewing files. I guess that later approach could be also an innovative way of doing what users are asking for, without all the burden of the complete task, while maybe differentiating Gitea from the others ;) EDIT: BTW I absolutely know how frustrating it is as a maintainer to have peeps +1 a feature request all the time - while they could be doing it themselves. That is not the intent of this comment, I'm indeed available for helping more in the thinking process. I gave up on Golang years ago tho, so I won't produce any code at all as I'm way too rusty (Or should I say elixiry). I could also tip-in, if that's ultimately what's missing. |
Hi all, This is sort of a crazy idea, but ... perhaps a solution for code review that is decoupled from any particular platform could be made from one of the web plugins that allow general annotation on top of HTML, such as https://web.hypothes.is/ or some of the others here: https://www.maketecheasier.com/google-chrome-extensions-annotate-text-on-the-web/ Perhaps someone with knowledge in the domain of web extensions could customize such an already-existing tool to structure the highlighting/annotation features specifically for code review, but I've already tried hypothes.is out on a pull request on my own gogs instance, and it supports public, group and private annotations with nice navigation, so it's 90% there already. Wonder if it could be self-hosted or co-hosted with one's gogs/gitea instance for annotation storage... |
Closing as code reviews exist. |
The issue is rightfully closed, but the bounty is still unclaimed: https://www.bountysource.com/issues/39308681-code-review-tool-git-appraise-intergration Me personally I would be fine if whoever implemented code review, claims this bounty. @lafriks that would be you, right? For reference: #3748 |
Since git-appraise will store code review data in refs/notes/devtools, gogs can read the data and show info on the web interface.
Migrated from gogs/gogs#2210
The text was updated successfully, but these errors were encountered: