Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 4f62b2e474245080d4a01651dc2f8cc9679f4654
https://github.com/openSUSE/open-build-service/commit/4f62b2e474245080d4a016...
Author: Saray Cabrera Padrón
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
M src/api/app/models/token/errors.rb
M src/api/app/validators/workflow_steps_validator.rb
M src/api/spec/models/workflow_spec.rb
Log Message:
-----------
Set errors instead of exceptions in WorkflowStepsValidator
Set validation errors, so the user can know all the non-valid
attributes.
Also improve error messages and adapt specs.
Commit: bee67402282d60579a4f35c348cb392f5d840be3
https://github.com/openSUSE/open-build-service/commit/bee67402282d60579a4f35...
Author: Saray Cabrera Padrón
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
R src/api/app/models/workflow/errors.rb
M src/api/app/validators/workflow_filters_validator.rb
M src/api/spec/models/workflow_spec.rb
Log Message:
-----------
Set errors instead of exceptions in WorkflowFiltersValidator
Set validation errors, so the user can know all the non-valid
attributes.
Also improve error messages and adapt specs.
Commit: f7e75f4a4ba9cba256d8858045029fb07ab7a2e6
https://github.com/openSUSE/open-build-service/commit/f7e75f4a4ba9cba256d885...
Author: Saray Cabrera Padrón
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
M src/api/spec/models/token/workflow_spec.rb
Log Message:
-----------
Remove unnecessary test about invalid Workflow
When a workflow is invalid we no longer raise an error but simply ignore
it. The code does not loop over workflows that are invalid.
Commit: dbdbc7be00c71dda312fd839769c49bed3e8b812
https://github.com/openSUSE/open-build-service/commit/dbdbc7be00c71dda312fd8...
Author: Saray Cabrera Padrón
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
M src/api/spec/models/workflow_spec.rb
Log Message:
-----------
Test the combination of errors from different validators
Commit: 0b4d06727fa454c14dab507188b9b68e45552eef
https://github.com/openSUSE/open-build-service/commit/0b4d06727fa454c14dab50...
Author: Victor Pereira
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
M src/api/app/models/token/errors.rb
R src/api/app/models/workflow/errors.rb
M src/api/app/validators/workflow_filters_validator.rb
M src/api/app/validators/workflow_steps_validator.rb
M src/api/spec/models/token/workflow_spec.rb
M src/api/spec/models/workflow_spec.rb
Log Message:
-----------
Merge pull request #11599 from saraycp/replace_exceptions_by_errors
Replace exceptions by errors
Compare: https://github.com/openSUSE/open-build-service/compare/2acf05492569...0b4d06...