Skip to content

Allow dist overwrite by default#1469

Merged
inclement merged 2 commits into
kivy:masterfrom
inclement:allow_dist_overwrite
Nov 19, 2018
Merged

Allow dist overwrite by default#1469
inclement merged 2 commits into
kivy:masterfrom
inclement:allow_dist_overwrite

Conversation

@inclement

Copy link
Copy Markdown
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
Copy Markdown
Member Author

@tito This should fix your dist replacement issue

@AndreMiras

Copy link
Copy Markdown
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.

Comment thread pythonforandroid/distribution.py Outdated
@inclement inclement force-pushed the allow_dist_overwrite branch from 30ac677 to 1f2291e Compare November 18, 2018 21:11

@AndreMiras AndreMiras left a comment

Copy link
Copy Markdown
Member

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