Skip to content

Commit

Permalink
SW-1224 support legacy image for new update mechanism (#7)
Browse files Browse the repository at this point in the history
* add beamos_version to replace beamos_date -> major version change needed as this is a breaking change
* add comparison option for the config of beamos versions
* add dedicated netconnectd version for legacy image
  • Loading branch information
Josef-MrBeam authored Apr 19, 2022
1 parent 7dcd41c commit 30aa254
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions docs/sw-update-conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,29 +92,35 @@
"repo": "MrBeamLedStrips",
"pip": "https://github.com/mrbeam/MrBeamLedStrips/archive/{target_version}.zip",
"global_pip_command": true,
"beamos_date": {
"2021-06-11": {
"pip_command": "sudo /usr/local/mrbeam_ledstrips/venv/bin/pip"
"beamos_version": {
"__ge__": {
"0.18.0": {
"pip_command": "sudo /usr/local/mrbeam_ledstrips/venv/bin/pip"
}
}
}
},
"iobeam": {
"repo": "iobeam",
"pip": "git+ssh://[email protected]/mrbeam/iobeam.git@{target_version}",
"global_pip_command": true,
"beamos_date": {
"2021-06-11": {
"pip_command": "sudo /usr/local/iobeam/venv/bin/pip"
"beamos_version": {
"__ge__": {
"0.18.0": {
"pip_command": "sudo /usr/local/iobeam/venv/bin/pip"
}
}
}
},
"mrb-hw-info": {
"repo": "mrb_hw_info",
"pip": "git+ssh://[email protected]/mrbeam/mrb_hw_info.git@{target_version}",
"global_pip_command": true,
"beamos_date": {
"2021-06-11": {
"pip_command": "sudo /usr/local/iobeam/venv/bin/pip"
"beamos_version": {
"__ge__": {
"0.18.0": {
"pip_command": "sudo /usr/local/iobeam/venv/bin/pip"
}
}
}
},
Expand Down Expand Up @@ -146,9 +152,16 @@
"repo": "netconnectd_mrbeam",
"pip": "https://github.com/mrbeam/netconnectd_mrbeam/archive/{target_version}.zip",
"global_pip_command": true,
"beamos_date": {
"2021-06-11": {
"pip_command": "sudo /usr/local/netconnectd/venv/bin/pip"
"beamos_version": {
"__ge__": {
"0.18.0": {
"pip_command": "sudo /usr/local/netconnectd/venv/bin/pip"
}
},
"__le__": {
"0.14.0": {
"version": "0.0.1"
}
}
}
}
Expand Down

0 comments on commit 30aa254

Please sign in to comment.