1. 01 5月, 2016 2 次提交
    • A
      80108beb
    • A
      Work with newer SQLAlchemy versions · e1efe0c5
      Ansgar Burchardt 提交于
      Newer SQLAlchemy versions seem to track the `binary` attribute of
      `BinaryMetadata`.  This means the association proxy in `DBBinary`
      would first create a `BinaryMetadata` with `binary` set to `None`,
      flush this to the database and then set the actual value of `binary`
      we want.  However the flush fails, as `NULL` is not allowed for the
      `binary_id` column.
      
      The problem can be avoided by not setting `binary` to `None`.  This is
      treated as an "undefined value" by SQLAlchemy and changing it later
      means the database row never sees `NULL`.
      
      The same applies to the `source` attribute of `SourceMetadata`.
      e1efe0c5
  2. 25 4月, 2016 1 次提交
  3. 15 4月, 2016 2 次提交
  4. 12 4月, 2016 4 次提交
    • G
      Fix support for detached upstream signatures · 165bcf28
      Guillem Jover 提交于
      We should only allow upstream tarballs with detached signatures, but not
      native tarballs, «<source>_<version>.orig.asc» or «<source>_<version>.asc»
      filenames. We also need to allow this on all relevant regexes. This commit
      fixes and refactors the regexes to implement the above, and to make it
      easier to modify a single place in the future.
      
      Fixes commit 4911282c.
      
      Closes: #759401
      165bcf28
    • G
      Stop using undefined reject function in check_dsc_files · 9395800a
      Guillem Jover 提交于
      When there's an unknown file in a source package, the function spits
      this:
      
        ,---
        Processing raised an exception: global name 'reject' is not defined.
        Traceback (most recent call last):
          File "/srv/ftp-master.debian.org/dak/dak/daklib/archive.py", line 966, in check
            chk().check(self)
          File "/srv/ftp-master.debian.org/dak/dak/daklib/checks.py", line 497, in check
            rejects = utils.check_dsc_files(dsc_fn, control, source.files.keys())
          File "/srv/ftp-master.debian.org/dak/dak/daklib/utils.py", line 343, in check_dsc_files
            reject("%s: unexpected source file '%s'" % (dsc_filename, f))
        NameError: global name 'reject' is not defined
        `---
      
      Just set the reject message and break from the loop.
      9395800a
    • G
      Remove unused re_source_ext import · 996aa5d9
      Guillem Jover 提交于
      996aa5d9
    • G
      Escape dots in file type check in check_dsc_files · f8627994
      Guillem Jover 提交于
      f8627994
  5. 02 4月, 2016 7 次提交
  6. 01 4月, 2016 3 次提交
  7. 31 3月, 2016 4 次提交
  8. 16 3月, 2016 4 次提交
  9. 13 3月, 2016 5 次提交
  10. 06 2月, 2016 2 次提交
  11. 24 1月, 2016 2 次提交
  12. 23 1月, 2016 2 次提交
  13. 22 1月, 2016 1 次提交
    • G
      Add support for detached upstream signatures · 84f230b6
      Guillem Jover 提交于
      Upstream tarballs usually come with detached signatures, which would be
      useful to have in the source package, as an additional check that could
      be performed to verify its integrity and provenance.
      
      dpkg-source supports this since 1.17.20.
      
      Closes: #759401
      84f230b6
  14. 20 1月, 2016 1 次提交