-
Notifications
You must be signed in to change notification settings - Fork 95
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
[osc1.x] staging accept does not cleanup linked packages before deleting an adi #2928
Comments
The old delete_project was simply:
so our 'force attempt delete' was sufficient then stagingapi.py does:
Seems either osc treats force as implicit recursive or we pass recursive=true to the function (but then we have to take care of the different calls for 0.x vs 1.x) |
Yep, or do the API call ourselves |
Can we simply fix osc? |
It looks like an intentional change. Did you think of something like |
How about the following?
Another option would be changing the default in osc from |
tested a checkin round with this patch:
|
Successfully? If so -> PR! |
osc 1.0 changed the behavior of delete_project. Older versions considered 'force' to imply recursive, new versions want this explicitly. Fixes openSUSE#2928
Staging accept seems to have an issue when accepting an adi project that contained an SR with two spec files (thus staging select created a linked package for the 2nd flavor)
upon staging accept, I ran into openSUSE/osc#1247
But that error should only happen if we did try to delete the adi project without first emptying it - and not specifying to delete it recursively
the respective osc core code:
The text was updated successfully, but these errors were encountered: