Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 125c7b85ce9ae5671203c67a5f9bbba82aaa01eb https://github.com/openSUSE/open-build-service/commit/125c7b85ce9ae5671203c6... Author: Adrian Schröter <adrian@suse.de> Date: 2014-11-07 (Fri, 07 Nov 2014) Changed paths: M src/api/app/controllers/attribute_controller.rb M src/api/app/controllers/search_controller.rb M src/api/app/controllers/source_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/helpers/branch_package.rb M src/api/app/jobs/project_create_auto_cleanup_requests.rb M src/api/app/mixins/has_attributes.rb M src/api/app/models/attrib.rb M src/api/app/models/attrib_type.rb M src/api/app/models/bs_request.rb M src/api/app/models/bs_request_action_maintenance_incident.rb M src/api/app/models/owner.rb M src/api/app/models/user.rb M src/api/db/attribute_descriptions.rb A src/api/db/migrate/20141107135426_embargo_attribute.rb M src/api/db/seeds.rb M src/api/db/structure.sql M src/api/test/fixtures/attrib_types.yml M src/api/test/functional/attributes_test.rb M src/api/test/functional/maintenance_test.rb M src/api/test/functional/search_controller_test.rb M src/api/test/unit/code_quality_test.rb Log Message: ----------- [api] Support embargo of projects (#316776) * In first place intended for maintenance incidents, but it works with any project. Setting attribute OBS:EmbargoDate in the project still allows to create requests using it as source, but blocks accepting them. * a little bit of attribute type handling refactoring