Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.9k
WIP: change PR flow to AGit#35111
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
To allow to dissociate from parent branchneed to change head_branch = "user/topic", flow = 1, head_repo_id = base_repo_id+----+------+--------+------------------+---------------+----------------+-------------------------+----------+-------+--------------+--------------+-----------------+-------------+--------------------------------------------------------------+-----------------------+------------+------------------+-----------+-------------+------+| id | type | status | conflicted_files | commits_ahead | commits_behind | changed_protected_files | issue_id | index | head_repo_id | base_repo_id | head_branch | base_branch | merge_base | allow_maintainer_edit | has_merged | merged_commit_id | merger_id | merged_unix | flow |+----+------+--------+------------------+---------------+----------------+-------------------------+----------+-------+--------------+--------------+-----------------+-------------+--------------------------------------------------------------+-----------------------+------------+------------------+-----------+-------------+------+| 2 | 0 | 2 | null | 1 | 0 | null | 2 | 2 | 3 | 1 | master | master | 21ef3959cb995307e97c5c76f7677ab13a3ea88a911999d69f2ca3033b70 | 0 | 0 | | 0 | 1752264162 | 0 || | | | | | | | | | | | | | 28ab | | | | | | |+----+------+--------+------------------+---------------+----------------+-------------------------+----------+-------+--------------+--------------+-----------------+-------------+--------------------------------------------------------------+-----------------------+------------+------------------+-----------+-------------+------+| 3 | 0 | 2 | null | 1 | 0 | null | 3 | 3 | 1 | 1 | test/topic_here | master | 21ef3959cb995307e97c5c76f7677ab13a3ea88a911999d69f2ca3033b70 | 0 | 0 | | 0 | 1752424365 | 1 || | | | | | | | | | | | | | 28ab | | | | | | |+----+------+--------+------------------+---------------+----------------+-------------------------+----------+-------+--------------+--------------+-----------------+-------------+--------------------------------------------------------------+-----------------------+------------+------------------+-----------+-------------+------+Related to:go-gitea#33883
The purpose here is to disassociate the source branch from the PR and one way of doing this is via an AGit PR. The scenario in question is that we have multiple tracking branches across repositories. We can submit from one branch to another, but the PR must not get automatically advanced as the source tracking branch is updated. One way to accomplish this is to use an AGit style PR. If the original PR is Github style, we can disassociate from the source tracking branch by converting it to AGit. |
To allow to dissociate from parent branch
need to change head_branch = "user/topic", flow = 1, head_repo_id = base_repo_id
Related to:#33883