<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-selector-openwrt-org, branch v3.0.3</title>
<subtitle>A simple OpenWrt firmware selector using autocompletion.</subtitle>
<id>https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.3</id>
<link rel='self' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/'/>
<updated>2020-10-07T19:35:53Z</updated>
<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>
<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.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>www/index.js: allow deep linking</title>
<updated>2020-09-21T14:03:05Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-17T22:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=9a7b101069c8893154322e973abdd870bccef9ca'/>
<id>urn:sha1:9a7b101069c8893154322e973abdd870bccef9ca</id>
<content type='text'>
Update and handle the browser URL with version and device id to allow sharing of links.
</content>
</entry>
<entry>
<title>www/index.js: keep device selected across versions</title>
<updated>2020-09-21T14:02:56Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-17T22:26:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=c4fcc53199d7ae8fd47aa876b7cd266f52bdf05c'/>
<id>urn:sha1:c4fcc53199d7ae8fd47aa876b7cd266f52bdf05c</id>
<content type='text'>
The device id and model name may change across versions.
</content>
</entry>
</feed>
