forgejo-contrib-forgejo-cli-pulls-223.md
Watch20
Star402
Fork
You've already forked forgejo-cli
CodeIssues 44Pull requests 8Releases 11Packages 2WikiActivity
--autofill flag on pr create#223Merged
Cyborusmerged 1 commit from pr-autofill into main 2025-10-11 00:19:12 +02:00
Conversation 7Commits 1Files changed 1 +84 -14
Cyborus commented 2025-10-10 22:55:41 +02:00
Member
Copy link
A new --autofill flag for pr create that automatically populates the
title and body from the included commits. If there's only one commit,
the PR matches the title and body. If there's multiple the title is the
branch name, and the body is a definition list containing each's
commit's message.
As a test that it works, this very PR was written using this new
feature!
Implements #217
A new --autofill flag for pr create that automatically populates the title and body from the included commits. If there's only one commit, the PR matches the title and body. If there's multiple the title is the branch name, and the body is a definition list containing each's commit's message. As a test that it works, this very PR was written using this new feature! Implements #217
Cyborus added 1 commit 2025-10-10 22:55:42 +02:00
feat: --autofill flag on pr create...
All checks were successful
ci/woodpecker/pr/check Pipeline was successful
A new `--autofill` flag for `pr create` that automatically populates the
title and body from the included commits. If there's only one commit,
the PR matches the title and body. If there's multiple the title is the
branch name, and the body is a definition list containing each's
commit's message.
As a test that it works, this very PR was written using this new
feature!
Implements[#217](/forgejo-contrib/forgejo-cli/issues/217)
Cyborus commented 2025-10-10 22:57:54 +02:00
Author
Member
Copy link
@untitaker Does this look good to you?
@untitaker Does this look good to you?
untitaker commented 2025-10-10 22:58:56 +02:00
First-time contributor
Copy link
any chance it can be named the same as GH cli?
any chance it can be named the same as GH cli?
Cyborus commented 2025-10-10 23:01:05 +02:00
Author
Member
Copy link
--fill? IMO that doesn't describe what it does very well, it's quite vague.
--fill? IMO that doesn't describe what it does very well, it's quite vague.
Cyborus commented 2025-10-11 00:18:38 +02:00
Author
Member
Copy link
I'm gonna go ahead and merge this just to have the functionality. I'm willing to talk about the name more in #217 or the matrix chat with you :)
I'm gonna go ahead and merge this just to have the functionality. I'm willing to talk about the name more in #217 or the matrix chat with you :)
Cyborus merged commit 863adee594 into main 2025-10-11 00:19:12 +02:00
Cyborus deleted branch pr-autofill 2025-10-11 00:19:12 +02:00
Cyborus referenced this pull request from a commit 2025-10-11 00:19:12 +02:00
Merge pull request 'feat: --autofill flag on pr create' (#223) from pr-autofill into main
Cyborus referenced this pull request 2025-10-11 00:20:05 +02:00
Support for fj pr create --fill #217
untitaker commented 2025-10-11 00:21:13 +02:00
First-time contributor
Copy link
feels like bike shedding to me, up to you but basically I'm looking for something that feels like a drop in replacement to GH cli. I'm still using both git hosts and will most likely try to wrap the respective clis in a shell script to paper over the differences.
feels like bike shedding to me, up to you but basically I'm looking for something that feels like a drop in replacement to GH cli. I'm still using both git hosts and will most likely try to wrap the respective clis in a shell script to paper over the differences.
Cyborus referenced this pull request 2025-10-11 00:27:46 +02:00
Support for fj pr create --fill #217
Cyborus referenced this pull request 2025-10-11 00:33:27 +02:00 README should be more descriptive #222
untitaker commented 2025-10-11 15:34:38 +02:00
First-time contributor
Copy link
regarding your comment in #222, I think unlike most other git hosts, forgejo and gitea try very hard to make themselves feel familiar to GitHub users. the APIs are similar and forgejo actions is aiming to be a drop in replacement.
would you be open to have --fill as an alias?
regarding your comment in #222, I think unlike most other git hosts, forgejo and gitea try very hard to make themselves feel familiar to GitHub users. the APIs are similar and forgejo actions is aiming to be a drop in replacement. would you be open to have --fill as an alias?
Cyborus commented 2025-10-11 15:47:55 +02:00
Author
Member
Copy link
Familiar yes! I mean not an exact drop-in. Forgejo Actions is itself described as familiar but not compatible.
That said, adding --fill as an alias sounds alright to me 👍
Familiar yes! I mean not an *exact* drop-in. Forgejo Actions is itself described as familiar but not compatible. That said, adding --fill as an alias sounds alright to me 👍
Cyborus added this to the v0.4.0 milestone 2025-12-01 17:03:13 +01:00
Cyborus referenced this pull request 2025-12-03 22:49:54 +01:00
Better UI for fj pr create #244
Sign in to join this conversation.
Reviewers
No reviewers
Labels
Clear labels[ Kind/Breaking Breaking change that won't be backward compatible
](#)[ Kind/Bug Something is not working
](#)[ Kind/Design Discussion about UI/UX design
](#)[ Kind/Documentation Documentation changes
](#)[ Kind/Enhancement Improve existing functionality
](#)[ Kind/Feature New functionality
](#)[ Kind/Security This is security issue
](#)[ Kind/Testing Issue or pull request related to testing
](#)[ Kind/Upstream This is an issue with upstream software (Forgejo) that is probably not our fault
](#)
[ Priority
Critical The priority is critical
](#)[ Priority
High The priority is high
](#)[ Priority
Low The priority is low
](#)[ Priority
Medium The priority is medium
](#)
[ Reviewed
Confirmed Issue has been confirmed
](#)[ Reviewed
Duplicate This issue or pull request already exists
](#)[ Reviewed
Invalid Invalid issue
](#)[ Reviewed
Won't Fix This issue won't be fixed
](#)
[ Status
Abandoned Somebody has started to work on this but abandoned work
](#)[ Status
Blocked Something is blocking this issue or pull request
](#)[ Status
Need More Info Feedback is required to reproduce issue or to continue work
](#)
[ Suspicious
](#)
No labels Kind/Breaking Kind/Bug Kind/Design Kind/Documentation Kind/Enhancement Kind/Feature Kind/Security Kind/Testing Kind/Upstream [ Priority
Critical ](/forgejo-contrib/forgejo-cli/pulls?labels=173012) [ Priority
High ](/forgejo-contrib/forgejo-cli/pulls?labels=173013) [ Priority
Low ](/forgejo-contrib/forgejo-cli/pulls?labels=173015) [ Priority
Medium ](/forgejo-contrib/forgejo-cli/pulls?labels=173014) [ Reviewed
Confirmed ](/forgejo-contrib/forgejo-cli/pulls?labels=173007) [ Reviewed
Duplicate ](/forgejo-contrib/forgejo-cli/pulls?labels=173005) [ Reviewed
Invalid ](/forgejo-contrib/forgejo-cli/pulls?labels=173006) [ Reviewed
Won't Fix ](/forgejo-contrib/forgejo-cli/pulls?labels=173008) [ Status
Abandoned ](/forgejo-contrib/forgejo-cli/pulls?labels=173011) [ Status
Blocked ](/forgejo-contrib/forgejo-cli/pulls?labels=173010) [ Status
Need More Info ](/forgejo-contrib/forgejo-cli/pulls?labels=173009) Suspicious
Milestone
Clear milestone
No items
No milestone v0.4.0
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
Notifications Subscribe
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
forgejo-contrib/forgejo-cli!223
WritePreview
Loading…
Add table
| Rows | | | Columns | |
CancelOK
Add a link
Url Description Hint: With a URL in your clipboard, you can paste directly into the editor to create a link.
CancelOK
CancelSave
Reference in a new issue
Repository
forgejo-contrib/forgejo-cli
Title
Body
Create issue
No description provided.
Delete branch "pr-autofill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
No Yes