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

engine: Don't clean packages in base suites #31

Merged
merged 1 commit into from Nov 15, 2016

Conversation

iainlane
Copy link
Collaborator

I'm trying a configuration with xenial-updates (etc) but not xenial and was like "why is it processing all of xenial every time?"

Turns out that, because I run clean each time, it was cleaning all of xenial :(. I think that clean should keep base suites around too.

If we're configured to process a suite without its base, we will
currently clean the base suite's packages every time 'clean' is run.
That means that the subsequent 'process' runs will reprocess the same
pacakges.

Fix this by keeping the packages in base suites too.
@iainlane
Copy link
Collaborator Author

Hmm, it's still scanning too much every time - must not be saving results somehow.

This fix is needed to avoid too much cleaning, but probably another will be required too...

@ximion
Copy link
Owner

ximion commented Nov 15, 2016

I didn't test it, but it looks sane - thanks for the patch!

Can you give examples of duplicate processing, because that really shouldn't happen - unless we clean too many things, run the cleanup action with --verbose to get more information.

@ximion ximion merged commit ba57285 into ximion:master Nov 15, 2016
@iainlane
Copy link
Collaborator Author

I'll file an issue to discuss that bit - thanks for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants