Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2af28308ebee897577d759286f7fb0b9dcd27b4d
https://github.com/openSUSE/open-build-service/commit/2af28308ebee897577d759...
Author: Saray Cabrera Padrón
Date: 2019-11-26 (Tue, 26 Nov 2019)
Changed paths:
M src/api/app/jobs/project_create_auto_cleanup_requests.rb
M src/api/app/models/project.rb
A src/api/spec/cassettes/ProjectCreateAutoCleanupRequests/_perform/with_devel_package_inside_the_project/does_not_create_a_deletion_request.yml
A src/api/spec/cassettes/ProjectCreateAutoCleanupRequests/_perform/with_project_without_dependencies/sets_a_deletion_request_on_the_project.yml
M src/api/spec/factories/attribs.rb
A src/api/spec/jobs/project_create_auto_cleanup_requests_job_spec.rb
M src/api/spec/support/delayed_job.rb
Log Message:
-----------
Prevent an exception to be raised in auto cleanup
The performance of the auto cleanup delayed job failed because the check
of dependencies raised an exception. So the delayed job was retried
again and again.
The exception was caused by a project with a develpackage inside, that
could not be removed.
Now, instead of raising an exception, the dependencies are correctly
checked.
Fixes: #8762
Co-authored-by: David Kang
Co-authored-by: Eduardo Navarro
Commit: 778c2fe63831195b9e61875b58065638a8d95003
https://github.com/openSUSE/open-build-service/commit/778c2fe63831195b9e6187...
Author: Saray Cabrera Padrón
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M src/api/app/jobs/project_create_auto_cleanup_requests.rb
M src/api/app/models/project.rb
A src/api/spec/cassettes/ProjectCreateAutoCleanupRequests/_perform/with_devel_package_inside_the_project/does_not_create_a_deletion_request.yml
A src/api/spec/cassettes/ProjectCreateAutoCleanupRequests/_perform/with_project_without_dependencies/sets_a_deletion_request_on_the_project.yml
M src/api/spec/factories/attribs.rb
A src/api/spec/jobs/project_create_auto_cleanup_requests_job_spec.rb
M src/api/spec/support/delayed_job.rb
Log Message:
-----------
Merge pull request #8782 from saraycp/fix_8762
Prevent an exception to be raised in auto cleanup
Compare: https://github.com/openSUSE/open-build-service/compare/7dba782b55c6...778c2f...