<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/srvrec.h, 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>2021-11-22T12:09:02Z</updated>
<entry>
<title>apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h</title>
<updated>2021-11-22T12:09:02Z</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2020-05-22T15:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=81fb78edaad8d3bc9ba18e2c5203e60af99a5a95'/>
<id>urn:sha1:81fb78edaad8d3bc9ba18e2c5203e60af99a5a95</id>
<content type='text'>
This avoids type errors with musl C library.
</content>
</entry>
<entry>
<title>apt-pkg: default visibility to hidden</title>
<updated>2020-02-26T19:34:54Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-08-13T17:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=db678df196ccd8f9f6fb336706cf5701d1e53aa6'/>
<id>urn:sha1:db678df196ccd8f9f6fb336706cf5701d1e53aa6</id>
<content type='text'>
</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>srvrec: Do not expose C++11 tuple use in header</title>
<updated>2015-10-30T13:44:52Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-10-30T13:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3129bd50d30dad985764436f147ad44bc54f2005'/>
<id>urn:sha1:3129bd50d30dad985764436f147ad44bc54f2005</id>
<content type='text'>
This makes non-C++11 reverse deps wishing to use it FTBFS.
</content>
</entry>
<entry>
<title>srv test: do 100 pulls twice and compare list</title>
<updated>2015-09-14T13:22:18Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-11T23:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9bfb1136abfd58e48545304507dedceb2fe87a36'/>
<id>urn:sha1:9bfb1136abfd58e48545304507dedceb2fe87a36</id>
<content type='text'>
The previous implementation was still a bit unstable in terms of failing
at times. Lets try if we have more luck with this one.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>use clock() as source for SRV randomness</title>
<updated>2015-09-01T17:01:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-01T16:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=76abe9a5aad69eb7e67295588c6825cdae0341af'/>
<id>urn:sha1:76abe9a5aad69eb7e67295588c6825cdae0341af</id>
<content type='text'>
Initializing a random number generator with the time since epoch could
be good enough, but reaches its limits in test code as the 100
iterations might very well happen in the same second and hence the seed
number is always the same… clock() has a way lower resolution so it
changes more often and not unimportant: If many users start the update
at the same time it isn't to unlikely the SRV record will be ordered in
the same second choosing the same for them all, but it seems less likely
that the exact same clock() time has passed for them.

And if I have to touch this, lets change a few other things as well to
make me and/or compilers a bit happier (clang complained about the usage
of a GNU extension in the testcase for example).
</content>
</entry>
<entry>
<title>Add basic (non weight adjusted) shuffling for SrvRecords selection</title>
<updated>2015-08-20T09:41:51Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2015-08-20T08:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c29dbdffcb6f67812f823f1f844b87320cf6b437'/>
<id>urn:sha1:c29dbdffcb6f67812f823f1f844b87320cf6b437</id>
<content type='text'>
Also add "Debug::Acquire::SrvRecs" debug option and the option
"Acquire::EnableSrvRecods" to allow disabling this lookup.
</content>
</entry>
<entry>
<title>cleanup</title>
<updated>2015-08-18T13:41:02Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2015-08-18T13:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cdeb54d4626ddc841d8898a8283084a8de3b25ee'/>
<id>urn:sha1:cdeb54d4626ddc841d8898a8283084a8de3b25ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WIP start randomizing</title>
<updated>2014-05-23T15:24:17Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-05-23T15:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e5f34ad3b043abf033c1626eb8449b75955d6760'/>
<id>urn:sha1:e5f34ad3b043abf033c1626eb8449b75955d6760</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WIP make connect use GetSrvRecords</title>
<updated>2014-05-22T06:55:14Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-05-22T06:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a01695e82cfbfa6e296c66879c1e41802d3ea413'/>
<id>urn:sha1:a01695e82cfbfa6e296c66879c1e41802d3ea413</id>
<content type='text'>
</content>
</entry>
</feed>
