From ba59acb12d1f00400020fbb94236c050428c2bf9 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sun, 16 Feb 2020 15:22:38 +0100 Subject: [PATCH] udpate readme --- README.md | 6 ++++-- misc/README.md | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 85a06fd..c1723bf 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,11 @@ Configure with [config.js](config.js). ## Update Database -The `data.json` is based on JSON files created by OpenWrt (master): `Global build settings ---> [*] Create JSON info files per build image`. +The `names-.json` files are based on JSON files created by OpenWrt (master): `Global build settings ---> [*] Create JSON info files per build image`. -A [Python script](misc/collect.py) is included that can merge all these JSON files for a new `data.json` file: `./collect.py bin/ --link 'https://downloads.openwrt.org/releases/%release/targets/%target/%file' > data.json`. +A [Python script](misc/collect.py) is included to create those json files: `./collect.py bin/ --link 'https://downloads.openwrt.org/releases/%release/targets/%target/%file' > names-test.json`. + +Note: Files `names-18.06.7.json` and `names-19.07.1.json` contain data for older OpenWrt releases that do not support JSON output. It was generated using heuristics. ## Contributions diff --git a/misc/README.md b/misc/README.md index 04df605..16db20e 100644 --- a/misc/README.md +++ b/misc/README.md @@ -1,3 +1,2 @@ `bin/` is an example of OpenWrt output. Everything except the JSON files was removed. -Files `18.06.7.json` and `19.07.1.json` contain data for older OpenWrt releases that do not support JSON output. It was generated using heuristics. -- 2.30.2