[obs-commits] [openSUSE/open-build-service] a5e0b7: [ci] Fix Rubocop cache subdirectory for root cops

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: a5e0b7e524dca9c814634d06e30e31500ec78b25 https://github.com/openSUSE/open-build-service/commit/a5e0b7e524dca9c814634d... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M .rubocop.yml Log Message: ----------- [ci] Fix Rubocop cache subdirectory for root cops Otherwise the 'tmp' subdirectory will be created on the root subdirectory. We already have one 'tmp' subdirectory in 'src/api', and that one is what we want to use. Commit: a2f54f9301962dd6017beabc518397817bee3079 https://github.com/openSUSE/open-build-service/commit/a2f54f9301962dd6017bea... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M src/api/lib/tasks/dev.rake Log Message: ----------- [ci] Use sh commands for rubocop rake tasks Invoking the 'dev:lint:rubocop:all' task didn't invoke both :root and :rails tasks. Using the RuboCop::Rake task within the :all task would have messed up the Rubocop cache. Switching it to sh commands make it possible to run both tasks without issues. Co-authored-by: Björn Geuken <bgeuken@suse.de> Commit: 7856e6759a76fb97d545e50c9ded0ef1f7376c34 https://github.com/openSUSE/open-build-service/commit/7856e6759a76fb97d545e5... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M src/api/lib/tasks/dev.rake Log Message: ----------- [ci] Add empty lines for better legibility Commit: c6069f8d3dab9f5eada5444ab1e7c6b7c173d7be https://github.com/openSUSE/open-build-service/commit/c6069f8d3dab9f5eada544... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M src/api/lib/tasks/dev.rake Log Message: ----------- [ci] Add a description for the :all Rubocop tasks Commit: 45ab3f728ed09e592c301acbd995fa5786fcee4d https://github.com/openSUSE/open-build-service/commit/45ab3f728ed09e592c301a... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M src/api/spec/models/obs_factory/staging_project_spec.rb M src/api/spec/support/capybara.rb Log Message: ----------- [ci] Autocorrect Rubocop offenses Commit: 0ec917ed68f53f7e68a2cbb70c25e428cef2de7d https://github.com/openSUSE/open-build-service/commit/0ec917ed68f53f7e68a2cb... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-06-26 (Tue, 26 Jun 2018) Changed paths: M src/api/.rubocop_todo.yml Log Message: ----------- [ci] Regenerate Rubocop TODO file for rails Regenerate Rubocop TODO file for the rails application (inside src/api/). This will add some exclusion of offenses introduced while the Rubocop setup was not working properly, since commit 8b145ad3c. Commit: 2641fdf2630458776ad05e327401d61e34f31680 https://github.com/openSUSE/open-build-service/commit/2641fdf2630458776ad05e... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-06-27 (Wed, 27 Jun 2018) Changed paths: M .rubocop.yml M src/api/.rubocop_todo.yml M src/api/lib/tasks/dev.rake M src/api/spec/models/obs_factory/staging_project_spec.rb M src/api/spec/support/capybara.rb Log Message: ----------- Merge pull request #5219 from eduardoj/fix_rubocop_setup Fix rubocop setup Compare: https://github.com/openSUSE/open-build-service/compare/d7dd6067343b...2641fd... **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Björn Geuken