From ecc6c218af8ef864fe8d03badfed0e6e7c730fd0 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 28 Jun 2022 18:17:14 +0200 Subject: put each fix in a separate directory with its own index.json This commit also updates the repository to use version 2 of package source schema. --- src/worldcat-org-fix/index.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/worldcat-org-fix/index.json (limited to 'src/worldcat-org-fix/index.json') diff --git a/src/worldcat-org-fix/index.json b/src/worldcat-org-fix/index.json new file mode 100644 index 0000000..a4e8edd --- /dev/null +++ b/src/worldcat-org-fix/index.json @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: CC0-1.0 + +// Copyright (C) 2022 Wojtek Kosior +// Available under the terms of Creative Commons Zero v1.0 Universal. + +{ + "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json", + "source_name": "worldcat-org-fix", + "copyright": [ + {"file": "report.spdx"}, + {"file": "LICENSES/Apache-2.0.txt"}, + {"file": "LICENSES/CC0-1.0.txt"} + ], + "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/worldcat-org-fix", + "definitions": [{ + "type": "mapping_and_resource", + "identifier": "worldcat-org-fix", + "long_name": "WorldCat catalog search fix", + "version": [2022, 2, 18], + "revision": 2, + "description": "Make library catalogs on worldcat.org searchable without relying on site-served JavaScript.", + "dependencies": [], + "scripts": [{"file": "worldcat.js"}], + "payloads": { + // * https://old.reddit.com/search?q=url%3Aworldcat.org%2Ftitle%2F <- to get testing links + "https://www.worldcat.org/title/**": { + "identifier": "worldcat-org-fix" + }, + "https://worldcat.org/title/**": { + "identifier": "worldcat-org-fix" + } + } + }], + "reuse_generate_spdx_report": true +} -- cgit v1.2.3