1. 19 Jan, 2021 4 commits
  2. 18 Jan, 2021 8 commits
  3. 29 Apr, 2020 3 commits
  4. 22 Apr, 2020 1 commit
  5. 09 Apr, 2020 2 commits
  6. 20 Mar, 2020 1 commit
  7. 13 Mar, 2020 4 commits
  8. 13 Feb, 2020 3 commits
  9. 12 Feb, 2020 1 commit
  10. 26 Jan, 2020 1 commit
  11. 17 Jan, 2020 2 commits
  12. 14 Jan, 2020 4 commits
  13. 12 Jan, 2020 3 commits
    • Nis Martensen's avatar
      piupartslib/dwke: do not error out on non-utf8 logfiles · 1b6e1b7c
      Nis Martensen authored
      Should fix:
      
      Traceback (most recent call last):
        File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line 1911, in <module>
          main()
        File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line 1851, in main
          section.generate_output(output_directory, section_names, problem_list, web_host)
        File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line 1660, in generate_output
          self.generate_html()
        File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line 1587, in generate_html
          failures = dwke_get_failures(self._binary_db, self._problem_list)
        File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line 1761, in dwke_get_failures
          add_cnt = make_kprs(logdict, kprdict, problem_list)
        File "/srv/piuparts.debian.org/lib/python3/dist-packages/piupartslib/dwke.py", line 252, in make_kprs
          logbody = lb.read()
        File "/usr/lib/python3.7/codecs.py", line 322, in decode
          (result, consumed) = self._buffer_decode(data, self.errors, final)
      UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 26184: invalid continuation byte
      1b6e1b7c
    • Nis Martensen's avatar
      Makefile: delete __pycache__ dirs in make clean · 75bf1f7c
      Nis Martensen authored
      Move __pycache__ directory removal from debian/rules to the `clean`
      Makefile target. The change should have no effect on the generated
      packages; it just makes `make clean` more complete and debian/rules
      simpler.
      
      Instead of using a shell loop for passing the files to `rm`, also use
      find's `-delete` option, avoiding any potential issues with weird
      filenames.
      
      Since the __pycache__ folders may contain .pyc files, make sure these
      are all deleted before.
      75bf1f7c
    • Nis Martensen's avatar
      autopkgtest: replace broken stubs with actual tests · 0066fa12
      Nis Martensen authored
      Piuparts does not have `--list` (without further arguments) or `--info`
      options, hence running the autopkgtest currently fails. Replace the two
      broken stubs by two working tests:
      
       1. run `piuparts --version`
       2. create a minimal dummy binary package and run piuparts on it
      
      Using a single-letter package name for the dummy package ensures that
      there is no package with the same name in the archive -- according to
      policy 5.6.1, all official package names must be at least two characters
      long.
      0066fa12
  14. 08 Jan, 2020 3 commits