1. 07 9月, 2008 1 次提交
    • P
      more safety nets when our functions do not do what we expect from them · 2d0a2a5b
      Philipp Kern 提交于
      2008-09-07  Philipp Kern  <pkern@debian.org>
      
              * daklib/utils.py (check_hash): change the comment and warn
              if a file is not found when checking the hashes (i.e. when
              it is probably in the pool)
      
      	* daklib/utils.py (check_size): do not bail out if the file
      	is not found, because it may be in the pool
      
              * dak/process_accepted.py (install): bail out and skip the
              upload when ensure_hashes fails, print the rejection messages
              as warnings
      Signed-off-by: NPhilipp Kern <pkern@debian.org>
      2d0a2a5b
  2. 03 9月, 2008 1 次提交
  3. 29 8月, 2008 1 次提交
    • P
      implement sensible handling of checksum fields in .changes and .dsc · aaa9ef21
      Philipp Kern 提交于
      2008-08-28  Philipp Kern  <pkern@debian.org>
      
      	* daklib/utils.py (check_hashes): adapt to different API, check
      	sizes separately
      
      	* daklib/utils.py (parse_changes, parse_deb822): refactor
      	the string-based logic of parse_changes into a new function
      	parse_deb822; parse_changes itself remains file-based
      
      	* daklib/utils.py (hash_key): gives the key of a hash in the
      	files dict
      
      	* daklib/utils.py (create_hash, check_size): made more readable
      
      	* daklib/utils.py (check_hash): just check the hashes and complain
      	about missing checksums
      
      	* daklib/utils.py (check_hash_fields): function to reject unknown
      	checksums fields
      
      	* daklib/utils.py (_ensure_changes_hash, _ensure_dsc_hash): helper
      	functions for ensure_hashes; check their corresponding manifests'
      	hashes
      
      	* daklib/utils.py (ensure_hashes): retrieve the checksums fields
      	from the original filecontents blob so that they do not need to
      	be present in the .dak; refactored the actual checks by calling
      	the aforementioned helper functions
      
      	* daklib/utils.py (parse_checksums): parse a given checksums field
      	in a manifest and insert the values found into the files dict,
      	checking the file sizes on the way
      aaa9ef21
  4. 16 8月, 2008 11 次提交
  5. 05 5月, 2008 3 次提交
  6. 02 5月, 2008 1 次提交
  7. 25 4月, 2008 1 次提交
  8. 23 4月, 2008 2 次提交
  9. 19 4月, 2008 1 次提交
  10. 11 4月, 2008 1 次提交
    • A
      * dak/utils.py: build_file_list() extra parameters so it can · 195caf3a
      Anthony Towns 提交于
      build a file list for checksums-foo fields. Don't use float() to
      compare formats, because Format: 1.10 should compare greater than
      Format: 1.9 (use "1.9".split(".",1) and tuple comparison instead)
      
      * dak/process_unchecked.py: check_md5sum becomes check_hashes
      and check_hash. If changes format is 1.8 or later, also check
      checksums-sha1 and checksums-sha256 for both .changes and .dsc.
      195caf3a
  11. 08 4月, 2008 1 次提交
  12. 27 3月, 2008 1 次提交
  13. 07 2月, 2008 1 次提交
  14. 31 12月, 2007 3 次提交
  15. 29 12月, 2007 2 次提交
  16. 05 12月, 2007 1 次提交
  17. 19 6月, 2007 1 次提交
  18. 10 3月, 2007 1 次提交
  19. 13 2月, 2007 1 次提交
  20. 11 6月, 2006 1 次提交
  21. 22 5月, 2006 4 次提交