<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-private/private-sources.cc, branch 3.3.0</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=3.3.0</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=3.3.0'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-02-14T18:45:12Z</updated>
<entry>
<title>string{=&gt; _view} flNotDir(string{=&gt; _view}). Configuration::{Cnd,}Set(Value: string{=&gt; _view})</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=729a5c8f4fb8c841497d26170e1a47c41617ecd9'/>
<id>urn:sha1:729a5c8f4fb8c841497d26170e1a47c41617ecd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>edit-sources: don't force .list</title>
<updated>2025-02-07T19:57:10Z</updated>
<author>
<name>Christopher Bock</name>
<email>christopher@bocki.com</email>
</author>
<published>2025-02-06T18:08:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1df0230b388441245e96ce7b58bd2cad59d53511'/>
<id>urn:sha1:1df0230b388441245e96ce7b58bd2cad59d53511</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modernize-sources: Avoid opening /dev/stdout for simulate</title>
<updated>2025-02-04T15:15:17Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-04T15:14:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ddfb32fe72ec38f27e0fa2f012c43ade421bdbd8'/>
<id>urn:sha1:ddfb32fe72ec38f27e0fa2f012c43ade421bdbd8</id>
<content type='text'>
/dev/stdout may not exist, so let's instead just reference
the std::cout stream.

Reported-by: h01ger on IRC
</content>
</entry>
<entry>
<title>Also support debian-ports modernization</title>
<updated>2025-02-02T00:41:21Z</updated>
<author>
<name>Samuel Thibault</name>
<email>sthibault@debian.org</email>
</author>
<published>2025-02-02T00:37:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f9ff99d699209aa97ba788bad86a15313751c230'/>
<id>urn:sha1:f9ff99d699209aa97ba788bad86a15313751c230</id>
<content type='text'>
That just needs using '-' to replace spaces in Origin to get the keyring file name.
</content>
</entry>
<entry>
<title>apt: Introduce the modernize-sources command</title>
<updated>2025-01-28T18:47:00Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-01-27T14:51:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9d7a660611e9e134cd6d74a594bde59cad77c8d8'/>
<id>urn:sha1:9d7a660611e9e134cd6d74a594bde59cad77c8d8</id>
<content type='text'>
This handles rewriting .list entries to .sources ones; the
only options handled are

- signed-by =&gt; Signed-By
- trusted =&gt; Trusted

The options to specify architectures, check-valid-until, etc.
are not supported as they are not exposed in the code. We
probably should refactor the parser at some point so we can
actually read the parsed entry rather than the abstract objects
we create from it.

This can be improved further:

- Keyrings from /etc/apt/trusted.gpg.d should be moved to
  /etc/apt/keyrings.
- automatic detection by trying to verify using each keyring
  in trusted.gpg.d until we find the right one and then using
  that for Signed-By rather than leave some sources empty.
</content>
</entry>
<entry>
<title>Modernize standard library includes</title>
<updated>2024-02-20T12:49:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-02-20T12:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=40a75722c43ae24cb9a99d6730a3b25b65819c49'/>
<id>urn:sha1:40a75722c43ae24cb9a99d6730a3b25b65819c49</id>
<content type='text'>
This was automated with sed and git-clang-format, and then I had to
fix up the top of policy.cc by hand as git-clang-format accidentally
indented it by two spaces.
</content>
</entry>
<entry>
<title>Add 'explicit' to most single argument constructors</title>
<updated>2019-04-30T15:43:31Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-04-30T10:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b52c6552c44fcb997b0db9f5e9f17b4674dd5359'/>
<id>urn:sha1:b52c6552c44fcb997b0db9f5e9f17b4674dd5359</id>
<content type='text'>
This prevents implicit conversions that we do not want, such
as having a FileFd* being converted to a debListParser.

Two cases are not yet handled because they require changes
in code using them:

1. The classes in hashes.h
2. The URI class - this one is used quite a lot
</content>
</entry>
<entry>
<title>Add trailing newline to output of edit-sources.</title>
<updated>2018-07-01T04:10:08Z</updated>
<author>
<name>Jean-Ralph Aviles</name>
<email>jeanralph.aviles@gmail.com</email>
</author>
<published>2018-07-01T04:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8a6caaf869ea87ade6043169076bda04a0dc6cb6'/>
<id>urn:sha1:8a6caaf869ea87ade6043169076bda04a0dc6cb6</id>
<content type='text'>
Makes the console output cleaner.
</content>
</entry>
<entry>
<title>Reformat and sort all includes with clang-format</title>
<updated>2017-07-12T11:57:51Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2017-07-12T11:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=87274d0f22e1dfd99b2e5200e2fe75c1b804eac3'/>
<id>urn:sha1:87274d0f22e1dfd99b2e5200e2fe75c1b804eac3</id>
<content type='text'>
This makes it easier to see which headers includes what.

The changes were done by running

    git grep -l '#\s*include'  \
        | grep -E '.(cc|h)$' \
        | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/'

To modify all include lines by adding a space, and then running
./git-clang-format.sh.
</content>
</entry>
<entry>
<title>create non-existent files in edit-sources with 644 instead of 640</title>
<updated>2016-07-22T14:05:09Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-22T11:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=01047752b34486607665db99afffa595cb2d43ce'/>
<id>urn:sha1:01047752b34486607665db99afffa595cb2d43ce</id>
<content type='text'>
If the sources file we want to edit doesn't exist yet GetLock will
create it with 640, which for a generic lockfile might be okay, but as
this is a sources file more relaxed permissions are in order – and
actually required as it wont be readable for unprivileged users causing
warnings/errors in apt calls.

Reported-By: J. Theede (musca) on IRC
</content>
</entry>
</feed>
