updater merge requestshttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests2020-11-12T03:15:58+01:00https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/169migrator: Disable branch detection2020-11-12T03:15:58+01:00Ghost Usermigrator: Disable branch detectionThe detection seems to be broken and produces invalid branches. Disable
it altogether, and let people configure their branch later on. This is
more reliable and we have nearly no people with a branch set in the
router on the old updater ...The detection seems to be broken and produces invalid branches. Disable
it altogether, and let people configure their branch later on. This is
more reliable and we have nearly no people with a branch set in the
router on the old updater anyway.
A problem from https://forum.turris.cz/t/migrace-updater-na-turrisu-hw-verze-1-x/2915/16.Turris OS 3.6https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/168Fix script timeout of subprocess2020-11-12T03:16:02+01:00Karel KociFix script timeout of subprocessThis fixes #177This fixes #177Turris OS 3.6Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/159Fix bug that causes that missing content wasn't reported2020-11-12T03:16:26+01:00Karel KociFix bug that causes that missing content wasn't reportedThis bug caused that when missing package was requested, it was
silently ignored.This bug caused that when missing package was requested, it was
silently ignored.Turris OS 3.6Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/158Old opkg dirs2020-11-12T03:15:55+01:00Karel KociOld opkg dirsFix for directoris in /usr/lib/opkg/info/*.list files.Fix for directoris in /usr/lib/opkg/info/*.list files.Turris OS 3.6Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/186Add fail messages to migrator2020-11-12T03:22:16+01:00Karel KociAdd fail messages to migratorTurris OS 3.7Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/185Fix migrator being killed when it uninstall it self2020-11-12T03:21:30+01:00Karel KociFix migrator being killed when it uninstall it selfTurris OS 3.7Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/211Fixups2020-11-12T03:28:18+01:00Karel KociFixupsVarious fixups. Hight priority.
Should fix #201 as message is already printed and this fixes error it raises.Various fixups. Hight priority.
Should fix #201 as message is already printed and this fixes error it raises.Turris OS 3.8Michal HruseckyMichal Hruseckyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/205Steal installed2020-11-12T03:28:11+01:00Karel KociSteal installedTurris OS 3.8Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/197Not breaks implication chain2020-11-12T03:28:41+01:00Karel KociNot breaks implication chainTurris OS 3.8Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/195Conflicts2020-11-12T03:27:41+01:00Karel KociConflictsTurris OS 3.8Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/194Provides multiple2020-11-12T03:28:53+01:00Karel KociProvides multipleSee commit messages...See commit messages...Turris OS 3.8Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/226WIP: Supervisor2019-05-06T17:47:58+02:00Karel KociWIP: SupervisorUpdater's supervisor library/program. Intended as a replacement of `updater.sh`.
Solves #244 and #245.Updater's supervisor library/program. Intended as a replacement of `updater.sh`.
Solves #244 and #245.Turris OS 3.10https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/253Uri2019-05-06T17:47:54+02:00Karel KociUriFixes: #160 #227 #252 #212 #211
Obsoletes: #150Fixes: #160 #227 #252 #212 #211
Obsoletes: #150Turris OS 4.0Boleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/250Memory ups2019-05-06T17:47:56+02:00Karel KociMemory upsThis patch should make memory usage of updater little bit less.This patch should make memory usage of updater little bit less.Turris OS 4.0Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/249Expand agent and parse os-release while dropping target board and model and s...2019-05-06T17:47:54+02:00Karel KociExpand agent and parse os-release while dropping target board and model and serialThis drops a lot of variables that should be provided by distribution script and replaces some of them with generalized approach (generic `os-release` file).
This also expands reported curl agent to also contain os version.
Closes...This drops a lot of variables that should be provided by distribution script and replaces some of them with generalized approach (generic `os-release` file).
This also expands reported curl agent to also contain os version.
Closes #256Turris OS 4.0Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/245Download2019-05-06T17:47:54+02:00Karel KociDownloadNew implementation of downloader. It is now not used but it is going to be used in new URI implementation.New implementation of downloader. It is now not used but it is going to be used in new URI implementation.Turris OS 4.0Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/265src/lib/interpreter: fix invalid size of args array for lua_subprocess2019-11-06T11:02:16+01:00Karel Kocisrc/lib/interpreter: fix invalid size of args array for lua_subprocessThis also implements one TODO to validate type.This also implements one TODO to validate type.Turris OS 4.0.2https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/267lib/autoload/postprocess: replace invalid tab with space2020-01-20T14:51:17+01:00Karel Kocilib/autoload/postprocess: replace invalid tab with spaceThe Provides argument had tab instead of space in regexp and that caused
space to be considered as part of package name. This effectively created
new package with space prepended to name.
Fix https://gitlab.labs.nic.cz/turris/updater/up...The Provides argument had tab instead of space in regexp and that caused
space to be considered as part of package name. This effectively created
new package with space prepended to name.
Fix https://gitlab.labs.nic.cz/turris/updater/updater/issues/290Turris OS 4.0.5https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/271WIP: Conditional requests2020-02-17T16:25:57+01:00Karel KociWIP: Conditional requestsWe need this to support languages and also to install for example fix packages if some package is requested.We need this to support languages and also to install for example fix packages if some package is requested.Turris OS 5.0https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/282src/lib/lua/planner: reinstall package if more than version not match2020-06-24T23:24:03+02:00Karel Kocisrc/lib/lua/planner: reinstall package if more than version not matchThis extends list of fields checked for reinstall to not only Version
but also to Architecture, LinkSignature, Depends, Conflicts, Provides.
There are two reasons why we want to have these:
First reason applies on Architecture, Depends...This extends list of fields checked for reinstall to not only Version
but also to Architecture, LinkSignature, Depends, Conflicts, Provides.
There are two reasons why we want to have these:
First reason applies on Architecture, Depends, Conflicts and Provides.
Those trigger update to get package information in sync with repository.
Updater runs planning against repository so this has no effect but in
the end if someone forgets to bump package but modifies dependencies for
example then we reinstall package anyway.
Second reason to reinstall package applies on LinkSignature and that is
field inserted with hash generated from dynamic linker information
collected for package. When this hash changes then link dependencies
changed and even if version is same we have to reinstall such package as
it most probably won't work with updated dependencies.
As a tinny bonus logs now contain info about version or any other field
if the differ and that way info about the reason to reinstall given
package.
This is tied to https://gitlab.labs.nic.cz/turris/turris-build/-/merge_requests/189
Fixes https://gitlab.labs.nic.cz/turris/turris-build/issues/146
Indirectly potentially fixes https://gitlab.labs.nic.cz/turris/turris-build/issues/154 and https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/417.Turris OS 5.1