lp:~racb/simplestreams/optimise-read_signed
- Get this branch:
- bzr branch lp:~racb/simplestreams/optimise-read_signed
Branch merges
- simplestreams-dev: Pending requested
-
Diff: 27 lines (+5/-4)1 file modifiedsimplestreams/util.py (+5/-4)
Related bugs
Bug #1580534: Signature verification is too slow | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 430. By Robie Basak
-
Optimise read_signed
Use join instead of iteratively "appending" to a string. In my use case,
this reduces signature check time from over 400 seconds to almost a
tenth of a second. - 429. By Scott Moser
-
set a default user-agent
Follow on to the custom user agent merge by adding a default user agent.
- 428. By Scott Moser
-
glance mirror: do not require that hypervisor_config be present
This just allows for hypervisor_config to not be present.
- 427. By Scott Moser
-
Add user-agent support
This adds user-agent support. The library user may want to
provide a specific user agent when querying a remote mirror.Because of the code structure, there's some not-very-nice code in here, mainly
the use of url_reader_factory function, but without knowing what parts of
simplestreams API we want to keep backward compatible, I refrained from
changing anything of the existing code too much.There are tests for all the new code, and for some of the old code that was
untested. - 426. By Scott Moser
-
Switch to using virt key for hypervisor type in stream data.
In order to be consistent with other stream data that uses the
'virt' tag name (such as aws) the glance mirror should translate the
underlying hypervisor_type for the glance image into an appropriate 'virt'
value for the cloud.Also, change the following virt types
lxc -> lxd
qemu -> kvm - 425. By Ben Howard
-
Set product aliases without modifying release data dictionary
In r424 we added support for aliases. With that code it is possible
that the daily devel products will lack the intended 'devel' alias.Aliases for a release/arch are set from toolutil.
REL2VER[ release] and
if the stream is not daily the 'devel' item in the list of aliases is
removed, however the code from that commit accidentally removed 'devel'
from the source dictionary rather than creating a local copy first.
If the devel release is evaluated before the devel daily then the 'devel'
alias will not be present in the dictionary.This patch will copy the aliases from the release dictionary and
modify the copy for the product being indexed. - 423. By Scott Moser
-
Enable better support for multi-hypervisor regions in OpenStack
1) Determine correct disk format.
2) Set hypervisor_type on images based on ftype field. - 422. By Scott Moser
-
dump_data: dump json data with sorted keys
make dump_data use sorted keys for dictionaries.
The desire is to reduce differences in output that would otherwise
be the same. - 421. By Scott Moser
-
tools/make-
test-data: Fix missing lxc/lxd files for ppc64el builds. We had a whitelist on ppc64el ever since the first ppc64el builds.
Removing that whitelist means we will now get correct file information
for all ppc64el builds.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:simplestreams