Commits on Source 7

  • 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
  • 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
    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
  • Holger Levsen's avatar
    Merge branch 'mr-origin-25' into develop · b5353e85
    Holger Levsen authored
    b5353e85
  • Holger Levsen's avatar
    Merge branch 'mr-origin-26' into develop · 27897574
    Holger Levsen authored
    27897574
  • Holger Levsen's avatar
    release as 1.1.1 · 81449510
    Holger Levsen authored
    
    
    Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
    81449510
  • Holger Levsen's avatar
    Merge branch 'develop' · b07a7383
    Holger Levsen authored
    b07a7383
Loading
Loading