From 91cb923a2da12838ffbb5cced24a062feebdc0ba Mon Sep 17 00:00:00 2001 From: Tom Solberg Date: Tue, 5 Apr 2022 18:39:56 +0200 Subject: [PATCH 1/2] support indexed legacy repositories --- src/poetry/core/json/schemas/poetry-schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/poetry/core/json/schemas/poetry-schema.json b/src/poetry/core/json/schemas/poetry-schema.json index 1a9484431..4e27c402c 100644 --- a/src/poetry/core/json/schemas/poetry-schema.json +++ b/src/poetry/core/json/schemas/poetry-schema.json @@ -651,6 +651,10 @@ "links": { "type": "boolean", "description": "Declare this as a link source. Links at uri/path can point to sdist or bdist archives." + }, + "indexed": { + "type": "boolean", + "description": "For simple/PEP503 repositories, pre-fetch and index the available packages." } } }, From e85c85a755fb214c0c7a81e0831550f3f4c94bbd Mon Sep 17 00:00:00 2001 From: Tom Solberg Date: Mon, 2 May 2022 12:33:33 +0200 Subject: [PATCH 2/2] Update src/poetry/core/json/schemas/poetry-schema.json Co-authored-by: Arun Babu Neelicattu --- src/poetry/core/json/schemas/poetry-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poetry/core/json/schemas/poetry-schema.json b/src/poetry/core/json/schemas/poetry-schema.json index 4e27c402c..888cf1ecd 100644 --- a/src/poetry/core/json/schemas/poetry-schema.json +++ b/src/poetry/core/json/schemas/poetry-schema.json @@ -654,7 +654,7 @@ }, "indexed": { "type": "boolean", - "description": "For simple/PEP503 repositories, pre-fetch and index the available packages." + "description": "For PEP 503 simple API repositories, pre-fetch and index the available packages. (experimental)" } } },