1. 21 5月, 2016 1 次提交
  2. 20 5月, 2016 6 次提交
  3. 19 5月, 2016 3 次提交
  4. 18 5月, 2016 11 次提交
  5. 17 5月, 2016 7 次提交
  6. 16 5月, 2016 1 次提交
    • J
      Add by-hash support · 391f5ec0
      Julien Cristau 提交于
      Add a per-suite boolean to enable by-hash; store the by-hash files in
      the db, and record when they stopped being referenced, so that
      clean-suites can delete them after the archive's stayofexecution time.
      
      In generate-release, where we have checksums for all the things,
      hardlink files to the by-hash dir for each of the suite's configured
      hash methods.
      Signed-off-by: NJulien Cristau <jcristau@debian.org>
      
      ---
      changes in v2:
      - use archive.stayofexecution as delay before removing files from
        by-hash
      - don't assume any particular ordering for suite.checksums
      
      changes in v3:
      - rebase on latest master, update115 is now update116
      - handle missing files in clean_byhash
      
      changes in v4:
      - use hardlinks instead of symlinks
      - don't initialize `unreferenced` to its default value
      - in clean_byhash, remove useless fetchall, and handle ENOENT from
        unlink instead of checking for existence beforehand
      391f5ec0
  7. 10 5月, 2016 1 次提交
    • L
      Add python-debianbts as a dependency in setup/README (Closes: #823118) · da4fbbe2
      Luke Faraone 提交于
      Needed to run the test suite:
      
          ======================================================================
          ERROR: test_importing_rm (test_imports.ImportTestCase)
          ----------------------------------------------------------------------
          Traceback (most recent call last):
            File "/srv/daksrc/tests/test_imports.py", line 15, in test_fn
              __import__('dak', fromlist=[cmd])
            File "/srv/daksrc/dak/rm.py", line 54, in <module>
              from daklib.rm import remove
            File "/srv/daksrc/dak/daklib/rm.py", line 52, in <module>
              import debianbts as bts
          ImportError: No module named debianbts
      Signed-off-by: NLuke Faraone <lfaraone@debian.org>
      da4fbbe2
  8. 04 5月, 2016 1 次提交
    • A
      Notify w-b earlier · b702864c
      Ansgar Burchardt 提交于
      Before Debian LTS started to use the security archive, all uploads that
      would trigger buildds would be sourceful uploads to a policy queue. So
      new packages entering the build queues and pushing the public mirrors
      would likely not happen in the same cron.unchecked run.
      
      With Debian LTS, uploads would go to both the build queues and trigger a
      public mirror push. If the mirror push takes more than three minutes,
      cron.buildd would however not notify w-b of changes.
      
      This patch moves the w-b notification right behind the update of the
      build queues and before the mirror push to avoid the problem. Ideally
      we would not rely on anything happening within the last three minutes
      though.
      b702864c
  9. 02 5月, 2016 1 次提交
  10. 01 5月, 2016 3 次提交
    • A
      Publish security archive on all changes · 7461bfcb
      Ansgar Burchardt 提交于
      With "wheezy" being used for Debian LTS, the archive needs to be
      published not only when policy queue uploads are accepted, but also
      when direct uploads to "wheezy" arrive.
      
      The same applies to uploads to "jessie-kfreebsd".
      7461bfcb
    • 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
  11. 25 4月, 2016 1 次提交
  12. 15 4月, 2016 2 次提交
  13. 12 4月, 2016 2 次提交
    • 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