Commit History

Author SHA1 Message Date
  Helmut Grohne 29d33b3185 tighten source format check for 1.0 10 years ago
  Ansgar Burchardt 5ae0dac7c8 Python modules should not be executable 12 years ago
  Torsten Werner f7e8ab5cc1 Convert raise statement to Python 2.6. 13 years ago
  Joerg Jaspert 8a56905adf docstrings 15 years ago
  Chris Lamb 4e9d67806b Drop the SourceFormat-specific validate_format classmethods. 15 years ago
  Chris Lamb 8c266683b1 Move parse_format into daklib.formats 15 years ago
  Chris Lamb 68f805c214 Add get_format_from_string utility method 15 years ago
  Chris Lamb fee8895dd9 Attach validate_format(...) to each SourceFormat that can reject formats. 15 years ago
  Chris Lamb b7d36f7122 Split out parse_format to module-level and test it explicitly. 15 years ago
  Chris Lamb c9ba1a13b4 Split parsing of "Format:" string and validation of it. 15 years ago
  Chris Lamb 1b29fb2dc9 Compare None with object identity, not equality 15 years ago
  Chris Lamb 4587ac614f "Format: 0.0" is now invalid 15 years ago
  Chris Lamb 6fc48cd38c Move "Format:" field parsing into srcformats.py 15 years ago
  Chris Lamb 9b3cf7b8bd Reject uploads that contain a native tarball and a diff. 15 years ago
  Chris Lamb 7a22fcc70b Fix reference to cls.requires. 15 years ago
  Chris Lamb b2d2d87ae4 Simplify rejecting logic 15 years ago
  Chris Lamb 9dd35112e9 Use a collections.defaultdict to avoid boilerplate definitions. 15 years ago
  Chris Lamb 1a284d1ef8 Correct grammar when rejecting a package with insufficient files. 15 years ago
  Chris Lamb dbf94f5bb3 Require source formats to have a name and interpolate it when returning msgs 15 years ago
  Chris Lamb 6560a55727 Remove has_ prefix inside srcformats. 15 years ago
  Chris Lamb 324bbf00a0 Don't pass dsc_filename to reject_msgs; prepend it in check_dsc_files. 15 years ago
  Chris Lamb 5e1a345289 Move rejection message generation into srcformats 15 years ago
  Chris Lamb 46434f2a67 Add regex to match .dsc "Format: lala" value and compile it on creation. 15 years ago
  Chris Lamb d2a4effa71 Add SourceFormat class and track definitions with metaclass 15 years ago