Re: tool to rebuild all build-deps of a package

2016-12-18 Thread Sean Whitton
On Mon, Dec 19, 2016 at 02:15:14PM +0800, Paul Wise wrote:
> On Mon, Dec 19, 2016 at 1:54 PM, gustavo panizzo (gfa) wrote:
> 
> > Is there any tool I can use to rebuild all packages which B-D/D on my
> > package? i want to do a local test before bumping it on the archive
> 
> apt install ratt

Poor man's alternative I've used several times for dh-elpa's rbuild-deps:

#!/bin/sh

# build-rdeps foo > dscs
# and edit dscs to remove lines that aren't packages

while read p; do
sbuild --no-apt-update --no-apt-upgrade --no-apt-distupgrade 
--extra-package="$HOME/src/dh-elpa_1.0_all.deb" \
   --no-run-piuparts --no-run-lintian --no-run-autopkgtest \
   --add-depends="dh-elpa (>= 1.0)" \
   "$p"
if [ $? != 0 ]; then
echo "$p" >> failures
fi
done < dscs

-- 
Sean Whitton


signature.asc
Description: PGP signature


Re: tool to rebuild all build-deps of a package

2016-12-18 Thread Paul Wise
On Mon, Dec 19, 2016 at 1:54 PM, gustavo panizzo (gfa) wrote:

> Is there any tool I can use to rebuild all packages which B-D/D on my
> package? i want to do a local test before bumping it on the archive

apt install ratt

> Extra points for running the autopkgtests (if any)

You should use autopkgtest for that.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



tool to rebuild all build-deps of a package

2016-12-18 Thread gustavo panizzo (gfa)
Hello

Is there any tool I can use to rebuild all packages which B-D/D on my
package? i want to do a local test before bumping it on the archive

Extra points for running the autopkgtests (if any)

thanks!

PS: pkg is python-pytest-timeout

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: https://keybase.io/gfa