Skip to content

Allow dist overwrite by default #1469

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

Merged
merged 2 commits into from
Nov 19, 2018
Merged

Conversation

inclement
Copy link
Member

My python3 change fixed a bug where dists could be overwritten if a previous dist with the same name but different recipes was present. This wasn't the original intention of the code. However, it looks like the old buggy behaviour was more desirable in practice, so this PR allows dist overwriting by default but adds an option to configure it.

@inclement inclement force-pushed the allow_dist_overwrite branch from 06751a4 to 30ac677 Compare November 18, 2018 17:58
@inclement
Copy link
Member Author

@tito This should fix your dist replacement issue

@AndreMiras
Copy link
Member

looking good to me, if you could just fix the linter 😬

pythonforandroid/distribution.py:8:1: F811 redefinition of unused 'exists' from line 1

Use tox locally to verify if you don't want to wait for Travis each time.

@inclement inclement force-pushed the allow_dist_overwrite branch from 30ac677 to 1f2291e Compare November 18, 2018 21:11
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheers!

@inclement inclement merged commit 54714ef into kivy:master Nov 19, 2018
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.

2 participants