Package: mini-buildd Version: 1.0.11 Severity: wishlist Hi,
changes.py says: def move_to_pkglog(self, installed): logdir = self.get_pkglog_dir(installed, relative=False) if logdir and not os.path.exists(logdir): os.makedirs(logdir) LOG.info("Moving changes to package log: '{f}'->'{l}'".format(f=self._file_path, l=logdir)) for fd in [{"name": self._file_name}] + self.get_files(): f = fd["name"] f_abs = os.path.join(os.path.dirname(self._file_path), f) # If not installed, just move all files to log dir. # If installed, only save buildlogs and changes. if logdir and (not installed or re.match(r"(.*\.buildlog$|.*changes$)", f)): LOG.info("Moving '{f}' to '{d}'". format(f=f, d=logdir)) os.rename(f_abs, os.path.join(logdir, f)) else: LOG.info("Removing '{f}'". format(f=f)) mini_buildd.misc.skip_if_keep_in_debug(os.remove, f_abs) When debugging (which is unfortunately the case way too often), I'd like to take a look at a file called zg2-rebootscript_20110521a-1~zgSID+1+rebuilt20160411105624_mini-buildd-buildrequest_armhf.changes.tar which looks like it is deleted by the last line quoted. The code looks like there is a possibility to have the code not zap the file. How do I activate that? Greetings Marc -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.5.0-zgsrv20080 (SMP w/6 CPU cores; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mini-buildd depends on: ii adduser 3.114 ii debconf [debconf-2.0] 1.5.59 ii debootstrap 1.0.80 ii devscripts 2.16.2 ii dpkg-dev 1.18.4 ii gnupg 1.4.20-5 ii libjs-jquery 1.12.3-1 ii libjs-sphinxdoc 1.3.6-2 ii lintian 2.5.43 pn mini-buildd-common <none> ii python-cherrypy3 3.5.0-2 ii python-daemon 2.0.5-1 ii python-django 1.9.5-1 ii python-django-registration 2.0.4-1 ii python-mini-buildd 1.0.11 ii python-pyftpdlib 1.4.0-1 pn python:any <none> ii reprepro 4.17.0-1 ii sbuild 0.68.0-1 ii schroot 1.6.10-2 ii sudo 1.8.15-1.1 Versions of packages mini-buildd recommends: ii python-apt 1.1.0~beta2 Versions of packages mini-buildd suggests: pn binfmt-support <none> ii haveged 1.9.1-3 ii lvm2 2.02.146-1 pn qemu-user-static <none> -- Configuration Files: /etc/default/mini-buildd changed [not included] /etc/sudoers.d/mini-buildd-sudoers [Errno 13] Permission denied: u'/etc/sudoers.d/mini-buildd-sudoers' -- debconf information excluded