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