Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 6e901471b3e0456921d27dd61faa0796d7fb3f3e
https://github.com/openSUSE/open-build-service/commit/6e901471b3e0456921d27d...
Author: Stephan Kulow
Date: 2012-04-25 (Wed, 25 Apr 2012)
Changed paths:
M dist/ci/obs_testsuite_all.sh
M docs/api/api/request.xsd
M src/activexml/node.rb
M src/api/app/controllers/application_controller.rb
M src/api/app/controllers/attribute_controller.rb
M src/api/app/controllers/request_controller.rb
M src/api/app/controllers/search_controller.rb
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/status_controller.rb
M src/api/app/helpers/maintenance_helper.rb
M src/api/app/models/bs_request.rb
A src/api/app/models/bs_request_action.rb
A src/api/app/models/bs_request_action_accept_info.rb
A src/api/app/models/bs_request_history.rb
M src/api/app/models/db_package.rb
M src/api/app/models/db_project.rb
A src/api/app/models/review.rb
M src/api/app/models/user.rb
M src/api/config/initializers/activexml.rb
A src/api/config/initializers/valid_states.rb
M src/api/config/routes.rb
A src/api/db/migrate/20120418121859_create_bs_requests.rb
A src/api/db/migrate/20120424141421_import_requests.rb
M src/api/db/structure.sql
M src/api/lib/xpath_engine.rb
M src/api/script/start_test_backend
R src/api/test/fixtures/backend/request/missing_projects
R src/api/test/fixtures/backend/request/missing_source_project
R src/api/test/fixtures/backend/request/missing_target_project
R src/api/test/fixtures/backend/request/submit_from_home_project
A src/api/test/fixtures/bs_request_action_accept_infos.yml
A src/api/test/fixtures/bs_request_actions.yml
A src/api/test/fixtures/bs_request_histories.yml
A src/api/test/fixtures/bs_requests.yml
A src/api/test/fixtures/reviews.yml
M src/api/test/functional/request_controller_test.rb
M src/api/test/functional/search_controller_test.rb
M src/api/test/test_helper.rb
A src/api/test/unit/bs_request_test.rb
R src/api/test/unit/configuration_test.rb
M src/api/test/unit/db_package_test.rb
R src/api/test/unit/issue_tracker_test.rb
R src/api/test/unit/wizard_form_test.rb
R src/api/test/unit/wizard_state_test.rb
M src/webui/test/functional/project_controller_test.rb
Log Message:
-----------
[api] import the requests into the API database
This is a rather huge change and didn't happen overnight. But now the
requests are stored just like the packages and projects within the
same database and the XML is only rendered on request.
The informations of the requests are stored as strings, not as foreign keys
because we delete projects and packages in the database, but (so far) leave
requests for them around.
This is not so bad actually as the database indexes work well enough on such
small strings