[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Outreachy] Hi all!



Dear Andreas and Diane and all, thank you for your help!!  

I'll keep you posted about the results - hopefully successful ones :)

Thank you again so much!

On Fri, Oct 13, 2017 at 10:10 PM, Diane Trout <diane@ghic.org> wrote:

I have one question : all the examples in the part of the tutorial for setting up the development environment (i.e sudo apt-get install rerun ruby-foreman apt-cacher-ng
moreutils lighttpd rabbitmq-server) are relative to the specific package of 'rubby'? So when i want to set up the environment for running test in another package i will have to change these commands accordingly?

I suspect apt-cacher-ng is in there as a performance enhancement.

apt-cacher-ng can help speed frequent rebuilding of packages because it can download and store locally packages.

When you're first starting to test build an application you'd do:

apt source <package name>
apt build-dep <package name>
cd <package directory>
dpkg-buildpackage

(with the stretch release they added apt as an improvement to apt-get)

Debian maintianers will usually build packages in a temporary environment using tools like pbuilder or sbuild. Those tools automate extracting the package, installing the dependencies, building, and running tests. It's just a bit of work to get them setup.

And it looks like autopkgtest expects to be running in a temporary build environment so it can install things and change the system configuration.

Hope that helps
Diane


Reply to: