<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-selector-openwrt-org, branch v3.0.4</title>
<subtitle>A simple OpenWrt firmware selector using autocompletion.</subtitle>
<id>https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.4</id>
<link rel='self' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/'/>
<updated>2020-10-08T09:28:48Z</updated>
<entry>
<title>enable default_version by default</title>
<updated>2020-10-08T09:28:48Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-10-08T08:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=2fc2991bcf629b67b0de251ff98684acdb09f5ae'/>
<id>urn:sha1:2fc2991bcf629b67b0de251ff98684acdb09f5ae</id>
<content type='text'>
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>automatically set default_version</title>
<updated>2020-10-08T09:28:48Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-10-07T21:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=6ffcc312897f65ae3532b404646acd25afbba4f3'/>
<id>urn:sha1:6ffcc312897f65ae3532b404646acd25afbba4f3</id>
<content type='text'>
This compares activated numeric versions and selects the latest one. Non
numeric versions are skipped, e.g. snapshots.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>tests: test_spa: assure that selected version is stable release</title>
<updated>2020-10-08T07:20:07Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-10-08T07:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=522c42cf58909b3a8133c6f031263a4da74144cd'/>
<id>urn:sha1:522c42cf58909b3a8133c6f031263a4da74144cd</id>
<content type='text'>
We don't want users to use snapshots as default.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>misc/collect.py: move file check into update_conf</title>
<updated>2020-10-07T19:35:53Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-28T09:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=a6e144a6ba02597f0ae91d1492d6bfc26063a7e4'/>
<id>urn:sha1:a6e144a6ba02597f0ae91d1492d6bfc26063a7e4</id>
<content type='text'>
This makes the usage behavior more consistent across different call sites.
</content>
</entry>
<entry>
<title>misc/collect.py: cleanup www_path variable</title>
<updated>2020-10-07T19:35:53Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-28T09:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=57d3cdb10fe0bf34c47f98d72391495e02cbc615'/>
<id>urn:sha1:57d3cdb10fe0bf34c47f98d72391495e02cbc615</id>
<content type='text'>
</content>
</entry>
<entry>
<title>README.md: fix scrape command example</title>
<updated>2020-10-07T19:35:53Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-10-07T16:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=ea107279f3c231b5a9f132755f9d83da2d6835e6'/>
<id>urn:sha1:ea107279f3c231b5a9f132755f9d83da2d6835e6</id>
<content type='text'>
--download-url is not valid for scrape
</content>
</entry>
<entry>
<title>README.md: add documentation for {base} variable</title>
<updated>2020-10-07T19:35:53Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-23T18:36:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=6a42ab5e1600660fa762b1f699a8bb89011261c2'/>
<id>urn:sha1:6a42ab5e1600660fa762b1f699a8bb89011261c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc/collect.py: fixup type change of variable profiles</title>
<updated>2020-09-23T18:48:58Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-23T18:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=a1cd19f1a9f7c3241e5bd14e403e8d4d5d5f01ce'/>
<id>urn:sha1:a1cd19f1a9f7c3241e5bd14e403e8d4d5d5f01ce</id>
<content type='text'>
The type of the profiles variable changed from dict to list.
</content>
</entry>
<entry>
<title>misc/collect.py: introduce variable {base} to fix download_url</title>
<updated>2020-09-23T17:27:17Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-17T20:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=d6a169ef822a9aedef532eceac6a1fced32623c6'/>
<id>urn:sha1:d6a169ef822a9aedef532eceac6a1fced32623c6</id>
<content type='text'>
While scanning a directory for profile.json files of different releases,
the releases might be in different sub directories. But the collect.py
script only takes one download URL template for all overview.json files.

This commit introduces a variable {base} for the download URL parameter
that will be replaced by the sub directory that distinguish the location
of different release from each other.

Example path structure:
* ../tmp/releases/18.06.8/targets
* ../tmp/snapshot/targets

collect.py call:
```
./misc/collect.py scan "https://download.openwrt.org/{base}/{target}" ../tmp/ www/
```
In www/config.json:
```
versions: {'18.06.8': 'data/18.06.8/overview.json', 'SNAPSHOT': 'data/SNAPSHOT/overview.json'},
```

In www/data/18.06.8/overview.json:
```
"download_url": "https://download.openwrt.org/releases/18.06.8/targets/{target}",
```

In www/data/SNAPSHOT/overview.json:
```
"download_url": "https://download.openwrt.org/snapshots/targets/{target}"
```
</content>
</entry>
<entry>
<title>misc/collect.py: include build_date field for each device</title>
<updated>2020-09-21T15:00:15Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-21T15:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=d6c0b040029749c4caa92dfee2bd2da78ae64c82'/>
<id>urn:sha1:d6c0b040029749c4caa92dfee2bd2da78ae64c82</id>
<content type='text'>
Uses the last modified date of the profiles.json files.
</content>
</entry>
</feed>
