[obs-commits] [openSUSE/open-build-service] dd5539: Add missing constraints in staging workflow routes

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: dd5539392b8aded2ea2fae1095ed16d06f1c00cf https://github.com/openSUSE/open-build-service/commit/dd5539392b8aded2ea2fae... Author: Eduardo Navarro <enavarro@suse.com> Date: 2019-09-30 (Mon, 30 Sep 2019) Changed paths: M src/api/config/routes/api_routes.rb M src/api/config/routes/routes_helper.rb Log Message: ----------- Add missing constraints in staging workflow routes Fixes #8473. Co-authored-by: David Kang <dkang@suse.com> Commit: a3f247e87784185d8782a3cb7ca489519ae3e16f https://github.com/openSUSE/open-build-service/commit/a3f247e87784185d8782a3... Author: Eduardo Navarro <enavarro@suse.com> Date: 2019-09-30 (Mon, 30 Sep 2019) Changed paths: M src/api/app/controllers/staging/staging_projects_controller.rb M src/api/config/routes/api_routes.rb M src/api/spec/controllers/staging/staging_projects_controller_spec.rb Log Message: ----------- Use staging_project_name instead of name In the show route of staging_projects it was used `name` as the parameter `name` of a staging_project. We change it to `staging_project_name` for clarity, and because it is used this way in the rest of the routes. Tests were also updated, as change of the review statuses require a user to be logged. Co-authored-by: David Kang <dkang@suse.com> Commit: 6645d461a872e8f3d49503ae14b17f6a4763536f https://github.com/openSUSE/open-build-service/commit/6645d461a872e8f3d49503... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2019-09-30 (Mon, 30 Sep 2019) Changed paths: M src/api/app/controllers/staging/staging_projects_controller.rb M src/api/config/routes/api_routes.rb M src/api/config/routes/routes_helper.rb M src/api/spec/controllers/staging/staging_projects_controller_spec.rb Log Message: ----------- Merge pull request #8476 from eduardoj/fix_staging_workflow_routes Fix staging workflow routes Compare: https://github.com/openSUSE/open-build-service/compare/9fec3787349e...6645d4...
participants (1)
-
Henne Vogelsang