Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 17d937877e917b2a3d4bb6ba1167897ccc5b3d68
https://github.com/openSUSE/open-build-service/commit/17d937877e917b2a3d4bb6...
Author: chrisbr
Date: 2015-09-09 (Wed, 09 Sep 2015)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/models/project.rb
M src/api/config/boot.rb
M src/api/test/unit/project_test.rb
Log Message:
-----------
[api] Add wrapper method for update_from_xml
This commit implements a wrapper method for project update_from_xml which doesn't raise an exception.
Instead it'll return a hash with the error message from the exception.
Furthermore it renames the old update_from_xml to update_from_xml! which still raises exceptions.
Commit: f1735ebb234bf9d214172717bcfd255626fdd4c1
https://github.com/openSUSE/open-build-service/commit/f1735ebb234bf9d2141727...
Author: Björn Geuken
Date: 2015-09-09 (Wed, 09 Sep 2015)
Changed paths:
M src/api/app/controllers/source_controller.rb
M src/api/app/models/project.rb
M src/api/test/unit/project_test.rb
Log Message:
-----------
Merge pull request #1108 from ChrisBr/prj_update_from_xml
Add wrapper method for project update_from_xml
Compare: https://github.com/openSUSE/open-build-service/compare/ced3ce8ffb8a...f1735e...