Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 1e277a6090b07fbcf571c8f302a51589b76b01c1
https://github.com/openSUSE/open-build-service/commit/1e277a6090b07fbcf571c8...
Author: Ana María Martínez Gómez
Date: 2017-11-07 (Tue, 07 Nov 2017)
Changed paths:
M src/api/lib/backend/api/build_results/binaries.rb
M src/api/spec/models/kiwi/image_spec.rb
Log Message:
-----------
[api] Fix transform_binary_packages_response
There is a bug in
Backend::Api::BuildResults::Binaries#transform_binary_packages_response
As we modified the architectures variable in the each we are adding
the architectures of every package in the following ones as well.
There was a test, that was wrong.
Commit: a90ed46694f8d8ef2c1d422abf5c183b47a6ddaf
https://github.com/openSUSE/open-build-service/commit/a90ed46694f8d8ef2c1d42...
Author: Ana María Martínez Gómez
Date: 2017-11-07 (Tue, 07 Nov 2017)
Changed paths:
M src/api/lib/backend/api/build_results/binaries.rb
Log Message:
-----------
[api] Refactor transform_binary_packages_response
Refactor the `Binaries#transform_binary_packages_response` method:
- Use hash default instead of checking if the element exists in the
hash.
- Rename variables.
Compare: https://github.com/openSUSE/open-build-service/compare/666945303396...a90ed4...