forked from kivy/buildozer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate ConfigSpec parser (kivy#1639)
* Separate ConfigSpec parser (Address kivy#1636) Separate ConfigParser code from Buildozer. - Use subclass, rather than monkey-patching. - Single implementation of list-handling code. - Convenience functions to minimise impact of existing code (but instantly deprecated). - Treat defaults consistently - Apply the env overrides automatically (client doesn't need to trigger). - Apply the env overrides once (read-time) rather than on every get. - Avoid re-using term "raw" which has pre-existing definition in ConfigSpec. - Update android.py client to match, - Unit tests. Add comments to start and end of default.spec to explain the syntax (as discussed in kivy#1636) * Add profile handling to configparser Move it from Buildozer. Rename it to be more meaningful. Add support for whitespace trimming. Update documentation in default.spec. Update tests.
- Loading branch information
Showing
6 changed files
with
474 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.