As the move to gitea.com is getting closer, I was thinking about those useful features that we as maintainers will miss after we move; I mean those specifically needed for the workflow of maintaining Gitea itself.
The idea is to make a list of those features we consider the most useful, so contributors can have specific goals to help with.
As a maintainer I'm not familiar with many of the tasks involved in the administration of Gitea, so I'll start with my short list to open the discussion.
Update branch
button #9750 (#9784).
- [ ] A count of approvals in the PR page.
You already have that?
_This Pull Request doesn't have enough approvals yet. 1 of 2 approvals granted._
Or do you mean the list of reviewers in the right sidebar? That I think would be useful to have.
He means on the list of PRs page. In GitHub we use labels to set this but Gitea has that built in
It could be `Show approvals counts on Pull request list page"
For this one:
- [ ] Does it produce conflicts.
I think a small client-side button to check could be used? I mean, it could show something like โ that, when pressed, a request is sent to the server and the button is changed into โ๏ธ or โ.
It's better to add Expand Up
and Expand Down
button too IMO. ๐ค
It's better to add
Expand Up
andExpand Down
button too IMO. ๐ค
Sorry, are you referring to the "does it produce conflicts" option?
Suggestions! ๐ข
(Meaning the ones you can commit)
Number of required approvals still remaining, or the number approvals obtained.
I came across this issue seeing if this exact feature was possibly in progress already, or whether it was worth me having an attempt. I've never touched Go before (I'm a full-stack TypeScript dev) but love the work put into Gitea!
After some playing about for over an hour I have this:
The first number being the number of granted approvals, and the second the required ones. Let me know if you would be interested in a PR ๐ .
@jamesorlakin sure send PR ;)
@lafriks Sure thing, I'll try to get it out tomorrow
@guillep2k
I mean the code folding/unfolding. Here is an example:
@guillep2k
I mean the code folding/unfolding. Here is an example:
Oh, of course!
Changelog tool now supports Gitea. ๐
- [ ] Does it produce conflicts. _(Much harder, probably)_
Would this just mean making use of the ConflictedFiles array on the pull model? If so, I whipped up this in a few lines by tweaking the template:
Would this just mean making use of the ConflictedFiles array on the pull model? If so, I whipped up this in a few lines by tweaking the template:
@jamesorlakin Care to submit a PR? ๐
It seems it's easier to diaplsy files conflicted.
This is on the PRs list page not on a particular pr page.
@guillep2k you can add #11012
@guillep2k you can check Require branches to be up to date before merging
by the way :)
Most helpful comment
Changelog tool now supports Gitea. ๐