Ansgar
|
0f8f1fbd3e
add more type annotations
|
hai 1 ano |
Ansgar
|
8d263b81bb
[py3] srcformats.py: use Python 3's metaclass syntax
|
%!s(int64=3) %!d(string=hai) anos |
Ansgar
|
62bbc72da9
[py3] The future is now!
|
%!s(int64=4) %!d(string=hai) anos |
Ansgar
|
72c6bdec17
remove interpreter from Python module in daklib and dak/dakdb
|
%!s(int64=4) %!d(string=hai) anos |
Ivo De Decker
|
6e71a770f6
daklib/srcformats.py: use six to specify metaclass
|
%!s(int64=4) %!d(string=hai) anos |
Bastian Blank
|
da66a788e5
Use absolute imports
|
%!s(int64=6) %!d(string=hai) anos |
Bastian Blank
|
32343595ab
Fix E302: Expected 2 blank lines, found 0
|
%!s(int64=6) %!d(string=hai) anos |
Ansgar Burchardt
|
7f42e94b09
Revert "srcformats: reject orig.tar.gz.asc files in source format 1.0" (Closes: #888448)
|
%!s(int64=6) %!d(string=hai) anos |
Julien Cristau
|
fe8fc1bfe5
srcformats: reject orig.tar.gz.asc files in source format 1.0
|
%!s(int64=8) %!d(string=hai) anos |
Helmut Grohne
|
29d33b3185
tighten source format check for 1.0
|
%!s(int64=10) %!d(string=hai) anos |
Ansgar Burchardt
|
5ae0dac7c8
Python modules should not be executable
|
%!s(int64=12) %!d(string=hai) anos |
Torsten Werner
|
f7e8ab5cc1
Convert raise statement to Python 2.6.
|
%!s(int64=13) %!d(string=hai) anos |
Joerg Jaspert
|
8a56905adf
docstrings
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
4e9d67806b
Drop the SourceFormat-specific validate_format classmethods.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
8c266683b1
Move parse_format into daklib.formats
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
68f805c214
Add get_format_from_string utility method
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
fee8895dd9
Attach validate_format(...) to each SourceFormat that can reject formats.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
b7d36f7122
Split out parse_format to module-level and test it explicitly.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
c9ba1a13b4
Split parsing of "Format:" string and validation of it.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
1b29fb2dc9
Compare None with object identity, not equality
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
4587ac614f
"Format: 0.0" is now invalid
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
6fc48cd38c
Move "Format:" field parsing into srcformats.py
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
9b3cf7b8bd
Reject uploads that contain a native tarball and a diff.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
7a22fcc70b
Fix reference to cls.requires.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
b2d2d87ae4
Simplify rejecting logic
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
9dd35112e9
Use a collections.defaultdict to avoid boilerplate definitions.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
1a284d1ef8
Correct grammar when rejecting a package with insufficient files.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
dbf94f5bb3
Require source formats to have a name and interpolate it when returning msgs
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
6560a55727
Remove has_ prefix inside srcformats.
|
%!s(int64=15) %!d(string=hai) anos |
Chris Lamb
|
324bbf00a0
Don't pass dsc_filename to reject_msgs; prepend it in check_dsc_files.
|
%!s(int64=15) %!d(string=hai) anos |