mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-25 01:28:30 -05:00
Code review tool git-appraise intergration #66
Closed
opened 2025-11-02 03:07:11 -06:00 by GiteaMirror
·
17 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1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
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#66
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lunny on GitHub (Nov 17, 2016).
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 gogits/gogs#2210
@bkcsoft commented on GitHub (Nov 29, 2016):
I'll read up on git-appraise tomorrow, the README looks promising though :)
@stevenroose commented on GitHub (Dec 18, 2016):
@bkcsoft You read and decided that it was too much work? :)
@bkcsoft commented on GitHub (Dec 26, 2016):
It just feels like it will break very fast. How does it handle "merge-conflicts" etc?
@ojarjur commented on GitHub (Jan 3, 2017):
@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
git notes mergecommand).@ojarjur commented on GitHub (Jan 4, 2017):
@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.
@stevenroose commented on GitHub (Jan 4, 2017):
@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!
@choucavalier commented on GitHub (Jan 22, 2017):
What is the current status of this?
@lunny commented on GitHub (Jan 22, 2017):
Waiting for someone send PR. :)
@vizcay commented on GitHub (Sep 6, 2017):
There is someone currently working on this? There is https://github.com/google/git-appraise-web to use as an starting point..
@strk commented on GitHub (Sep 6, 2017):
See #733 for an ongoing effort (stuck, as far as I can tell)
@vizcay commented on GitHub (Sep 12, 2017):
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.
@OmarAssadi commented on GitHub (Oct 19, 2017):
Would definitely be nice to see some sort of code review in Gitea. Added onto the original bounty. By the way, your bountysource badge appears to be broken!
Here is the current total:
@ypnos commented on GitHub (Jan 5, 2018):
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!
@hickscorp commented on GitHub (Mar 15, 2018):
Hey - picking up the discussion on this very important feature, it's good to see that there is some activity.
I see that the bounty is right now $210, what do you guys think it should reach to potentially be fair to pay whoever will be contributing to this (Trying to get a feel of the general consensus here not of a price tag)?
@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
git-appraiseif needed.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.
@Russtopia commented on GitHub (Dec 20, 2019):
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...
@techknowlogick commented on GitHub (Dec 9, 2020):
Closing as code reviews exist.
@ypnos commented on GitHub (Jan 1, 2021):
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?
Certainly I would not like the money to go to waste (eaten up by Bountysource, as they have already threatened with their, for now retracted, new ToS).
For reference: https://github.com/go-gitea/gitea/pull/3748