<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-selector-openwrt-org/misc, branch v3.0.1</title>
<subtitle>A simple OpenWrt firmware selector using autocompletion.</subtitle>
<id>https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.1</id>
<link rel='self' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/atom?h=v3.0.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/'/>
<updated>2020-09-13T20:01:50Z</updated>
<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>
<entry>
<title>collect.py: fix scan method file content decoding</title>
<updated>2020-09-13T09:23:38Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-09-13T08:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=1891e021306a9a1f8fedc578e6477ce4282ba1d2'/>
<id>urn:sha1:1891e021306a9a1f8fedc578e6477ce4282ba1d2</id>
<content type='text'>
Fixes following error:

 File "misc/collect.py", line 54, in merge_profiles
     obj = json.loads(content.decode("utf-8"))
 AttributeError: 'str' object has no attribute 'decode'

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>decode profiles.json content from bytes to string</title>
<updated>2020-08-20T12:43:02Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2020-08-20T11:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/web/firmware-selector-openwrt-org/commit/?id=779abe83c4aef933bd31275996ca6850fdb7c0d0'/>
<id>urn:sha1:779abe83c4aef933bd31275996ca6850fdb7c0d0</id>
<content type='text'>
</content>
</entry>
</feed>
