<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/debian/tests/control, branch main</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=main</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-01-11T05:19:01Z</updated>
<entry>
<title>d/t/control: Don't depend on gdb-minimal.</title>
<updated>2025-01-11T05:19:01Z</updated>
<author>
<name>Sergio Durigan Junior</name>
<email>sergiodj@debian.org</email>
</author>
<published>2025-01-11T05:19:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f2eca72541ebd198c035d2e07a08a8fb536c176b'/>
<id>urn:sha1:f2eca72541ebd198c035d2e07a08a8fb536c176b</id>
<content type='text'>
gdb-minimal will soon be dropped from the archive; it doesn't offer
any advantages over the gdb binary package.  Just depend on gdb
directly.

Signed-off-by: Sergio Durigan Junior &lt;sergiodj@debian.org&gt;
</content>
</entry>
<entry>
<title>debian: Plug sqv into the package build</title>
<updated>2024-12-22T22:52:05Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-20T11:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f5a24acea31248f98db51d7a2fd1d7b2198bb177'/>
<id>urn:sha1:f5a24acea31248f98db51d7a2fd1d7b2198bb177</id>
<content type='text'>
Our goal is for each platform to have one blessed OpenPGP verification
system: Platforms that support sqv get sqv, platforms that don't get
gpgv. To do so we hardcode the architecture list at build time.

At build time we check if /usr/bin/sqv exists, which is the condition
that apt uses to see if it should build with sqv support.

We use a slight hack here to build with sqv on the official Debian
buildds but use gpgv on Ubuntu by abusing the fact that Ubuntu
resolves alternative build dependencies, and gpgv is installed
in the buildd image.
</content>
</entry>
<entry>
<title>Remove gnupg and versioned gpgv test depends</title>
<updated>2024-12-20T07:59:48Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-20T07:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=becf3fed0f5f3da225eb1df2cd306add1fdf5ab8'/>
<id>urn:sha1:becf3fed0f5f3da225eb1df2cd306add1fdf5ab8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use sq in the test suite, remove apt-key</title>
<updated>2024-12-19T22:41:01Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-19T21:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a00fbbdb28cc31e78882301c2efe7218583ab4cb'/>
<id>urn:sha1:a00fbbdb28cc31e78882301c2efe7218583ab4cb</id>
<content type='text'>
Remove the test case for MD5 and expired signatures, as we can't
create them (can't set signing digest, and can't set signature
expiry).

Tests for them have been added to test-method-gpgv instead.

We override sq in a function with cert-store and key-store
set to none.

This supports both sq 0.40 and sq 1.0.
</content>
</entry>
<entry>
<title>Introduce automatic pager for read commands</title>
<updated>2024-12-18T09:25:24Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-16T16:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6e260e26e4cd671f781151e24d89a17b29a55530'/>
<id>urn:sha1:6e260e26e4cd671f781151e24d89a17b29a55530</id>
<content type='text'>
Automatically show the output of `show`, `policy`, `list`,
`search`, `showsrc` in a pager.

The pager setup is inspired by git's pager setup. Notably,
the pager is found using APT_PAGER and PAGER variables.

We wait for the pager to be setup somewhat correctly by
using a notify pipe to figure out whether execvp() was
succesful - then the pipe will read EOF as the other end
got closed by CLOEXEC during exec - or not, then the pipe
will contain an errno.

We set up the correct handlers for signals and exit to close
the fds and wait for the pager. Notably inside the signal
handler we cannot flush our streams, only close them, so
there is some duplication.

We call the InitOutputPager() function from inside the
various Do...() functions rather than setting it up
generally in InitOutput(). Doing so allows us to first
render the progress without a pager, and then setup
the pager for the content only which improves user
experience.

When we setup a pager we also take care to disable
standard input, as we should not be prompting users
while a pager is running (the pager will be reading
from the tty directly). We do this by dup2-ing() a
/dev/null over it; if we just close()d the fd, another
open() might reuse the fd number and problems could
occur.
</content>
</entry>
<entry>
<title>test: Ensure we test both gpgv-g10code and gpgv-sq</title>
<updated>2024-11-22T15:44:02Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-22T15:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e983d98c4fcd952ffcbc010b185455913c8af650'/>
<id>urn:sha1:e983d98c4fcd952ffcbc010b185455913c8af650</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Temporarily disable valgrind-if-available on armhf and ppc64el</title>
<updated>2024-11-20T15:13:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-20T15:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b7a14e989ad1d1cef6038f85f92daef5fe90e3d6'/>
<id>urn:sha1:b7a14e989ad1d1cef6038f85f92daef5fe90e3d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'json-config' into 'main'</title>
<updated>2024-11-14T14:38:32Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-14T14:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8f10ee850db3892bc979694864451be3a73ad1e8'/>
<id>urn:sha1:8f10ee850db3892bc979694864451be3a73ad1e8</id>
<content type='text'>
JSON: Pass options to hooks in hello message

See merge request apt-team/apt!389</content>
</entry>
<entry>
<title>test: Prettify JSON tests using jq</title>
<updated>2024-11-12T13:39:22Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-11T12:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5685e944b0e9808d6f3edc9e14000c3879818ffc'/>
<id>urn:sha1:5685e944b0e9808d6f3edc9e14000c3879818ffc</id>
<content type='text'>
This also ensures that our JSON is actually correct
JSON.

echo may fail now with EPIPE, given that it is multiline, so
wrap it in 2&gt;/dev/null
</content>
</entry>
<entry>
<title>Only run valgrind in tests if valgrind available on host</title>
<updated>2024-11-11T14:14:07Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-11T14:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=df72264891212bc9846649f3f769a1c44fe787bf'/>
<id>urn:sha1:df72264891212bc9846649f3f769a1c44fe787bf</id>
<content type='text'>
</content>
</entry>
</feed>
