[obs-commits] [openSUSE/open-build-service] be8988: [api] cache the result of project_or_package_link
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: be8988cbf11c8b4984b9d0b48aa3badee18867d7 https://github.com/openSUSE/open-build-service/commit/be8988cbf11c8b4984b9d0... Author: Stephan Kulow <coolo@suse.de> Date: 2013-10-29 (Tue, 29 Oct 2013) Changed paths: R src/api/app/jobs/check_package_event.rb A src/api/app/jobs/cleanup_cache_lines.rb A src/api/app/jobs/update_backend_infos.rb A src/api/app/models/cache_line.rb M src/api/app/models/event/base.rb M src/api/app/models/event/package.rb M src/api/app/models/event/project.rb A src/api/db/migrate/20131029112259_create_cache_lines.rb M src/api/db/structure.sql A src/api/test/fixtures/cache_lines.yml M src/api/webui/app/helpers/webui/webui_helper.rb Log Message: ----------- [api] cache the result of project_or_package_link To make this work, I added a new model CacheLine that remembers in the database if something for a package or project was cached. If that package is changed, the event creation will then delete the cache line Commit: 29d549de5859b7c80ccce855d1ca0237f0e62d16 https://github.com/openSUSE/open-build-service/commit/29d549de5859b7c80ccce8... Author: Stephan Kulow <coolo@suse.de> Date: 2013-10-29 (Tue, 29 Oct 2013) Changed paths: M src/api/bin/rails M src/api/test/functional/webui/login_test.rb M src/api/test/functional/webui/package_create_test.rb M src/api/test/unit/code_quality_test.rb M src/api/test/unit/package_test.rb Log Message: ----------- [api] try to fix coverage results Compare: https://github.com/openSUSE/open-build-service/compare/0145b985f4fd...29d549...
participants (1)
-
Stephan Kulow