Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: f769b350be29e5b6b865fa9d8d68a74003ccfb9a
https://github.com/openSUSE/open-build-service/commit/f769b350be29e5b6b865fa...
Author: Björn Geuken
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M src/api/test/unit/project_test.rb
Log Message:
-----------
[ci] Add a test for Project#release_targets_ng
Commit: a868eb67854d45b71f9a966931d0fdcb8ece1592
https://github.com/openSUSE/open-build-service/commit/a868eb67854d45b71f9a96...
Author: Björn Geuken
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[api][webui] Cleanup Project#release_targets_ng
Packages that are patchinfos are getting skipped earlier on in this method.
Thus this code path can be removed.
Commit: ceec498818da5565abd6118ca640d2cfb1ebac6a
https://github.com/openSUSE/open-build-service/commit/ceec498818da5565abd611...
Author: Björn Geuken
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[api][webui] Remove dead code
Setting the rt_name name at that stage didn't have any effect since the
variable isn't used anymore. Unless found is true, which would cause the
removed code to be skipped... => dead code
Commit: 51cbac3d16403dd001e55f4e2a0fa0dfca9bfd32
https://github.com/openSUSE/open-build-service/commit/51cbac3d16403dd001e55f...
Author: Björn Geuken
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[api][webui] Move guessing of release_target into separate method
This should make the code more readable and easier to refactor. It also allows us
to break iterating over flags once we found a match.
Commit: 9380d4384a12a964b1929cba126eed4ddcd4f0f2
https://github.com/openSUSE/open-build-service/commit/9380d4384a12a964b1929c...
Author: Björn Geuken
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[api][webui] Improve performance of guess_release_target
This parses the data of release_targets_ng once and uses it in when iterating
through package flags. Previously OBS was searching through release_targets_ng
on each iteration.
Add documentation for guess_release_target method.
Commit: 7226cd99cd8596f5e909d2f2d0715b285542f48d
https://github.com/openSUSE/open-build-service/commit/7226cd99cd8596f5e909d2...
Author: Björn Geuken
Date: 2016-01-12 (Tue, 12 Jan 2016)
Changed paths:
M src/api/app/models/project.rb
M src/api/test/unit/project_test.rb
Log Message:
-----------
Merge pull request #1448 from bgeuken/release_targets_ng
[api][webui] Cleanup Project#release_targets_ng
Compare: https://github.com/openSUSE/open-build-service/compare/5b07dabec042...7226cd...