Skip to content
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

Accept delete request of pkg with depending devel package definitions impossible #3687

Closed
DimStar77 opened this issue Aug 28, 2017 · 3 comments · Fixed by #14737
Closed

Accept delete request of pkg with depending devel package definitions impossible #3687

DimStar77 opened this issue Aug 28, 2017 · 3 comments · Fixed by #14737
Labels
Bug Frontend Things related to the OBS RoR app P2 If possible, assign this to yourself and fix it ASAP

Comments

@DimStar77
Copy link
Contributor

I created a setup in my home project to demonstrate the issue

Project: home:dimstar
package1: pkg
package2: pkg-sub (has pkg set as devel package)

A delete request against pkg is filed (rq 519110), but can't be accepted (also not using osc rq accept -f)

In this setup it is pretty simply for me to work around the issue, as I can change the meta config of pkg-sub; but I've seen cases where packages across projects had my packages set as devel, which means I can't delete them unless I get the other user to change his meta data)

@DimStar77
Copy link
Contributor Author

osc rq accept 519110 -m ok -f

HTTP Error 400: Bad Request
delete_error
Package is used by following packages as devel package: home:dimstar/pkg-sub

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Aug 28, 2017
@DimStar77
Copy link
Contributor Author

This is hitting quite often and is really annoying - especially as TW is also managed by more people; can we somehow get to a solution that allows to delete a package forcibly?

@hennevogel hennevogel added the P2 If possible, assign this to yourself and fix it ASAP label Jul 25, 2023
@eduardoj eduardoj self-assigned this Jul 25, 2023
@ncounter ncounter self-assigned this Jul 25, 2023
@eduardoj
Copy link
Member

Try deleting the package directly on the server, with the force option: osc rdelete home:dimstar pkg -f.

For details on more options: osc rdelete -h

Closing. Please reopen if this solution is not complete.

@eduardoj eduardoj removed their assignment Jul 25, 2023
@eduardoj eduardoj reopened this Jul 25, 2023
@eduardoj eduardoj self-assigned this Jul 26, 2023
ncounter added a commit to ncounter/osc that referenced this issue Jul 26, 2023
openSUSE/open-build-service#3687

The code is fixed: '--force' does ignore devel-package
dependencies now. Therefore it might be nice to document it.
ncounter added a commit to ncounter/osc that referenced this issue Jul 26, 2023
openSUSE/open-build-service#3687

The code is fixed: '--force' does ignore devel-package
dependencies now. Documenting it to make it clear while using it.
@eduardoj eduardoj removed their assignment Jul 28, 2023
@ncounter ncounter removed their assignment Jul 28, 2023
ncounter added a commit to ncounter/osc that referenced this issue Jul 28, 2023
openSUSE/open-build-service#3687

The code is fixed: '--force' does ignore devel-package
dependencies now. Documenting it to make it clear while using it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app P2 If possible, assign this to yourself and fix it ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants