Commit 5a8dd0e
config: NoRulesVersion for initial comparisons
Change the rule version string for empty or no rules from the wayward
"N/A" string to an empty string.
Doing so lets comparisons with an empty rule version evaluate to true,
which conveniently reduces the amount of rule exchanges between a source
and this daemon on a clean setup.
In addition, explicitly set the version to NoRulesVersion. This was also
done in Listener.writeSourceRulesInfo, even if this now has no real
effect. However, before this method returned an empty string version,
while the rule comparison expected "N/A", resulting in rejected
submissions.1 parent 6376947 commit 5a8dd0e
2 files changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
171 | | - | |
| 175 | + | |
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
| |||
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
184 | | - | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
| |||
0 commit comments