|
2 | 2 |
|
3 | 3 |
|
4 | 4 | ACTIONS = [ |
5 | | - Action('clone', atomic=True, |
| 5 | + Action('clone', |
6 | 6 | help="clone an RDO package distgit and setup remotes", |
7 | 7 | required_args=[ |
8 | 8 | Arg('package', positional=True, metavar='PACKAGE', |
|
17 | 17 | Arg('review_user', shortcut='-u', metavar='USER', |
18 | 18 | help="gerrit username for reviews"), |
19 | 19 | ]), |
20 | | - Action('pkgenv', atomic=True, help="show detected package environment", |
| 20 | + Action('pkgenv', help="show detected package environment", |
21 | 21 | steps=[ |
22 | 22 | Action('get_package_env'), |
23 | 23 | Action('show_package_env'), |
24 | 24 | ]), |
25 | | - Action('patchlog', atomic=True, help="show patches branch log", |
| 25 | + Action('patchlog', help="show patches branch log", |
26 | 26 | steps=[ |
27 | 27 | Action('get_package_env'), |
28 | 28 | Action('show_patch_log'), |
29 | 29 | ]), |
30 | | - Action('get-patches', atomic=True, |
| 30 | + Action('get-patches', |
31 | 31 | help="setup local patches branch and switch to it", |
32 | 32 | optional_args=[ |
33 | 33 | Arg('patches_branch', shortcut='-p', metavar='REMOTE/BRANCH', |
|
55 | 55 | Action('commit_distgit_update'), |
56 | 56 | Action('final_spec_diff'), |
57 | 57 | ]), |
58 | | - Action('patch', atomic=True, |
| 58 | + Action('patch', |
59 | 59 | help="introduce new patches to the package", |
60 | 60 | optional_args=[ |
61 | 61 | Arg('patches_branch', shortcut='-p', metavar='REMOTE/BRANCH', |
|
91 | 91 | Action('commit_distgit_update', const_args={'amend': True}), |
92 | 92 | Action('final_spec_diff'), |
93 | 93 | ]), |
94 | | - Action('new_version', help="update package to new upstream version", |
| 94 | + Action('new_version', continuable=True, |
| 95 | + help="update package to new upstream version", |
95 | 96 | optional_args=[ |
96 | 97 | Arg('new_version', positional=True, nargs='?', |
97 | 98 | help="version to update to"), |
|
138 | 139 | Action('final_spec_diff'), |
139 | 140 | Action('review_patches_branch') |
140 | 141 | ]), |
141 | | - Action('update_patches', atomic=True, |
| 142 | + Action('update_patches', |
142 | 143 | help='[DEPRECATED] update patches from -patches branch', |
143 | 144 | description=( |
144 | 145 | "WARNING: This is a low-level action for backward " |
|
156 | 157 | metavar='LOCAL_BRANCH', |
157 | 158 | help="local git branch containing patches"), |
158 | 159 | ]), |
159 | | - Action('amend', atomic=True, |
| 160 | + Action('amend', |
160 | 161 | help="amend last commit and recreate commit message", |
161 | 162 | optional_args=[ |
162 | 163 | Arg('commit_header_file', shortcut='-H', metavar='FILE', |
163 | 164 | help="start commit message with FILE contents, " |
164 | 165 | "- for stdin"), |
165 | 166 | ]), |
166 | | - Action('squash', atomic=True, |
| 167 | + Action('squash', |
167 | 168 | help="squash HEAD into HEAD~ using HEAD~ commit message"), |
168 | | - Action('get_source', atomic=True, help="fetch source archive", |
| 169 | + Action('get_source', help="fetch source archive", |
169 | 170 | steps=[ |
170 | 171 | Action('get_source', const_args={'new_sources': True}) |
171 | 172 | ]), |
172 | | - Action('tag_patches', atomic=True, |
| 173 | + Action('tag_patches', |
173 | 174 | help='tag the -patches branch in Git with the current NVR', |
174 | 175 | optional_args=[ |
175 | 176 | Arg('force', shortcut='-f', action='store_true', |
|
0 commit comments