<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/integration/framework, branch 1.3_rc1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.3_rc1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.3_rc1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-08-11T00:19:31Z</updated>
<entry>
<title>tests: copy 01autoremove from the right place</title>
<updated>2016-08-11T00:19:31Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-11T00:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c21dab6848cbe90736a998cbec8050fdf5110dd7'/>
<id>urn:sha1:c21dab6848cbe90736a998cbec8050fdf5110dd7</id>
<content type='text'>
With cmake using BUILDDIRECTORY at this place is not only as wrong as it
was before, but it might not even work always copying the system
provided one which might or might not be current and hence fails tests
needing it to be current like ./test-apt-move-and-forget-manual-sections

We don't want to always use the one from the source directory through
either like in autopkgtests.

Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>test: Automatically discover CMake build directory</title>
<updated>2016-08-10T14:17:19Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-10T12:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=61fef4ddbec8f70bb9e213ac0491d4e6cfefab30'/>
<id>urn:sha1:61fef4ddbec8f70bb9e213ac0491d4e6cfefab30</id>
<content type='text'>
Look at the project root, and all directories directly below it and
pick the directory with the newest CMakeCache.txt file.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>CMake: Switch integration tests and travis over</title>
<updated>2016-08-06T20:36:02Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-06T19:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dfd863ea50c0fcf9b9ac4dfb5ae0e64c529bd767'/>
<id>urn:sha1:dfd863ea50c0fcf9b9ac4dfb5ae0e64c529bd767</id>
<content type='text'>
This early support seems a bit hacky, but it's a hard switch: The
integration tests do not understand the old build system anymore
afterwards. I don't really like that.
</content>
</entry>
<entry>
<title>use a configurable location for apport report storage</title>
<updated>2016-07-22T14:05:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-21T13:54:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=84255101ee38693aea2fd456cf0da174434afa01'/>
<id>urn:sha1:84255101ee38693aea2fd456cf0da174434afa01</id>
<content type='text'>
Hardcoding /var/crash means we can't test it properly and it isn't
really our style.
</content>
</entry>
<entry>
<title>clean up default-stanzas from extended_states on write</title>
<updated>2016-07-22T14:05:09Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-20T16:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e5c3f3ccd98e926b91693d961db4d338fd144301'/>
<id>urn:sha1:e5c3f3ccd98e926b91693d961db4d338fd144301</id>
<content type='text'>
The existing cleanup was happening only for packages which had a status
change (install -&gt; uninstalled) which is the most frequent but no the
only case – you can e.g. set autobits explicitly with apt-mark.

This would leave stanzas in the states file declaring a package to be
manually installed – which is the default value for a package not listed
at all, so we can just as well drop it from the file.
</content>
</entry>
<entry>
<title>tests: skip over -flags for first option in autotests</title>
<updated>2016-07-22T14:05:09Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-20T12:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c1e202d225eea6838acd65ea81266996ee6bb9a2'/>
<id>urn:sha1:c1e202d225eea6838acd65ea81266996ee6bb9a2</id>
<content type='text'>
Otherwise calls like "apt -q install" end up calling "aptautotest_apt_q"
instead of "aptautotest_apt_install"

Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>don't hardcode /var/lib/dpkg/status as dir::state::status</title>
<updated>2016-07-19T16:20:38Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-19T16:20:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=475f75506db48a7fa90711fce4ed129f6a14cc9a'/>
<id>urn:sha1:475f75506db48a7fa90711fce4ed129f6a14cc9a</id>
<content type='text'>
Theoretically it should be enough to change the Dir setting and have apt
pick the dpkg/status file from that. Also, it should be consistently
effected by RootDir. Both wasn't really the case through, so a user had
to explicitly set it too (or ignore it and have or not have expected
sideeffects caused by it).

This commit tries to guess better the location of the dpkg/status file
by setting dir::state::status to a naive "../dpkg/status", just that
this setting would be interpreted as relative to the CWD and not
relative to the dir::state directory. Also, the status file isn't really
relative to the state files apt has in /var/lib/apt/ as evident if we
consider that apt/ could be a symlink to someplace else and "../dpkg"
not effected by it, so what we do here is an explicit replace on apt/
– similar to how we create directories if it ends in apt/ – with dpkg/.

As this is a change it has the potential to cause regressions in so far
as the dpkg/status file of the "host" system is no longer used if you
set a "chroot" system via the Dir setting – but that tends to be
intended and causes people to painfully figure out that they had to set
this explicitly before, so that it now works more in terms of how the
other Dir settings work (aka "as expected"). If using the host status
file is really intended it is in fact easier to set this explicitely
compared to setting the new "magic" location explicitely.
</content>
</entry>
<entry>
<title>tests: activate dpkg multi-arch even if test is single arch</title>
<updated>2016-07-15T19:59:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-15T19:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=87f99f6fa701d2557811134380c1f232cf07a422'/>
<id>urn:sha1:87f99f6fa701d2557811134380c1f232cf07a422</id>
<content type='text'>
Most tests are either multiarch, do not care for the specific
architecture or do not interact with dpkg, so really effect by this is
only test-external-installation-planner-protocol, but its a general
issue that while APT can be told to treat any architecture as native
dpkg has the native architecture hardcoded so if we run tests we must
make sure that dpkg knows about the architecture we will treat as
"native" in apt as otherwise dpkg will refuse to install packages from
such an architecture.

This reverts f883d2c3675eae2700e4cd1532c1a236cae69a4e as it complicates
the test slightly for no practical gain after the generic fix.
</content>
</entry>
<entry>
<title>tests: fix external solver/planner directory setup</title>
<updated>2016-07-08T10:43:56Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-08T09:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b327c569de774177f1505e52a378396250c975f2'/>
<id>urn:sha1:b327c569de774177f1505e52a378396250c975f2</id>
<content type='text'>
The setup didn't prepare the directories as expected by newer version of
tthe external tests in an autopkgtests environment.
</content>
</entry>
<entry>
<title>don't change owner/perms/times through file:// symlinks</title>
<updated>2016-07-06T00:25:51Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-05T18:04:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3465138575e1fd0d5892d9b6be1ae232eb873460'/>
<id>urn:sha1:3465138575e1fd0d5892d9b6be1ae232eb873460</id>
<content type='text'>
If we have files in partial/ from a previous invocation or similar such
those could be symlinks created by file:// sources. The code is
expecting only real files through and happily changes owner,
modification times and permission on the file the symlink points to
which tend to be files we have no business in touching in this way.
Permissions of symlinks shouldn't be changed, changing owner is usually
pointless to, but just to be sure we pick the easy way out and use
lchown, check for symlinks before chmod/utimes.

Reported-By: Mattia Rizzolo on IRC
</content>
</entry>
</feed>
