summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Paul Spooren [Mon, 17 Feb 2020 06:26:15 +0000 (20:26 -1000)]
add dynamic image creation code & json refactor
again, make JSON files more like upstream:
* images: use dict instead of simple file. This allows adding
information like checksums or types. Again, I dealt so much with
heuristics withn OpenWrt build system that I avoid it as much as
possible. From my side I'd remove fragments like `findCommonPrefix` and
just rely on upstream info.
* commit: replace with `version_commit` (as there is also
`version_number`
* link: replace with `url` as *link* referes to something clickable in
the browser while url is more generic, including machine reads
* activate sort_keys in collect.py, this creates reproducible json files
and surely makes some JSON parser happy
* %foobar: instead of using `%` I changed the replacement to mustache[0]
which is also usable via Pythons `format()` function and easier to read.
Say a string like %target-info/foobar could mean a variable `target` or
`target-info`, using {target}-info/foobar makes things easier
* %file: remove this entirely and just append whatever desired file at
the end. Is there any case where the downloaded file is not at the end?
all these changes where done to be compatile with the *asu*, meaning a
image builder backend that creates images with specificed packages on
demand. Example code is added within the top of index.js. The server
takes `version`, `profile` and `packages` as arguments and returns
within a few seconds a freshly build firmware, which is automatically
shown in the frontend.
[0]: mustache.github.io/
Signed-off-by: Paul Spooren <mail@aparcar.org>
Moritz Warning [Sun, 16 Feb 2020 20:51:28 +0000 (21:51 +0100)]
forgot image link
Moritz Warning [Sun, 16 Feb 2020 20:43:43 +0000 (21:43 +0100)]
fix element id
Moritz Warning [Sun, 16 Feb 2020 17:42:42 +0000 (18:42 +0100)]
target value is fixed in openwrt now
Moritz Warning [Sun, 16 Feb 2020 14:22:38 +0000 (15:22 +0100)]
udpate readme
Moritz Warning [Sun, 16 Feb 2020 14:19:31 +0000 (15:19 +0100)]
fix comment
Moritz Warning [Sun, 16 Feb 2020 11:50:59 +0000 (12:50 +0100)]
use separate json file for each version
Moritz Warning [Sat, 15 Feb 2020 17:01:57 +0000 (18:01 +0100)]
small i18n fix
Moritz Warning [Fri, 14 Feb 2020 22:38:36 +0000 (23:38 +0100)]
do not sort keys
this is important when the snapshot release should appear before other releases
Moritz Warning [Fri, 14 Feb 2020 19:51:05 +0000 (20:51 +0100)]
yet another format change
hopefully helps attented sysupgrade server support
Moritz Warning [Thu, 13 Feb 2020 11:27:04 +0000 (12:27 +0100)]
allow to use includes only
Moritz Warning [Wed, 12 Feb 2020 21:51:34 +0000 (22:51 +0100)]
avoid character case mismatches
Moritz Warning [Wed, 12 Feb 2020 20:09:21 +0000 (21:09 +0100)]
some images use - or . as delimiter
Moritz Warning [Wed, 12 Feb 2020 18:50:59 +0000 (19:50 +0100)]
fix js syntax
Moritz Warning [Wed, 12 Feb 2020 17:37:43 +0000 (18:37 +0100)]
remove debug output
Moritz Warning [Wed, 12 Feb 2020 17:27:56 +0000 (18:27 +0100)]
new data format
Moritz Warning [Mon, 10 Feb 2020 10:56:58 +0000 (11:56 +0100)]
reorder releases
Moritz Warning [Mon, 10 Feb 2020 10:49:49 +0000 (11:49 +0100)]
add link to demo
Moritz Warning [Tue, 4 Feb 2020 15:44:03 +0000 (16:44 +0100)]
remove dead code
Moritz Warning [Tue, 4 Feb 2020 13:34:07 +0000 (14:34 +0100)]
add misc readme
Moritz Warning [Tue, 4 Feb 2020 13:28:30 +0000 (14:28 +0100)]
move folders around
Moritz Warning [Sun, 2 Feb 2020 14:34:23 +0000 (15:34 +0100)]
add help text to python script
Moritz Warning [Sun, 2 Feb 2020 14:16:53 +0000 (15:16 +0100)]
add missing commit revisions
Moritz Warning [Sun, 2 Feb 2020 13:48:07 +0000 (14:48 +0100)]
fix vertical distance between buttons
Moritz Warning [Sun, 2 Feb 2020 04:35:43 +0000 (05:35 +0100)]
fix help text display
Moritz Warning [Sun, 2 Feb 2020 04:15:00 +0000 (05:15 +0100)]
character is usually in the prefix
Moritz Warning [Sun, 2 Feb 2020 04:14:25 +0000 (05:14 +0100)]
fix unexpected prefix/image distinction
this happens when only one image file is available, factory/sysupgrade might be part of the prefix
Moritz Warning [Sun, 2 Feb 2020 03:51:20 +0000 (04:51 +0100)]
allow matching when key word is at the start of the image string
Moritz Warning [Sun, 2 Feb 2020 03:50:46 +0000 (04:50 +0100)]
update json files
Moritz Warning [Sat, 1 Feb 2020 21:41:50 +0000 (22:41 +0100)]
put some code into a function
Moritz Warning [Sat, 1 Feb 2020 21:26:27 +0000 (22:26 +0100)]
better handling of high image diversity
Moritz Warning [Thu, 30 Jan 2020 01:03:41 +0000 (02:03 +0100)]
differentiate sd card images
Moritz Warning [Thu, 30 Jan 2020 00:55:18 +0000 (01:55 +0100)]
more css cleanup
Moritz Warning [Wed, 29 Jan 2020 21:34:47 +0000 (22:34 +0100)]
fix html structure
Moritz Warning [Wed, 29 Jan 2020 20:52:14 +0000 (21:52 +0100)]
hide image details section by default
Moritz Warning [Wed, 29 Jan 2020 20:45:48 +0000 (21:45 +0100)]
fix syntax error
Moritz Warning [Wed, 29 Jan 2020 20:17:42 +0000 (21:17 +0100)]
fix edge cases
Moritz Warning [Wed, 29 Jan 2020 20:17:12 +0000 (21:17 +0100)]
update example json data
Moritz Warning [Wed, 29 Jan 2020 18:57:43 +0000 (19:57 +0100)]
change line hight
Moritz Warning [Wed, 29 Jan 2020 18:57:21 +0000 (19:57 +0100)]
add list of similar projects
Moritz Warning [Wed, 29 Jan 2020 17:14:23 +0000 (18:14 +0100)]
change download button color on mouse over
Moritz Warning [Wed, 29 Jan 2020 16:52:58 +0000 (17:52 +0100)]
support link in data json file
Moritz Warning [Wed, 29 Jan 2020 15:27:56 +0000 (16:27 +0100)]
css fine tuning
Moritz Warning [Wed, 29 Jan 2020 14:56:19 +0000 (15:56 +0100)]
remove debug output
Moritz Warning [Wed, 29 Jan 2020 14:55:41 +0000 (15:55 +0100)]
sort results
Moritz Warning [Wed, 29 Jan 2020 14:11:22 +0000 (15:11 +0100)]
update screenshot
Moritz Warning [Wed, 29 Jan 2020 14:09:09 +0000 (15:09 +0100)]
add help text and more configuration options
Moritz Warning [Tue, 28 Jan 2020 20:47:01 +0000 (21:47 +0100)]
unified select style
Moritz Warning [Tue, 28 Jan 2020 01:49:10 +0000 (02:49 +0100)]
move to www folder
Moritz Warning [Tue, 28 Jan 2020 01:37:04 +0000 (02:37 +0100)]
update readme
Moritz Warning [Tue, 28 Jan 2020 01:24:20 +0000 (02:24 +0100)]
improve collect.py script
Moritz Warning [Tue, 28 Jan 2020 00:58:37 +0000 (01:58 +0100)]
update json data
Moritz Warning [Mon, 27 Jan 2020 15:38:49 +0000 (16:38 +0100)]
more progress
Moritz Warning [Thu, 23 Jan 2020 14:34:00 +0000 (15:34 +0100)]
more stuff
Moritz Warning [Thu, 23 Jan 2020 01:54:12 +0000 (02:54 +0100)]
initial commit