[obs-commits] [openSUSE/open-build-service] d8b223: [api][webui] Set touch attribute on reviews and bs...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: d8b223b4a51ab5512ca79361e29cc1150973244f https://github.com/openSUSE/open-build-service/commit/d8b223b4a51ab5512ca793... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/api/app/models/bs_request_action.rb M src/api/app/models/review.rb A src/api/spec/models/bs_request_action_spec.rb A src/api/spec/models/review_spec.rb Log Message: ----------- [api][webui] Set touch attribute on reviews and bs_request_actions associations to update timestamp of associated bs_request object. Will fix cache invalidation bugs of bs_request objects. Related to bnc#947530. Commit: 97f00d4977db5a03e77b3a342aff6c4cd767d551 https://github.com/openSUSE/open-build-service/commit/97f00d4977db5a03e77b3a... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/api/app/models/bs_request.rb A src/api/db/migrate/20161128115942_add_when_attribute_to_bs_request.rb M src/api/db/structure.sql A src/api/spec/models/bs_request_spec.rb Log Message: ----------- [api][webui] Add updated_when attribute to BsRequest otherwise the 'touch: true' attribute on the Review and BsRequestAction associations would overwrite the updated_at (when) attribute on BsRequest objects. Commit: 946d62756f66a5db4a7cf1e14bf2323461f7bd22 https://github.com/openSUSE/open-build-service/commit/946d62756f66a5db4a7cf1... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2016-11-29 (Tue, 29 Nov 2016) Changed paths: M src/api/app/models/bs_request.rb M src/api/app/models/bs_request_action.rb M src/api/app/models/review.rb A src/api/db/migrate/20161128115942_add_when_attribute_to_bs_request.rb M src/api/db/structure.sql A src/api/spec/models/bs_request_action_spec.rb A src/api/spec/models/bs_request_spec.rb A src/api/spec/models/review_spec.rb Log Message: ----------- Merge pull request #2379 from ChrisBr/bs_request_caching [api][webui] Set touch attribute on reviews and bs_request_actions associations Compare: https://github.com/openSUSE/open-build-service/compare/df45aa661d9f...946d62...
participants (1)
-
Moisés Déniz Alemán