Skip to content

added a 'no-uninstall' option to patch files not managed by buildout#2

Open
koodaamo wants to merge 1 commit intogarbas:masterfrom
koodaamo:master
Open

added a 'no-uninstall' option to patch files not managed by buildout#2
koodaamo wants to merge 1 commit intogarbas:masterfrom
koodaamo:master

Conversation

@koodaamo
Copy link
Copy Markdown

@koodaamo koodaamo commented Dec 7, 2011

Sometimes it would be useful to use buildout to patch files that are part of the buildout workflow, but cannot or should not be managed by buildout itself (installed, uninstalled, re-installed).

By default, buildout tries to manage the patched paths or eggs, so the recipe is not currently suitable for such an use case.

With these changes, it can be used for such purpose as well, by setting the newly added 'no-uninstall' option to 'true'. That will cause the recipe to not report the patched paths to buildout.

The patched paths are instead logged into a separate patch log file (.patch-cache.txt) to keep tabs on what has been patched.

Review on Reviewable

 to patch files not installed by buildout
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