1. 25 1月, 2009 6 次提交
  2. 24 1月, 2009 10 次提交
  3. 15 1月, 2009 1 次提交
  4. 10 1月, 2009 1 次提交
    • J
      signature checking changes · b74dcc5d
      Joerg Jaspert 提交于
      Adjust the gpgv signature check. Add one more case of broken key to detect,
      EXPKEYSIG. From gnupg docs:
          EXPKEYSIG   <long keyid>  <username>
          The signature with the keyid is good, but the signature was
          made by an expired key. The username is the primary one
          encoded in UTF-8 and %XX escaped.
      
      Also, handle KEYEXPIRED right. The first argument given back is NOT the keyid,
      it is the timestamp when the key expired. From gnupg docs:
          KEYEXPIRED <expire-timestamp>
          The key has expired.  expire-timestamp is the expiration time
          in seconds after the epoch.
      
          Note, that TIMESTAMP may either be a number with seconds since
          epoch or an ISO 8601 string which can be detected by the
          presence of the letter 'T' inside.
      So lets go and see if we find a T, if not convert the epoch to something
      more easily human readable in our reject message.
      Signed-off-by: NJoerg Jaspert <joerg@debian.org>
      b74dcc5d
  5. 20 12月, 2008 1 次提交
    • J
      html fun · 21779bfb
      Joerg Jaspert 提交于
              * daklib/utils.py: move the html escape stuff here.
              * dak/examine_package.py: Remove the html escape stuff.
              * dak/queue_report.py: lotsa html changes to get more info on the
              page and to get Tinchos css foo working.
              * web/style.css: Added new stuff from Tincho
      Signed-off-by: NJoerg Jaspert <joerg@debian.org>
      21779bfb
  6. 09 12月, 2008 1 次提交
    • P
      do not reject binary-only uploads that fail the "must be newer than" criterion · f5af4e78
      Philipp Kern 提交于
      2008-12-09  Philipp Kern  <pkern@debian.org>
      
              * daklib/queue.py (cross_suite_version_check): add an additional
              parameter to specify if an upload is sourceful or not; do not reject
              uploads that do not satisfy the "must be newer than" criteria and
              are binary-only
              * daklib/queue.py (check_source_against_db, check_binary_against_db):
              invoke cross_suite_version_check as above
      f5af4e78
  7. 30 11月, 2008 1 次提交
  8. 24 10月, 2008 1 次提交
  9. 08 10月, 2008 1 次提交
  10. 07 10月, 2008 1 次提交
  11. 13 9月, 2008 2 次提交
  12. 09 9月, 2008 1 次提交
  13. 08 9月, 2008 4 次提交
  14. 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
  15. 03 9月, 2008 2 次提交
  16. 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
  17. 16 8月, 2008 5 次提交