- 12 8月, 2015 3 次提交
-
-
由 Ansgar Burchardt 提交于
Release files use different field names for checksum fields and the set of allowed filenames is larger (slashes are allowed). This patch allows switching the regexp used to validate filenames and the fields for checksums to allow using parse_file_list not only for .dsc files, but also for Release files.
-
由 Ansgar Burchardt 提交于
-
由 Ansgar Burchardt 提交于
-
- 26 8月, 2014 1 次提交
-
-
由 Paul Tagliamonte 提交于
From a reject exception: | File "/srv/ftp-master.debian.org/dak/dak/daklib/upload.py", line 155, in check | if e.errno == errno.ENOENT: | NameError: global name 'errno' is not defined
-
- 23 8月, 2014 2 次提交
-
-
由 Ansgar Burchardt 提交于
A custom exception is nicer to handle in the caller.
-
由 Ansgar Burchardt 提交于
-
- 03 8月, 2014 1 次提交
-
-
由 Ansgar Burchardt 提交于
Look in signature_history table if the changes was already seen to prevent re-uploading old changes files.
-
- 01 8月, 2014 2 次提交
-
-
由 Ansgar Burchardt 提交于
-
由 Ansgar Burchardt 提交于
-
- 16 5月, 2014 1 次提交
-
-
由 Helmut Grohne 提交于
Reading the file to check once rather than three times is both faster and shorter. Signed-off-by: NHelmut Grohne <helmut@subdivi.de> Signed-off-by: NHelmut Grohne <helmut@subdivi.de>
-
- 29 5月, 2013 1 次提交
-
-
由 Ansgar Burchardt 提交于
This should allow dak to reject some more invalid uploads without throwing an unhandled exception.
-
- 28 5月, 2013 1 次提交
-
-
由 Ansgar Burchardt 提交于
The upload will still be rejected later, but process-upload will be happier.
-
- 07 3月, 2013 2 次提交
-
-
由 Ansgar Burchardt 提交于
We have to raise an exception right away after all if "entry" is None as we later assign to "entry['sha*sum']".
-
由 Ansgar Burchardt 提交于
If a file is only listed in the Checksums-* fields, "entry" will be None and we cannot call the get method to compare the size in the different fields. This change just skips the comparison when "entry" is None. We can do this as we later check that each entry has all required checksums (i.e. is listed in Files and the Checksums-* fields).
-
- 29 12月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
Reported-by: NLaszlo Kajan <lkajan@rostlab.org>
-
- 19 12月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
This caused an error when rejecting an upload with an invalid .dsc. We also do not want to load the .dsc before we have made sure it matches the hash from the .changes.
-
- 07 11月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
Allow to create HashedFile, Binary and Source objects from existing files. This will be used to directly import binary and source packages into an archive.
-
- 19 9月, 2012 2 次提交
-
-
由 Ansgar Burchardt 提交于
This makes sure we have the correct file when accessing the source property of a Changes object.
-
由 Ansgar Burchardt 提交于
-
- 16 9月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
-
- 09 8月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
-
- 07 7月, 2012 1 次提交
-
-
由 Ansgar Burchardt 提交于
-