Branch: refs/heads/remote-distributions
Home: https://github.com/openSUSE/open-build-service
Commit: 701590921a2bc6e3cb23beefa818403c9c02c4b9
https://github.com/openSUSE/open-build-service/commit/701590921a2bc6e3cb23be...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M src/api/Gemfile
M src/api/Gemfile.lock
M src/api/app/controllers/distributions_controller.rb
M src/api/app/models/distribution.rb
M src/api/app/views/distributions/index.xml.builder
M src/api/config/routes.rb
M src/api/test/functional/distributions_controller_test.rb
M src/api/test/test_helper.rb
M src/webui/config/initializers/activexml.rb
Log Message:
-----------
[api] some fixes for the distributions loading
- use webmock to stub out the remote loading instead of hardcoding test
code in models
- split the include_remotes in an extra route
- do not make a huge if split in the view but convert the models into
hash and always render hashes
- change the webui to load the combined XML
- some refactoring in the model
Commit: 021f12cf80257c634fdf23d696acaf4786370648
https://github.com/openSUSE/open-build-service/commit/021f12cf80257c634fdf23...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M docs/api/api/api.txt
Log Message:
-----------
[dist] small corrections to the /distributions API docu
Commit: 327a8125f4cf6aa447ad58675821de5705d8b8d9
https://github.com/openSUSE/open-build-service/commit/327a8125f4cf6aa447ad58...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M src/activexml/transport.rb
M src/webui/app/controllers/home_controller.rb
Log Message:
-----------
[webui] move gravatar loading into activexml::transport
all http stuff is in there and we can make use of proxy handling
elsewhere too
Commit: 2cbaf2c360368c6edfef8c63629721865c6aa325
https://github.com/openSUSE/open-build-service/commit/2cbaf2c360368c6edfef8c...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M src/api/app/models/distribution.rb
M src/api/test/functional/distributions_controller_test.rb
Log Message:
-----------
[api] use ActiveXML::Transport for loading remote urls
This way we can simply ignore remote instances that are unavailable
Commit: f1bdfca931aeffbcbd3caac39f0c0c93eea50303
https://github.com/openSUSE/open-build-service/commit/f1bdfca931aeffbcbd3caa...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M src/api/test/fixtures/distribution_icons.yml
M src/api/test/fixtures/distribution_icons_distributions.yml
M src/api/test/fixtures/distributions.yml
M src/api/test/functional/distributions_controller_test.rb
Log Message:
-----------
[api] we're not supposed to have interconnected distributions
So invent some local distribution only
Commit: 164f9ecc973c91caa14b8cb08d7a3882786d9b6b
https://github.com/openSUSE/open-build-service/commit/164f9ecc973c91caa14b8c...
Author: Stephan Kulow
Date: 2012-12-20 (Thu, 20 Dec 2012)
Changed paths:
M src/api/app/models/distribution.rb
M src/api/config/environments/test.rb
M src/api/script/start_test_backend
M src/api/test/test_helper.rb
Log Message:
-----------
[api] do not forbid to connect to the backend
Compare: https://github.com/openSUSE/open-build-service/compare/30bed45156ff...164f9e...