Skip to content

Publishing a candidate does not delete the candidate #71

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

Closed
edsko opened this issue Sep 24, 2013 · 5 comments
Closed

Publishing a candidate does not delete the candidate #71

edsko opened this issue Sep 24, 2013 · 5 comments

Comments

@edsko
Copy link
Contributor

edsko commented Sep 24, 2013

This is strange, because this leaves the database in a state where we have both version X.Y.Z of a package in the packages DB and in the candidates DB. There are some provisions in the code for this (publishCandidate takes a doDelete argument), so I'm not sure what the intention is. But current behaviour seems wrong to me.

Pinging @dcoutts .

@gracenotes
Copy link
Contributor

doDelete has always been False, ever since the call was added in a9e67c3. Afaik there's no reason it can't be, or should have always been, True.

@gracenotes
Copy link
Contributor

btw, I've been away from a computer with any of my ssh credentials, so I've been somewhat limited in being able to actually send patches for the moment :/ Hope the comments help provide context a bit.

@lambda-fairy
Copy link
Contributor

Would the fix for this be to simply change False to True?

The only call to publishCandidate seems to be in the Html feature, on this line.

@hvr
Copy link
Member

hvr commented Jan 2, 2017

See #558

@gbaz
Copy link
Contributor

gbaz commented Nov 1, 2020

resolved by #895

@gbaz gbaz closed this as completed Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants