Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2cd6b6d5b2e0d25848861958dbd2edcbc01ed0a5
https://github.com/openSUSE/open-build-service/commit/2cd6b6d5b2e0d258488619...
Author: Björn Geuken
Date: 2015-11-26 (Thu, 26 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
[webui] Fix 500 error when looking for a build log of a non existant project
We had 2 uncatched exceptions in the live_build_log action: Project::UnknownObjectError and
Package::UnknownObjectError. With this commit we will catch those errors and show a flash
error instead.
Related errbit error:
https://errbit-opensuse.herokuapp.com/apps/5620ca2bdc71fa00b1000000/problems...
Commit: 66595e6617e67db3b4f9406fb6401692ef7b5e6c
https://github.com/openSUSE/open-build-service/commit/66595e6617e67db3b4f940...
Author: Björn Geuken
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[webui][api] project model: Cleanup get_by_name, find_by_name, exists_by_name
All 3 methods use the same kind of db queries. Thus it make sense to sync them.
Commit: 2feb52f3f1b6b4688a3809bbbf2d68d9ce504891
https://github.com/openSUSE/open-build-service/commit/2feb52f3f1b6b4688a3809...
Author: Björn Geuken
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[webui][api] project model: Move querying of projects to find_by_name and let get_by_name and exists_by_name rely on it
Commit: 5c8e56cc40fcfc5ac0c4774b12be3d7f6b0dcc1d
https://github.com/openSUSE/open-build-service/commit/5c8e56cc40fcfc5ac0c477...
Author: Björn Geuken
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
Log Message:
-----------
[webui] Query project existance upfront instead of catching possible exceptoins
Commit: b5da044402e2dc8688297fb1fe20a406858f40f2
https://github.com/openSUSE/open-build-service/commit/b5da044402e2dc8688297f...
Author: Björn Geuken
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M src/api/app/models/project.rb
Log Message:
-----------
[webui] Fix indentation
Commit: 9043ba98c086c9b2704479fd9c502dfaba9081e1
https://github.com/openSUSE/open-build-service/commit/9043ba98c086c9b2704479...
Author: Adrian Schröter
Date: 2015-11-27 (Fri, 27 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/models/project.rb
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
Merge pull request #1397 from bgeuken/live_log_issue
Fix live log 500 error and some code cleanup
Compare: https://github.com/openSUSE/open-build-service/compare/c419ce20b7c8...9043ba...