[obs-commits] [openSUSE/open-build-service] 629dbf: [activexml] make activexml more robust with capyba...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 629dbf0636f4a2bb7e194be2dfff4ccced214527 https://github.com/openSUSE/open-build-service/commit/629dbf0636f4a2bb7e194b... Author: Stephan Kulow <coolo@suse.de> Date: 2012-11-25 (Sun, 25 Nov 2012) Changed paths: M src/activexml/node.rb M src/activexml/transport.rb Log Message: ----------- [activexml] make activexml more robust with capybara The problem is that capybara runs the webui in a thread and selenium in another. This leads to the problem that our libraries are tested for thread safety - which they are not. So the work around is adding a mutex, but this only makes sure http_do calls happen in one thread only. But the real fix is a change in the API as everything accesses the global transport object and sets headers and then assumes the next http_do call will use that headers - which is only true if there is only one thread. But having multiple threads in the test suite sounds like something we want to have Commit: 6edecf459a28c406675bfe68034eef7a226cea62 https://github.com/openSUSE/open-build-service/commit/6edecf459a28c406675bfe... Author: Stephan Kulow <coolo@suse.de> Date: 2012-11-25 (Sun, 25 Nov 2012) Changed paths: M src/api/app/controllers/webui_controller.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/config/routes.rb Log Message: ----------- [api] add a webui/change_role route to the API This avoids having to patching XML for a very defined purpose: adding/removing users/groups from projects/packages. to avoid having 8 routes, I added one change_role route Commit: 3c56da8fd6f3d1446746b4378ed8a29b7f59e05d https://github.com/openSUSE/open-build-service/commit/3c56da8fd6f3d1446746b4... Author: Stephan Kulow <coolo@suse.de> Date: 2012-11-25 (Sun, 25 Nov 2012) Changed paths: M .travis.yml Log Message: ----------- [dist] remove irc notifications this is just spam as it affects all forked repos Compare: https://github.com/openSUSE/open-build-service/compare/ac986ce4da2d...3c56da...
participants (1)
-
Stephan Kulow