From: Moritz Warning Date: Sun, 16 Feb 2020 14:22:38 +0000 (+0100) Subject: udpate readme X-Git-Tag: v1.0.0~10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba59acb12d1f00400020fbb94236c050428c2bf9;p=web%2Ffirmware-selector-openwrt-org.git udpate readme --- 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.