diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-06-15 13:16:43 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-06-15 23:34:05 +0200 |
commit | 08ea7806458de0995414eaae852e0a5985875642 (patch) | |
tree | 97ac4a9db80bff757d94666df4db429fbf39cbbe /test/integration/test-sourceslist-trusted-options | |
parent | 9f697f69cf1adaced476598cfe08ab03c76c5d18 (diff) |
deal better with acquiring the same URI multiple times
This is an unlikely event for indexes and co, but it can happen quiet
easily e.g. for changelogs where you want to get the changelogs for
multiple binary package(version)s which happen to all be built from a
single source.
The interesting part is that the Acquire system actually detected this
already and set the item requesting the URI again to StatDone - expect
that this is hardly sufficient: an Item must be Complete=true as well
to be considered truely done and that is only the tip of the ::Done
handling iceberg. So instead of this StatDone hack we allow QItems to be
owned by multiple items and notify all owners about everything now,
so that for the point of each item they got it downloaded just for them.
Diffstat (limited to 'test/integration/test-sourceslist-trusted-options')
0 files changed, 0 insertions, 0 deletions