Ansgar Burchardt pushed to branch master at Debian FTP Team / dak
Commits:
-
a1e90375
by Guillem Jover at 2018-11-05T23:20:59Z
-
4c22c773
by Guillem Jover at 2018-11-10T02:42:05Z
-
b42a9e26
by Ansgar Burchardt at 2018-11-10T10:34:05Z
-
61ee8e74
by Ansgar Burchardt at 2018-11-10T10:35:03Z
-
ff99fab7
by Ansgar Burchardt at 2018-11-10T10:40:14Z
-
6715c86a
by Ansgar Burchardt at 2018-11-10T10:42:03Z
-
a144bb49
by Ansgar Burchardt at 2018-11-10T10:42:54Z
5 changed files:
Changes:
... | ... | @@ -252,6 +252,7 @@ if [[ ${hadrms} -ne 0 ]]; then |
252 | 252 |
echo "You did some removals, please copy their entries into the changelog"
|
253 | 253 |
confirm
|
254 | 254 |
$EDITOR ${ftpdir}/dists/${suite}/ChangeLog ${webdir}/removals.txt
|
255 |
+ rm -f ${ftpdir}/dists/${suite}/ChangeLog~
|
|
255 | 256 |
fi
|
256 | 257 |
|
257 | 258 |
log "Checking for d-i updates"
|
... | ... | @@ -230,10 +230,15 @@ class ChangesCheck(Check): |
230 | 230 |
control = changes.changes
|
231 | 231 |
fn = changes.filename
|
232 | 232 |
|
233 |
- for field in ('Distribution', 'Source', 'Binary', 'Architecture', 'Version', 'Maintainer', 'Files', 'Changes', 'Description'):
|
|
233 |
+ for field in ('Distribution', 'Source', 'Architecture', 'Version', 'Maintainer', 'Files', 'Changes'):
|
|
234 | 234 |
if field not in control:
|
235 | 235 |
raise Reject('{0}: misses mandatory field {1}'.format(fn, field))
|
236 | 236 |
|
237 |
+ if len(changes.binaries) > 0:
|
|
238 |
+ for field in ('Binary', 'Description'):
|
|
239 |
+ if field not in control:
|
|
240 |
+ raise Reject('{0}: binary upload requires {1} field'.format(fn, field))
|
|
241 |
+ |
|
237 | 242 |
check_fields_for_valid_utf8(fn, control)
|
238 | 243 |
|
239 | 244 |
source_match = re_field_source.match(control['Source'])
|
... | ... | @@ -476,11 +481,6 @@ class BinaryCheck(Check): |
476 | 481 |
except:
|
477 | 482 |
raise Reject('{0}: APT could not parse {1} field'.format(fn, field))
|
478 | 483 |
|
479 |
- # "Multi-Arch: no" breaks wanna-build, #768353
|
|
480 |
- multi_arch = control.get("Multi-Arch")
|
|
481 |
- if multi_arch == 'no':
|
|
482 |
- raise Reject('{0}: Multi-Arch: no support in Debian is broken (#768353)'.format(fn))
|
|
483 |
- |
|
484 | 484 |
|
485 | 485 |
class BinaryTimestampCheck(Check):
|
486 | 486 |
"""check timestamps of files in binary packages
|
... | ... | @@ -426,7 +426,7 @@ class Changes(object): |
426 | 426 |
"""names of included binary packages
|
427 | 427 |
@type: list of str
|
428 | 428 |
"""
|
429 |
- return self.changes['Binary'].split()
|
|
429 |
+ return self.changes.get('Binary', '').split()
|
|
430 | 430 |
|
431 | 431 |
@property
|
432 | 432 |
def closed_bugs(self):
|
... | ... | @@ -273,8 +273,8 @@ def parse_changes(filename, signing_rules=0, dsc_file=0, keyrings=None): |
273 | 273 |
|
274 | 274 |
if not dsc_file:
|
275 | 275 |
# Finally ensure that everything needed for .changes is there
|
276 |
- must_keywords = ('Format', 'Date', 'Source', 'Binary', 'Architecture', 'Version',
|
|
277 |
- 'Distribution', 'Maintainer', 'Description', 'Changes', 'Files')
|
|
276 |
+ must_keywords = ('Format', 'Date', 'Source', 'Architecture', 'Version',
|
|
277 |
+ 'Distribution', 'Maintainer', 'Changes', 'Files')
|
|
278 | 278 |
|
279 | 279 |
missingfields = []
|
280 | 280 |
for keyword in must_keywords:
|
... | ... | @@ -7,8 +7,8 @@ Build-Depends: alembic, |
7 | 7 |
debhelper (>= 11.2~) | fakeroot,
|
8 | 8 |
dpkg-dev (>= 1.19.0.5) | fakeroot,
|
9 | 9 |
jq,
|
10 |
- postgresql-10 | postgresql-9.6 | postgresql-9.4,
|
|
11 |
- postgresql-10-debversion | postgresql-9.6-debversion | postgresql-9.4-debversion,
|
|
10 |
+ postgresql-11 | postgresql-9.6 | postgresql-9.4,
|
|
11 |
+ postgresql-11-debversion | postgresql-9.6-debversion | postgresql-9.4-debversion,
|
|
12 | 12 |
python-all-dev,
|
13 | 13 |
python-apt,
|
14 | 14 |
python-debian,
|