<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-selector-openwrt-org/misc/collect.py, branch v3.0.2</title>
<subtitle>A simple OpenWrt firmware selector using autocompletion.</subtitle>
<id>https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.2</id>
<link rel='self' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/'/>
<updated>2020-09-21T15:00:15Z</updated>
<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>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.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.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.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>
<entry>
<title>misc/collect.py: get release name from json files</title>
<updated>2020-09-13T12:44:34Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T12:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=aa1fdbb6ffce82ecfb56e217ca02c8108caca884'/>
<id>urn:sha1:aa1fdbb6ffce82ecfb56e217ca02c8108caca884</id>
<content type='text'>
instead of from directory names
</content>
</entry>
<entry>
<title>misc/collect.py: do not upper case the release name</title>
<updated>2020-09-13T12:39:40Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T12:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=ab4cf9f6d42b3d59976042288b1e64c228becde7'/>
<id>urn:sha1:ab4cf9f6d42b3d59976042288b1e64c228becde7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc/collect.py: better error messages</title>
<updated>2020-09-13T12:38:55Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T11:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=80b625284ad917810668d111864191fa80550276'/>
<id>urn:sha1:80b625284ad917810668d111864191fa80550276</id>
<content type='text'>
adds a path and newlines to error messages
</content>
</entry>
<entry>
<title>misc/collect.py: add python version check</title>
<updated>2020-09-13T12:38:45Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-09-13T11:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=e0a6310cc9bace55c28031efecbfeab48c2ee64e'/>
<id>urn:sha1:e0a6310cc9bace55c28031efecbfeab48c2ee64e</id>
<content type='text'>
make sure the program is only executed by Python &gt;=3.5.0
</content>
</entry>
<entry>
<title>collect.py: fix open for Python versions &lt; 3.6</title>
<updated>2020-09-13T09:23:38Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-09-13T09:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=ee62fade7eac2a7ade21720d0272c3bc814c6ea8'/>
<id>urn:sha1:ee62fade7eac2a7ade21720d0272c3bc814c6ea8</id>
<content type='text'>
 The built-in open() function has been updated to accept os.PathLike
 objects, as have all relevant functions in the os and os.path modules,
 and most other functions and classes in the standard library.

Fixes following issue:

 File "misc/collect.py", line 260, in scan
   with open(ppath, "r", encoding='utf-8') as file:
 TypeError: invalid file: PosixPath('tests/profiles/snapshots/targets/ipq806x/generic/profiles.json')

Ref: https://docs.python.org/3/whatsnew/3.6.html
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
