<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt, branch 2.9.18</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.9.18</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.9.18'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2024-12-19T17:48:03Z</updated>
<entry>
<title>Release 2.9.18</title>
<updated>2024-12-19T17:48:03Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-19T17:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=63b9f4cd5307a1c22dd0001a1f7251ab2950f33e'/>
<id>urn:sha1:63b9f4cd5307a1c22dd0001a1f7251ab2950f33e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>apt show: Add pinning information for --full</title>
<updated>2024-12-19T17:24:37Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-10-29T13:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=71727c2a761889855b3c1aaf4243649e98032f67'/>
<id>urn:sha1:71727c2a761889855b3c1aaf4243649e98032f67</id>
<content type='text'>
Add new fields `APT-Pin`, `APT-Candidate`, and `APT-Release` to the
output, same as in EDSP (limited to one release for now).
</content>
</entry>
<entry>
<title>Be more strict about which PAGER to execvp() directly</title>
<updated>2024-12-19T16:56:49Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-12-19T16:49:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f6198e45b4cd924f390f977077d96b4545da0c91'/>
<id>urn:sha1:f6198e45b4cd924f390f977077d96b4545da0c91</id>
<content type='text'>
There could be | or ; or other stuff in PAGER that needs
special handling, let's encode a list of known-good characters
instead. This covers all known pagers.

You could also try to execvp() PAGER in its entirety and if
it fails with ENOENT fall back to the shell but then you
don't get correct error handling if the pager really doesn't
exist (in which case we should abort trying to page).
</content>
</entry>
<entry>
<title>Merge branch 'pager' into 'main'</title>
<updated>2024-12-19T13:12:35Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-19T13:12:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b1cb2d37d015579d208bb79f6c4977e20fde12a5'/>
<id>urn:sha1:b1cb2d37d015579d208bb79f6c4977e20fde12a5</id>
<content type='text'>
Introduce automatic pager for read commands

See merge request apt-team/apt!410</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>gpgv: Extract VerifyDetachedSignatureFile()</title>
<updated>2024-12-17T18:21:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-17T18:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f54a561bc81d1bcbce6a107ad535f0c6d6e88d38'/>
<id>urn:sha1:f54a561bc81d1bcbce6a107ad535f0c6d6e88d38</id>
<content type='text'>
This is a pretty standalone function, extract it for later
reuse.
</content>
</entry>
<entry>
<title>Fix out-of-bounds read in `apt show :`</title>
<updated>2024-12-16T12:15:28Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-16T12:15:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=19000fab15ab0b30c95a1bf6e034aa3c6bdc36cb'/>
<id>urn:sha1:19000fab15ab0b30c95a1bf6e034aa3c6bdc36cb</id>
<content type='text'>
We tried to access str.size() - 1 on a 0-sized string, which
does not work, and now that we build with assertions triggers
it.

Closes: #1090068
</content>
</entry>
<entry>
<title>Release 2.9.17</title>
<updated>2024-12-07T16:14:35Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-07T16:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=93325e6c0eedfa16246f7ec0498ed6b3e4c6f553'/>
<id>urn:sha1:93325e6c0eedfa16246f7ec0498ed6b3e4c6f553</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'bye-apt-key' into 'main'</title>
<updated>2024-12-07T16:09:10Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-07T16:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4063d96cdd9df79e1ca25410be30571d57296779'/>
<id>urn:sha1:4063d96cdd9df79e1ca25410be30571d57296779</id>
<content type='text'>
Stop using apt-key for verification and move apt-key to test/

See merge request apt-team/apt!406</content>
</entry>
<entry>
<title>methods/gpgv: Remove apt-key mentions</title>
<updated>2024-12-07T14:14:34Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-12-07T14:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2bb8a2c71c12063e52220c3a3839e063f11a319d'/>
<id>urn:sha1:2bb8a2c71c12063e52220c3a3839e063f11a319d</id>
<content type='text'>
</content>
</entry>
</feed>
