1RDOPKG FIX(7) RDOPKG FIX(7)
2
3
4
6 rdopkg-feature-fix - autogenerated from feature spec `fix.feature`
7
9 Introducing .spec fixes is a core functionality
10
12 rdopkg fix - did not add description of changes
13 • Given a distgit,
14
15 • When I run rdopkg fix,
16
17 • Then rdopkg state file is present
18
19 rdopkg fix
20 • Given a distgit,
21
22 • When I run rdopkg fix,
23
24 • When I add description to .spec changelog,
25
26 • When I run rdopkg --continue,
27
28 • Then .spec file contains new changelog entry with 1 lines,
29
30 • Then new commit was created,
31
32 • Then rdopkg state file is not present,
33
34 • Then last commit message is:
35
36 """
37 foo-bar-1.2.3-3
38
39
40 Changelog:
41 - Description of a change
42 """
43
44 rdopkg fix - did not add description of changes
45 • Given a distgit,
46
47 • When I run rdopkg fix,
48
49 • When I run rdopkg --continue,
50
51 • Then command output contains Description of changes is missing in
52 %changelog.,
53
54 • Then no new commit was created,
55
56 • Then rdopkg state file is present
57
58 rdopkg fix - user reverted all changes
59 • Given a distgit,
60
61 • When I run rdopkg fix,
62
63 • When I undo all changes,
64
65 • When I run rdopkg --continue,
66
67 • Then command output contains No distgit changes found,
68
69 • Then no new commit was created,
70
71 • Then rdopkg state file is present
72
73 rdopkg fix - user aborts
74 • Given a distgit,
75
76 • When I run rdopkg fix,
77
78 • When I undo all changes,
79
80 • When I run rdopkg --abort,
81
82 • Then no new commit was created,
83
84 • Then rdopkg state file is not present
85
86 rdopkg fix - user reruns
87 • Given a distgit,
88
89 • When I run rdopkg fix,
90
91 • When I run rdopkg fix,
92
93 • Then command output contains You’re in the middle of previous
94 action: fix,
95
96 • Then command output contains Please --continue or --abort,
97
98 • Then no new commit was created,
99
100 • Then rdopkg state file is present
101
102 rdopkg fix - user aborts and reruns
103 • Given a distgit,
104
105 • When I run rdopkg fix,
106
107 • When I run rdopkg fix,
108
109 • When I undo all changes,
110
111 • When I run rdopkg --abort,
112
113 • When I run rdopkg fix,
114
115 • When I add description to .spec changelog,
116
117 • When I run rdopkg --continue,
118
119 • Then .spec file contains new changelog entry with 1 lines,
120
121 • Then new commit was created,
122
123 • Then rdopkg state file is not present,
124
125 • Then last commit message is:
126
127 """
128 foo-bar-1.2.3-3
129
130
131 Changelog:
132 - Description of a change
133 """
134
135 rdopkg fix - Normal semver nvr bumps consistently
136 • Given a distgit at Version 2.0.0 and Release 0.1,
137
138 • When I run rdopkg fix,
139
140 • Then .spec file tag Release is 0.2%{?dist}
141
142 rdopkg fix - Normal semver nvr bumps consistently - with dist macro
143 specified
144 • Given a distgit at Version 2.0.0 and Release 0.1%{?dist},
145
146 • When I run rdopkg fix,
147
148 • Then .spec file tag Release is 0.2%{?dist}
149
150 rdopkg fix - Normal semver nvr bumps consistently
151 • Given a distgit at Version 2.0.0 and Release 1%{?dist},
152
153 • When I run rdopkg fix,
154
155 • Then .spec file tag Release is 2%{?dist}
156
157 rdopkg fix - Normal semver nvr bumps consistently
158 • Given a distgit at Version 2.0.0 and Release 15%{?dist},
159
160 • When I run rdopkg fix,
161
162 • Then .spec file tag Release is 16%{?dist}
163
164 rdopkg fix - Normal semver nvr bumps consistently
165 • Given a distgit at Version 2.0.0 and Release 15.0%{?dist},
166
167 • When I run rdopkg fix,
168
169 • Then .spec file tag Release is 15.1%{?dist}
170
171 rdopkg fix - Release with %{?dist} in the middle bumps correctly
172 • Given a distgit at Version 2.0.0 and Release 1.0%{?dist}.1,
173
174 • When I run rdopkg fix,
175
176 • Then .spec file tag Release is 1.1%{?dist}.1
177
178
179
180 07/23/2021 RDOPKG FIX(7)