<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/integration/test-apt-ftparchive, branch master</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=master</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2017-08-04T11:06:10Z</updated>
<entry>
<title>ftparchive: sort discovered filenames before writing indexes</title>
<updated>2017-08-04T11:06:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2017-07-28T16:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d108e019d3ca74c31a1ab646ddef5c60744a5e7d'/>
<id>urn:sha1:d108e019d3ca74c31a1ab646ddef5c60744a5e7d</id>
<content type='text'>
If 'apt-ftparchive packages /path/to/files/' (or sources) is used the
files to include in the generated index (on stdout) were included in the
order in which they were discovered, which isn't a very stable order
which could lead to indexes changing without actually changing content
causing needless changes in the repository changing hashsums, pdiffs,
rsyncs, downloads, ….

This does not effect apt-ftparchive calls which already have an order
defined via a filelist (like generate) which will still print in the
order given by the filelist.

Note that a similar effect can be achieved by post-processing index
files with apt-sortpkgs.

Closes: 869557
Thanks: Chris Lamb for initial patch &amp; Stefan Lippers-Hollmann for testing
</content>
</entry>
</feed>
