1. 14 Sep, 2018 14 commits
  2. 17 Apr, 2018 1 commit
  3. 03 Apr, 2018 1 commit
  4. 27 Jan, 2018 2 commits
  5. 08 Sep, 2017 1 commit
  6. 04 Sep, 2017 1 commit
  7. 21 Jul, 2017 1 commit
  8. 20 Jul, 2017 3 commits
  9. 12 Feb, 2017 1 commit
  10. 18 Dec, 2016 4 commits
  11. 30 Jun, 2016 1 commit
  12. 02 Feb, 2016 1 commit
  13. 18 Jan, 2016 2 commits
  14. 22 Oct, 2015 1 commit
  15. 19 Oct, 2015 1 commit
  16. 14 Oct, 2015 1 commit
  17. 12 Oct, 2015 2 commits
    • Michael Stapelberg's avatar
      7b424109
    • Michael Stapelberg's avatar
      Use apt-get indextargets if available. · bbd7f0d6
      Michael Stapelberg authored
      This improves the handling of many edge-cases with regards to locating
      the correct Sources files on the local system.
      
      See https://bugs.debian.org/801594 for context.
      
      Tested by verifying that on my machine, both code paths result in the
      same |sourcesPaths| value:
      
      $ LD_LIBRARY_PATH=/tmp/usr/lib/x86_64-linux-gnu PATH=/tmp/usr/bin:$PATH go run ratt.go /tmp/jq_1.5-1_amd64.changes
      2015/10/12 20:49:06 Loading changes file "/tmp/jq_1.5-1_amd64.changes"
      2015/10/12 20:49:06  - 1 binary packages: jq
      2015/10/12 20:49:06  - corresponding .debs (will be injected when building):
      2015/10/12 20:49:06     jq_1.5-1_amd64.deb
      2015/10/12 20:49:08 a-g indextargets
      2015/10/12 20:49:08 sourcesPaths = [/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_source_Sources /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_contrib_source_Sources /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_non-free_source_Sources]
      
      midna ~/gocode/src/github.com/Debian/ratt master 2 $ go run ratt.go /tmp/jq_1.5-1_amd64.changes
      2015/10/12 20:49:15 Loading changes file "/tmp/jq_1.5-1_amd64.changes"
      2015/10/12 20:49:15  - 1 binary packages: jq
      2015/10/12 20:49:15  - corresponding .debs (will be injected when building):
      2015/10/12 20:49:15     jq_1.5-1_amd64.deb
      2015/10/12 20:49:15 fallback
      2015/10/12 20:49:15 sourcesPaths = [/var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_contrib_source_Sources /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_main_source_Sources /var/lib/apt/lists/ftp.ch.debian.org_debian_dists_unstable_non-free_source_Sources]
      bbd7f0d6
  18. 05 Oct, 2015 2 commits