Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 83f8596d8b59332cdf37badc51344268be4554a7
https://github.com/openSUSE/open-build-service/commit/83f8596d8b59332cdf37ba...
Author: Björn Geuken
Date: 2016-05-31 (Tue, 31 May 2016)
Changed paths:
M src/api/test/functional/source_controller_test.rb
Log Message:
-----------
[ci] Fix flag related test
expand_flags requires a reload to get fresh data from the DB.
Commit: 817af11c0f7adc1efbb6a183c410b9d21e974eed
https://github.com/openSUSE/open-build-service/commit/817af11c0f7adc1efbb6a1...
Author: Björn Geuken
Date: 2016-05-31 (Tue, 31 May 2016)
Changed paths:
M src/api/app/helpers/flag_helper.rb
M src/api/app/models/flag.rb
M src/api/app/models/project.rb
M src/api/app/views/models/_package.xml.builder
M src/api/app/views/models/_project.xml.builder
M src/api/test/unit/build_flag_test.rb
M src/api/test/unit/debug_flag_test.rb
M src/api/test/unit/package_test.rb
M src/api/test/unit/project_test.rb
M src/api/test/unit/publish_flag_test.rb
Log Message:
-----------
[api][webui] Replace flag helper by scope
Commit: c18e66e298886f762ed1008c92a2683c23eac66d
https://github.com/openSUSE/open-build-service/commit/c18e66e298886f762ed100...
Author: Björn Geuken
Date: 2016-05-31 (Tue, 31 May 2016)
Changed paths:
M src/api/app/helpers/flag_helper.rb
Log Message:
-----------
[api][webui] Refactor creation of flags array
Commit: 22c760ff80a34abbf81c130fe82413f5a4bd4ede
https://github.com/openSUSE/open-build-service/commit/22c760ff80a34abbf81c13...
Author: Björn Geuken
Date: 2016-05-31 (Tue, 31 May 2016)
Changed paths:
M src/api/app/helpers/flag_helper.rb
Log Message:
-----------
[api][webui] Refactor find_flag_state method
Instead of looping through all flag statuses and resetting status in
each loop, we can just take the status of the last flag we found.
Commit: 1fd79e242e6c5960fae464cfb0e32188fa26ccc7
https://github.com/openSUSE/open-build-service/commit/1fd79e242e6c5960fae464...
Author: Björn Geuken
Date: 2016-05-31 (Tue, 31 May 2016)
Changed paths:
M src/api/app/helpers/flag_helper.rb
Log Message:
-----------
[webui][api] Further refactor FlagHelper#find_flag_state
* Use sort_by instead of sort
* Condense code for finding the last flag and it's status
Commit: 5e5ac260fcc3df7a8832003bc65f11e41f59cf84
https://github.com/openSUSE/open-build-service/commit/5e5ac260fcc3df7a883200...
Author: Henne Vogelsang
Date: 2016-06-07 (Tue, 07 Jun 2016)
Changed paths:
M src/api/app/helpers/flag_helper.rb
M src/api/app/models/flag.rb
M src/api/app/models/project.rb
M src/api/app/views/models/_package.xml.builder
M src/api/app/views/models/_project.xml.builder
M src/api/test/functional/source_controller_test.rb
M src/api/test/unit/build_flag_test.rb
M src/api/test/unit/debug_flag_test.rb
M src/api/test/unit/package_test.rb
M src/api/test/unit/project_test.rb
M src/api/test/unit/publish_flag_test.rb
Log Message:
-----------
Merge pull request #1842 from bgeuken/fun_with_flags
Fun with flags
Compare: https://github.com/openSUSE/open-build-service/compare/74d562ac60a1...5e5ac2...