[openSUSE/open-build-service] 441d71: Ignore package_id column in events table
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 441d71f5cc472bedc3df32d0e51a7599c544f936 https://github.com/openSUSE/open-build-service/commit/441d71f5cc472bedc3df32... Author: Lukas Krause <lkrause@suse.de> Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M src/api/app/models/event/base.rb Log Message: ----------- Ignore package_id column in events table Preperation for the db migration in order to remove the package_id column from the events table. See https://github.com/ankane/strong_migrations#removing-a-column Commit: 6f8bb50c9e1be895ae9565116a2486ec5a3975b1 https://github.com/openSUSE/open-build-service/commit/6f8bb50c9e1be895ae9565... Author: Lukas Krause <lkrause@suse.de> Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M src/api/app/models/event/base.rb M src/api/app/models/event/branch_command.rb M src/api/app/models/event/build_fail.rb M src/api/app/models/event/build_success.rb M src/api/app/models/event/build_unchanged.rb M src/api/app/models/event/comment_for_package.rb M src/api/app/models/event/comment_for_project.rb M src/api/app/models/event/comment_for_request.rb M src/api/app/models/event/commit.rb M src/api/app/models/event/create_package.rb M src/api/app/models/event/create_project.rb M src/api/app/models/event/delete_package.rb M src/api/app/models/event/delete_project.rb M src/api/app/models/event/packtrack.rb M src/api/app/models/event/repo_build_finished.rb M src/api/app/models/event/repo_build_started.rb M src/api/app/models/event/repo_publish_state.rb M src/api/app/models/event/repo_published.rb M src/api/app/models/event/request_change.rb M src/api/app/models/event/request_create.rb M src/api/app/models/event/request_delete.rb M src/api/app/models/event/request_reviews_done.rb M src/api/app/models/event/request_statechange.rb M src/api/app/models/event/review_changed.rb M src/api/app/models/event/review_wanted.rb M src/api/app/models/event/service_fail.rb M src/api/app/models/event/service_success.rb M src/api/app/models/event/status_check_for_build.rb M src/api/app/models/event/status_check_for_published.rb M src/api/app/models/event/status_check_for_request.rb M src/api/app/models/event/undelete_package.rb M src/api/app/models/event/undelete_project.rb M src/api/app/models/event/update_package.rb M src/api/app/models/event/update_project.rb M src/api/app/models/event/update_project_config.rb M src/api/app/models/event/upload.rb M src/api/app/models/event/version_change.rb A src/api/db/migrate/20210525145710_remove_package_from_event.rb M src/api/db/schema.rb Log Message: ----------- Remove package_id from event table After changing the from the attempt of building an association between an event and a package, to fetching the package using the passed payload in the `ReportToScmJob` in https://github.com/openSUSE/open-build-service/pull/11124 the package_id is not longer needed. Commit: b31e66a043fc6dfcf05d51989844c360fdd3a6c2 https://github.com/openSUSE/open-build-service/commit/b31e66a043fc6dfcf05d51... Author: Lukas Krause <lkrause@suse.de> Date: 2021-05-27 (Thu, 27 May 2021) Changed paths: M src/api/app/models/event/base.rb M src/api/app/models/event/branch_command.rb M src/api/app/models/event/build_fail.rb M src/api/app/models/event/build_success.rb M src/api/app/models/event/build_unchanged.rb M src/api/app/models/event/comment_for_package.rb M src/api/app/models/event/comment_for_project.rb M src/api/app/models/event/comment_for_request.rb M src/api/app/models/event/commit.rb M src/api/app/models/event/create_package.rb M src/api/app/models/event/create_project.rb M src/api/app/models/event/delete_package.rb M src/api/app/models/event/delete_project.rb M src/api/app/models/event/packtrack.rb M src/api/app/models/event/repo_build_finished.rb M src/api/app/models/event/repo_build_started.rb M src/api/app/models/event/repo_publish_state.rb M src/api/app/models/event/repo_published.rb M src/api/app/models/event/request_change.rb M src/api/app/models/event/request_create.rb M src/api/app/models/event/request_delete.rb M src/api/app/models/event/request_reviews_done.rb M src/api/app/models/event/request_statechange.rb M src/api/app/models/event/review_changed.rb M src/api/app/models/event/review_wanted.rb M src/api/app/models/event/service_fail.rb M src/api/app/models/event/service_success.rb M src/api/app/models/event/status_check_for_build.rb M src/api/app/models/event/status_check_for_published.rb M src/api/app/models/event/status_check_for_request.rb M src/api/app/models/event/undelete_package.rb M src/api/app/models/event/undelete_project.rb M src/api/app/models/event/update_package.rb M src/api/app/models/event/update_project.rb M src/api/app/models/event/update_project_config.rb M src/api/app/models/event/upload.rb M src/api/app/models/event/version_change.rb A src/api/db/migrate/20210525145710_remove_package_from_event.rb M src/api/db/schema.rb Log Message: ----------- Merge pull request #11181 from krauselukas/remove_package_id_from_event_table Remove package id from event table Compare: https://github.com/openSUSE/open-build-service/compare/659f1e0181e8...b31e66...
participants (1)
-
Lukas Krause