[obs-commits] [openSUSE/open-build-service] 0bc618: Extract method Package.verify_file! to a set of Se...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0bc6180c05ca176d0d036a6e91b0c3e394b06757 https://github.com/openSUSE/open-build-service/commit/0bc6180c05ca176d0d036a... Author: Victor Pereira <vpereira@suse.de> Date: 2020-05-25 (Mon, 25 May 2020) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/app/models/package.rb A src/api/app/services/package_service/file_verifier.rb A src/api/app/services/package_service/link_verifier.rb A src/api/app/services/package_service/schema_verifier.rb A src/api/spec/services/package_service/file_verifier_spec.rb A src/api/spec/services/package_service/schema_verifier_spec.rb Log Message: ----------- Extract method Package.verify_file! to a set of Services We split this method in a set of services: - FileVerifier - LinkVerifier - SchemaVerifier Commit: 6ca2dfdcfdff5617a0801d0a0a69e8ff45a1ea72 https://github.com/openSUSE/open-build-service/commit/6ca2dfdcfdff5617a0801d... Author: Victor Pereira <vpereira@suse.de> Date: 2020-05-25 (Mon, 25 May 2020) Changed paths: M src/api/app/services/package_service/schema_verifier.rb Log Message: ----------- Validate all possible schemas in one step Before we repeated the schema validation call just chaging one parameter if file_name was "_pattern". This commit merge both calls in one Commit: 3dca262e022c36f3eb9cad0ed824e88f071cfcae https://github.com/openSUSE/open-build-service/commit/3dca262e022c36f3eb9cad... Author: Victor Pereira <vpereira@suse.de> Date: 2020-05-25 (Mon, 25 May 2020) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/app/models/package.rb A src/api/app/services/package_service/file_verifier.rb A src/api/app/services/package_service/link_verifier.rb A src/api/app/services/package_service/schema_verifier.rb A src/api/spec/services/package_service/file_verifier_spec.rb A src/api/spec/services/package_service/schema_verifier_spec.rb Log Message: ----------- Merge pull request #9587 from vpereira/verify_file Extract method Package.verify_file! to a set of Services Compare: https://github.com/openSUSE/open-build-service/compare/05d335d1c172...3dca26...
participants (1)
-
Victor Pereira