-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wait for delete actions before forking #2804
Wait for delete actions before forking #2804
Conversation
eec74e6
to
ef8d8c3
Compare
/packit build |
1 similar comment
/packit build |
e3eb0c9
to
eb718e6
Compare
/packit build |
eb718e6
to
f192df7
Compare
f192df7
to
f548fdc
Compare
frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
Outdated
Show resolved
Hide resolved
frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
Outdated
Show resolved
Hide resolved
f548fdc
to
e800943
Compare
/packit build |
Instead of rebuilding everything in packit, I think it is easier to manually build the |
e800943
to
e5115c2
Compare
2161d1b
to
b46ed9a
Compare
Hm, would you mind adding a small test with "delete" and "create" actions, checking if "create" is not propagated to the pending-jobs output? Seems like there already is |
b46ed9a
to
d644471
Compare
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
Fixed
Show fixed
Hide fixed
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
Fixed
Show fixed
Hide fixed
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
Fixed
Show fixed
Hide fixed
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
Fixed
Show fixed
Hide fixed
frontend/coprs_frontend/tests/test_views/test_backend_ns/test_backend_general.py
Fixed
Show fixed
Hide fixed
81de0a1
to
889ed5e
Compare
frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
Outdated
Show resolved
Hide resolved
@@ -11,6 +11,7 @@ | |||
from coprs import app | |||
|
|||
|
|||
# pylint: disable=unused-argument |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We prefix the unused arguments with _
typically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those arguments are fixtures so _
prefix wont help here
wait for the end of the deletion of project to avoid race condition when other action like fork or create is called immidiatelly after delete
889ed5e
to
e5ab9b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #2698