Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: d55dbb8761f5daf945b899e95d0c2d2aeda5eb91
https://github.com/openSUSE/open-build-service/commit/d55dbb8761f5daf945b899...
Author: Stephan Kulow
Date: 2012-12-02 (Sun, 02 Dec 2012)
Changed paths:
M src/api/app/controllers/application_controller.rb
M src/api/app/controllers/source_controller.rb
M src/api/app/models/bs_request_action.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/test/functional/source_controller_test.rb
M src/backend/BSVerify.pm
Log Message:
-----------
[api] validate package name to be valid
the backend does only allow specific names and we don't want to notice
it when saving to the backend, but before that
In addition to that also make sure to run most things that put something
into the backend in a transaction. Having things in the database the
backend refused, can hurt us badly.