tea pr create: title & description from diff commit(s) #162

Open
opened 2020-07-19 16:05:53 +00:00 by 6543 · 2 comments
Owner

if there are no argument on issue/pull creation, interact with the user (ask them each info)

#> tea pr create
Title: Test tile

Description (type EOF at the end):
this is a example description ...
and a second line
EOF

head branch: fork:branch

created successfully: https://gitea.com/user/repo/pulls/22
if there are no argument on issue/pull creation, interact with the user (ask them each info) ``` #> tea pr create Title: Test tile Description (type EOF at the end): this is a example description ... and a second line EOF head branch: fork:branch created successfully: https://gitea.com/user/repo/pulls/22 ```
6543 added the
kind/proposal
label 2020-07-19 16:06:48 +00:00

If there's only one commit, it would also be nice to use the title and description of the commit for the PR title and description.

I find this incredibly useful for the efficient submission of small fixes, and I think it encourages developers to create more atomic PRs with good Git commit messages, too.

The way hub does this for GitHub PRs is that the interface looks almost the same as for a Git commit in the first place. So you can also easily copy and paste from the Git history of your branch (which is shown as comment on the bottom) to the PR title and description area.

If there's only one commit, it would also be nice to use the title and description of the commit for the PR title and description. I find this incredibly useful for the efficient submission of small fixes, and I think it encourages developers to create more atomic PRs with good Git commit messages, too. The way `hub` does this for GitHub PRs is that the interface looks almost the same as for a Git commit in the first place. So you can also easily copy and paste from the Git history of your branch (which is shown as comment on the bottom) to the PR title and description area.
noerw changed title from interactive issue/pull creation to tea pr create: title & description from diff commit(s) 2020-12-12 18:48:28 +00:00
noerw added this to the v0.8.0 milestone 2021-03-12 11:55:24 +00:00
6543 modified the milestone from v0.8.0 to v0.9.0 2021-08-16 12:54:52 +00:00
Member
blocked by https://github.com/go-gitea/gitea/issues/10871
noerw added the
upstream/gitea
label 2021-10-11 11:02:24 +00:00
noerw removed this from the v0.9.0 milestone 2021-10-11 11:04:35 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#162
No description provided.