<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-selector-openwrt-org/misc, branch master</title>
<subtitle>A simple OpenWrt firmware selector using autocompletion.</subtitle>
<id>https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/'/>
<updated>2020-10-08T09:28:48Z</updated>
<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-03.infra.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>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-03.infra.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-03.infra.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=57d3cdb10fe0bf34c47f98d72391495e02cbc615'/>
<id>urn:sha1:57d3cdb10fe0bf34c47f98d72391495e02cbc615</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-03.infra.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-03.infra.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-03.infra.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>
<entry>
<title>misc/collect.py: use list to collect profile.json data</title>
<updated>2020-09-21T14:59:31Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-21T14:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=30101c306b5c5e4a0ed4196ea67ac4d2dad19b28'/>
<id>urn:sha1:30101c306b5c5e4a0ed4196ea67ac4d2dad19b28</id>
<content type='text'>
This will help to store more information compared to a dict.
</content>
</entry>
<entry>
<title>misc/collect.py: move out nested method to please linter</title>
<updated>2020-09-13T20:01:50Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T20:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=e1d2c5cd3ec16eded8cbf5ee15b26f7b823a7554'/>
<id>urn:sha1:e1d2c5cd3ec16eded8cbf5ee15b26f7b823a7554</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc/collect.py: rename TP-LINK to TP-LINK</title>
<updated>2020-09-13T19:59:26Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T13:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=8e1bcfd8b412f4271ed9a1e0397513cef646f78c'/>
<id>urn:sha1:8e1bcfd8b412f4271ed9a1e0397513cef646f78c</id>
<content type='text'>
This is a fix for the 19.07 releases and TP-Link devices. Those are in both ar71xx and ath79, but with a different vendor letter case.
Make the vendor equal so the code recognizes it and appends the target as extra differentiator.
</content>
</entry>
<entry>
<title>misc/collect.py: differentiate duplicate models by target</title>
<updated>2020-09-13T19:59:26Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T13:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=a4081be4eb581032d83cd7b7bea12fc9993822b7'/>
<id>urn:sha1:a4081be4eb581032d83cd7b7bea12fc9993822b7</id>
<content type='text'>
some devices might appear in different targets when migrating to new targets (e.g ar71xx and ath79)
</content>
</entry>
</feed>
