For example, we have 5 commits and we are in the process of making a pull request. So, when the forms appears, it would be very nice to have the commit's title pasted into the pull request title. If we look at gitlab, we will see that it does so and it even puts commit content into a pull request description.
GitHub takes the branch name, capitalizes it and changes dashes to spaces. We should decide what's best.
GitHub takes the branch name, capitalizes it and changes dashes to spaces. We should decide what's best.
Do you mean, what is better between taking a branch name or latest commit title (eg gitlab vs github way)?
Yes, I think that's what he means. Would be interesting to see what we choose.
What about implementing both and letting user or administrator or project owner to decide what he wants?
Hmm. In Gitea settings then?
In gitea settings or project settings, yes.
@vityafx I think that we should just decide which is the best way but I think we don't need an option for that.
Why not to let the user decide what he needs? There is always a chance that someone need first option, others the second one, and rest don't need anything at all.
Hmm. You might find this issue interesting, especially this comment. Github's extension for Visual Studio did something like this last year.
So we can take this approach:
Does this make sense?
Heh, I thought I proposed this in the first message but I didn't. Yes, that would also be good.
Okay great. @vityafx Will you like to work on this? I'd love to myself.
Okay great. @vityafx Will you like to work on this? I'd love to myself.
I don't know go lang and I don't want to spend time learning it as well, so it is better for everyone to let someone else who knows what to do to do this.
So, @eloyekunle good luck :)
Thanks @vityafx I'll jump right into it. @JonasFranzDEV, I might buzz you for clarifications as needed.