24 Jul
2013
24 Jul
'13
05:59
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 573b7a3b927a44a3f698cfc1be2e822d16ed8441 https://github.com/openSUSE/open-build-service/commit/573b7a3b927a44a3f698cf... Author: Stephan Kulow <coolo@suse.de> Date: 2013-07-23 (Tue, 23 Jul 2013) Changed paths: M src/api/app/helpers/validation_helper.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/test/functional/source_controller_test.rb Log Message: ----------- [api] get rid of code duplication There is no point in having 2 places to valid package and project names (that even work differently) - leave alone the fact that the backend and the webui have similiar code ;(