diff --git a/docs/format-changelog.rst b/docs/format-changelog.rst index d1f3b90..c8a7218 100644 --- a/docs/format-changelog.rst +++ b/docs/format-changelog.rst @@ -111,3 +111,13 @@ Added - ``menu_configuration`` key stores the selections done via ``kas menu`` in a configuration file. It is only evaluated by that plugin. + +Version 12 +---------- + +Added +~~~~~ + +- For repositories, ``url`` and ``path`` can now be overridden with a + null-value to switch between version-controlled repositories and unversioned + local folders. diff --git a/kas/__version__.py b/kas/__version__.py index 63c3221..60bab95 100644 --- a/kas/__version__.py +++ b/kas/__version__.py @@ -28,5 +28,5 @@ __copyright__ = 'Copyright (c) Siemens AG, 2017-2020' __version__ = '3.0.2' # Please update docs/format-changelog.rst when changing the file version. -__file_version__ = 11 +__file_version__ = 12 __compatible_file_version__ = 1 diff --git a/kas/schema-kas.json b/kas/schema-kas.json index 60fa7dd..ca4b513 100644 --- a/kas/schema-kas.json +++ b/kas/schema-kas.json @@ -125,7 +125,14 @@ "type": "string" }, "url": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "type": { "type": "string" @@ -134,7 +141,14 @@ "type": "string" }, "path": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "layers": { "type": "object",