-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow branch naming configuration: "user_base", "user", "base", "none" #11
Labels
enhancement
New feature or request
good first issue
Issues that might be a good fit for first time contributors
Comments
jerry-skydio
added
the
good first issue
Issues that might be a good fit for first time contributors
label
Sep 14, 2022
jerry-skydio
changed the title
Allow base_branch inclusion in branchname to be configurable
Allow branch naming configuration: "user_base", "user", "base", "none"
Mar 13, 2024
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
jerry-skydio
added a commit
that referenced
this issue
Mar 13, 2024
Branch-format will let you control how branches are named, which has an effect on when branches collide. This can be set on cmdline, from config file, or on a topic-by-topic basis inside the commit text. user+branch is the default today and will remain the default. Branch names will never collide if using this, but you cannot retarget to other base branches, and you must use Uploader: if another user wants to push to this branch. user allows retargeting prs to other base branches, but will not allow multiple base-branches to be specified. if they are, it will warn to specify user+branch instead. branch will allow others to upload to the same pr, but uploader: cannot be used. none includes both limitations and features of user and branch. I don't really believe there's good use cases for branch and none, but i'm implementing them to be complete. Fixes: #11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
good first issue
Issues that might be a good fit for first time contributors
We have the following behaviors:
If base branch is included in branchname (default today):
If base branch is not included in branchname:
There are usability pro/cons to each. Users have requested the ability to change base branch, so it might be worth configuring which of the above 2 options are used.
The text was updated successfully, but these errors were encountered: