[obs-commits] [openSUSE/open-build-service] 886c5a: [api] Move ProjectLogRotate to 1 event per job
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 886c5a4715994bdb6c0bdee05c2f7d05528a5883 https://github.com/openSUSE/open-build-service/commit/886c5a4715994bdb6c0bde... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-08 (Fri, 08 Dec 2017) Changed paths: M src/api/app/jobs/project_log_rotate_job.rb M src/api/app/models/event.rb M src/api/app/models/event/base.rb M src/api/config/clock.rb Log Message: ----------- [api] Move ProjectLogRotate to 1 event per job https://trello.com/c/vOh0oyHu/619-8-p8-move-projectlogrotate-to-1-event-per-... Commit: 668724d565e428ea5cf9d50c2049f72334d0fe09 https://github.com/openSUSE/open-build-service/commit/668724d565e428ea5cf9d5... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-08 (Fri, 08 Dec 2017) Changed paths: A src/api/lib/tasks/project_log_rotate_manually.rake Log Message: ----------- [ci] Task for manual project log rotate job Commit: fe1198aee7dd3eeaa10c3d4dfefda1bacb7603dd https://github.com/openSUSE/open-build-service/commit/fe1198aee7dd3eeaa10c3d... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-08 (Fri, 08 Dec 2017) Changed paths: M .rubocop.yml M .rubocop_todo.yml Log Message: ----------- [ci] Regenerate Rubocop todo file `Rails/SkipsModelValidations` is excluded for all jobs. As now the code to run the job manually is in a rake task, Rubocop complains, so we need to exclude it as well. There is a Rubocop bug, that's why I needed to modify the Rubocop configuration as well. Commit: d43724a17b86d10b5e7ddd54f9d303e37785f06d https://github.com/openSUSE/open-build-service/commit/d43724a17b86d10b5e7ddd... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-11 (Mon, 11 Dec 2017) Changed paths: M src/api/spec/jobs/project_log_rotate_job_spec.rb Log Message: ----------- [ci] Fix test for ProjectLogRotateJob Adapt the test for the new code. Commit: ecfb04c86289ce4fbc7486fa5cb192529c04d7d5 https://github.com/openSUSE/open-build-service/commit/ecfb04c86289ce4fbc7486... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-11 (Mon, 11 Dec 2017) Changed paths: A src/api/app/jobs/create_project_log_entry_job.rb R src/api/app/jobs/project_log_rotate_job.rb M src/api/app/models/event/base.rb M src/api/spec/jobs/project_log_rotate_job_spec.rb Log Message: ----------- [api] ProjectLogRotateJob -> CreateProjectLogEntry Change the job name, as it doesn't make sense any more. Commit: 676f495e9d9272e02205f10adbb89645be31f6ff https://github.com/openSUSE/open-build-service/commit/676f495e9d9272e02205f1... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-11 (Mon, 11 Dec 2017) Changed paths: M src/api/lib/tasks/project_log_rotate_manually.rake M src/api/script/delayed_job_stats.rb Log Message: ----------- [api] Use PROJECT_CLASSES & PACKAGE_CLASSES Use the new `Event` contasts with the events related to `Project` and `Package` in `project_log_rotate_manually.rake` and `delayed_job_stats.rb`. This makes the code more readable und make it easy to understand. Commit: 11c3444486d9d59e8baadd8d1a349a885d3217d8 https://github.com/openSUSE/open-build-service/commit/11c3444486d9d59e8baadd... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-12-11 (Mon, 11 Dec 2017) Changed paths: M .rubocop.yml M .rubocop_todo.yml A src/api/app/jobs/create_project_log_entry_job.rb R src/api/app/jobs/project_log_rotate_job.rb M src/api/app/models/event.rb M src/api/app/models/event/base.rb M src/api/config/clock.rb A src/api/lib/tasks/project_log_rotate_manually.rake M src/api/script/delayed_job_stats.rb M src/api/spec/jobs/project_log_rotate_job_spec.rb Log Message: ----------- Merge pull request #4197 from Ana06/project_log_rotate [api] Move ProjectLogRotate to 1 event per job Compare: https://github.com/openSUSE/open-build-service/compare/124683e80253...11c344...
participants (1)
-
Ana María Martínez Gómez