1. 06 Jul, 2019 1 commit
  2. 03 Apr, 2019 2 commits
  3. 12 Dec, 2018 1 commit
    • Guillem Jover's avatar
      Stop requiring a Binary field in .changes files in the database · d48ebfac
      Guillem Jover authored
      The changes table requires a not NULL binaries column. But we should not
      be requiring a Binary field for source-only uploads. There have been
      other changes to accommodate that, but the schema still requires the
      values, and uploading such .changes files returns this misleading
      rejection message:
      
        source_version_arch.changes is already known.
      
      from daklib/archive.py:_install_changes() due to an exception when
      inserting the DBChange() into the database.
      d48ebfac
  4. 08 Jul, 2018 1 commit
  5. 03 Jul, 2018 1 commit
    • Bastian Blank's avatar
      Remove duplicate constraint · 3995af46
      Bastian Blank authored
      The unique constraint suite_src_formats_suite_key also exists as primary
      key constraint.  Alembic is not able to handle such duplicate indexes.
      3995af46
  6. 27 Jun, 2018 1 commit
  7. 17 Jun, 2018 2 commits
  8. 19 May, 2018 5 commits
  9. 18 May, 2018 1 commit
  10. 07 Apr, 2018 2 commits
  11. 16 May, 2016 1 commit
    • Julien Cristau's avatar
      Add by-hash support · 391f5ec0
      Julien Cristau authored
      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: Julien Cristau's avatarJulien 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
  12. 01 May, 2016 1 commit
  13. 13 Mar, 2016 1 commit
  14. 16 Jan, 2016 1 commit
    • Ansgar's avatar
      Add option to forbid source and/or binary uploads to a suite · 6b054076
      Ansgar authored
      This is intended to be used to forbid uploads to policy queues and build
      queues which would result in confusing results.  While we already have a
      "reject" option in the dak.conf's SuiteMappings, having the option in
      the database means we don't have to edit dak.conf when configuring new
      suites.
      
      Another usecase will be the "unstable" suite for Debian Ports: here we
      want to import the source packages (and arch:all) from the main archive
      and only accept binary uploads.  Additional source packages must go into
      the "unreleased-*" suites.  This was not possible via SuiteMappings.
      
      Bug: https://bugs.debian.org/783115
      6b054076
  15. 01 Dec, 2015 1 commit
  16. 21 Aug, 2015 1 commit
  17. 15 Aug, 2015 1 commit
  18. 16 Jun, 2015 1 commit
  19. 14 Jun, 2015 1 commit
  20. 08 Jun, 2015 1 commit
  21. 09 Apr, 2015 1 commit
  22. 26 Nov, 2014 1 commit
  23. 08 Nov, 2014 1 commit
  24. 15 Aug, 2014 1 commit
  25. 03 Aug, 2014 1 commit
  26. 18 Jun, 2014 1 commit
  27. 27 Oct, 2013 1 commit
  28. 10 Sep, 2013 1 commit
  29. 09 Sep, 2013 1 commit
  30. 28 Jul, 2013 2 commits
  31. 21 Jul, 2013 1 commit
  32. 29 Apr, 2013 1 commit