Bug#705624: pbuilder: Please provide a way to copy files out of the chroot

2015-10-03 Thread Mattia Rizzolo
control: tags -1 moreinfo

On Wed, Apr 17, 2013 at 06:18:27PM +0200, Sylvestre Ledru wrote:
> It would be nice if you could provide a way to copy files out of the chroot.
> 
> For example, I am using pbuilder to build the packages and launch some
> QA operations (code coverage, static analysis, etc) at the end.
> I would like to retrieve these files.

pbuilder already has support for that, it's called
ADDITIONAL_BUILDRESULTS:

for FILE in "${ADDITIONAL_BUILDRESULTS[@]}"; do
log "I: Trying to save additional result ${FILE}"
cp -a "${BUILDPLACE}$BUILDDIR/"*"/${FILE}" "${BUILDRESULT}" || true
done

It's the second last entry in pbuilderrc(5) :)

As you can see that cp command looks a bit weird, indeed it copies
the file you list from the built tree ('debian/..' to be clear).
I don't use such feature, but guess you can make use of it? :)

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  http://mapreri.org  : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#705624: pbuilder: Please provide a way to copy files out of the chroot

2013-04-17 Thread Thorsten Glaser
Sylvestre Ledru dixit:

>For example, I am using pbuilder to build the packages and launch some
>QA operations (code coverage, static analysis, etc) at the end.
>I would like to retrieve these files.

Funny idea: install sharutils and uuencode them (after compression).
The build log is always copied out, and it’s secure this way.

bye,
//mirabilos
-- 
Sorry,  I’m annoyed today and you came by as an Arch user. These are the
perfect victims for any crime against humanity, like  systemd,  feminism
or social democracy.
-- Christoph Lohmann on d...@suckless.org


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#705624: pbuilder: Please provide a way to copy files out of the chroot

2013-04-17 Thread Sylvestre Ledru
Package: pbuilder
Version: 0.213
Severity: wishlist

Dear Maintainer,

It would be nice if you could provide a way to copy files out of the chroot.

For example, I am using pbuilder to build the packages and launch some
QA operations (code coverage, static analysis, etc) at the end.
I would like to retrieve these files.

Thanks,
Sylvestre


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils  8.13-3.2
ii  debconf [debconf-2.0]  1.5.46
ii  debianutils4.3.2
ii  debootstrap1.0.42
ii  dpkg-dev   1.16.8
ii  wget   1.13.4-3

Versions of packages pbuilder recommends:
ii  devscripts  2.12.4
ii  fakeroot1.18.4-2
ii  sudo1.8.5p2-1

Versions of packages pbuilder suggests:
ii  cowdancer 0.70
ii  gdebi-core0.8.5
pn  pbuilder-uml  

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org