Commit Graph

4119 Commits

Author SHA1 Message Date
Thomas Adamcik
b94890a1c7 config: Start work on mopidy-convert-config 2013-04-16 23:52:20 +02:00
Thomas Adamcik
c84cb95c3f Merge pull request #418 from jodal/feature/show-deps
Update --show-deps to list deps of extensions
2013-04-16 14:33:11 -07:00
Stein Magnus Jodal
3c4dfc3777 Merge pull request #417 from adamcik/feature/config-api-cleanup
Move towards stable config APIs.
2013-04-16 14:28:21 -07:00
Thomas Adamcik
765f3c5d3c config: flake8 2013-04-16 23:25:30 +02:00
Stein Magnus Jodal
466cf3ba33 deps: Rename --list-deps to --show-deps 2013-04-16 23:07:38 +02:00
Stein Magnus Jodal
164eaffea7 deps: Group GStreamer elements by found/not found 2013-04-16 23:05:15 +02:00
Thomas Adamcik
134faddb9e ext: Typo in docstring 2013-04-16 22:48:40 +02:00
Stein Magnus Jodal
8798368763 deps: Move GStreamer to the bottom 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
07e6d11850 deps: Remove old manual deps checkers 2013-04-16 22:48:30 +02:00
Stein Magnus Jodal
609b6ace85 deps: Look up deps in pkg_resources 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
5de80228ea deps: Output one dep per line 2013-04-16 22:48:29 +02:00
Stein Magnus Jodal
21d17db7e2 formatting: Make indent() more useful 2013-04-16 22:39:08 +02:00
Thomas Adamcik
cde84748f7 config: Create config.format and switch to just serialize on schemas 2013-04-16 22:36:58 +02:00
Thomas Adamcik
d8f6886311 config: Set missing/invalid keys to none 2013-04-16 22:19:34 +02:00
Thomas Adamcik
f0131fdc93 config: Fix serialization of none 2013-04-16 21:37:55 +02:00
Thomas Adamcik
ee40f0385a config: Remove format from types API 2013-04-16 21:37:54 +02:00
Stein Magnus Jodal
ada697fbf3 docs: Remove duplicate link label 2013-04-16 10:50:59 +02:00
Stein Magnus Jodal
3e366efb20 Move NAD mixer to an external extension 2013-04-16 10:46:57 +02:00
Thomas Adamcik
211379a01c config: Unknown loglevels should serialize to blank string 2013-04-16 00:13:57 +02:00
Thomas Adamcik
5a495c590c ext: Do not compound config enabled and validate_extension 2013-04-16 00:02:31 +02:00
Thomas Adamcik
08db8829af config: Move all code to new load function 2013-04-15 23:37:40 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Thomas Adamcik
992b293174 ext: Switch to validate_extension(extension, config) 2013-04-15 23:03:40 +02:00
Thomas Adamcik
ec939d707c Merge branch 'develop' into feature/config-api-cleanup
Conflicts:
	mopidy/__main__.py
	mopidy/ext.py
2013-04-15 22:54:37 +02:00
Thomas Adamcik
f2b42c53d1 Merge pull request #416 from jodal/feature/split-ext-load-steps
Split extension load steps
2013-04-15 13:50:32 -07:00
Thomas Adamcik
7e154bdcbf ext: Remove filter_enabled_extensions 2013-04-15 22:46:47 +02:00
Stein Magnus Jodal
2793a384c2 ext: Register ext's GStreamer elements 2013-04-15 22:44:11 +02:00
Stein Magnus Jodal
41594c116e ext: Split load into load+validate 2013-04-15 22:43:51 +02:00
Stein Magnus Jodal
cfd9ddf550 config: Fix typo in logger name 2013-04-15 22:43:01 +02:00
Thomas Adamcik
86cad84f7d main: Refactor to use underlying _load and _validate functions from config 2013-04-15 22:41:07 +02:00
Thomas Adamcik
611af060f6 config: Add core_defaults to config 2013-04-15 22:26:45 +02:00
Thomas Adamcik
51f89017fe config: Fix handling of None in Secret 2013-04-15 21:16:19 +02:00
Thomas Adamcik
f5cd806dc5 config: Rename convert to deserialize 2013-04-15 21:16:19 +02:00
Thomas Adamcik
e4873c4516 config: Return convereted values and errors 2013-04-15 21:16:18 +02:00
Stein Magnus Jodal
a9a789aa8a conf: Rename logging.levels to loglevels
Part of #280
2013-04-15 20:40:01 +02:00
Stein Magnus Jodal
ee915fbf7a docs: Add command line options 2013-04-15 18:51:58 +02:00
Stein Magnus Jodal
90067a2128 docs: Mark command line options with :option: 2013-04-15 18:28:12 +02:00
Stein Magnus Jodal
8939167e88 Merge pull request #414 from adamcik/feature/config-value-kwargs
Make config value init kwargs strict.
2013-04-15 09:15:08 -07:00
Thomas Adamcik
fb0810bf9e config: Specify we want bytes for default configs 2013-04-15 17:43:14 +02:00
Stein Magnus Jodal
a7035063c2 docs: Note on debugging GStreamer 2013-04-15 11:58:54 +02:00
Thomas Adamcik
0ede12f050 ext: Update and fix extensiondev docs with respect to config 2013-04-15 00:08:48 +02:00
Thomas Adamcik
ad25a60ba5 config: Update extensions with respect to config changes 2013-04-15 00:08:23 +02:00
Thomas Adamcik
ee57eb58a3 config: Strict config value init kwargs, also adds Secret 2013-04-15 00:07:31 +02:00
Thomas Adamcik
4826dc7cac config: Support lists in required validator 2013-04-15 00:07:07 +02:00
Thomas Adamcik
805733a2aa config: Make tests discoverable and fix broken ones 2013-04-14 23:52:39 +02:00
Stein Magnus Jodal
ceee6630fa Merge pull request #413 from adamcik/feature/binary-config-reading
Treat configs as binary data
2013-04-14 09:57:40 -07:00
Thomas Adamcik
d5b8f2ab02 config: Make List use proper encode/decode helpers 2013-04-14 17:50:16 +02:00
Thomas Adamcik
7ed9b8adab config: Extract encode and decode helpers from String 2013-04-14 17:34:54 +02:00
Thomas Adamcik
9f18d50ab0 config: Fix escapes in string handling 2013-04-14 17:16:17 +02:00
Thomas Adamcik
6b89051b5e config: Add encoding support to strings 2013-04-14 16:15:58 +02:00