1RDOPKG FIX(7)                                                    RDOPKG FIX(7)
2
3
4

NAME

6       rdopkg-feature-fix - autogenerated from feature spec `fix.feature`
7

SYNOPSIS

9       Introducing .spec fixes is a core functionality
10

SCENARIOS

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