updater issueshttps://gitlab.nic.cz/turris/updater/updater/-/issues2019-05-06T17:47:45+02:00https://gitlab.nic.cz/turris/updater/updater/-/issues/67Send logs of what has been installed and uninstalled2019-05-06T17:47:45+02:00Ghost UserSend logs of what has been installed and uninstalledSend the results of transaction once the updater has run. Also, send an error report if the updater fails.Send the results of transaction once the updater has run. Also, send an error report if the updater fails.https://gitlab.nic.cz/turris/updater/updater/-/issues/66Deploy2020-11-12T02:24:13+01:00Ghost UserDeployProvide basic config structure ‒ something for the router itself, containing user's packages and repository URIs. Also provide a server-side config with the list of packages to install. No „user-list“ support as of yet, just something th...Provide basic config structure ‒ something for the router itself, containing user's packages and repository URIs. Also provide a server-side config with the list of packages to install. No „user-list“ support as of yet, just something that can be used.https://gitlab.nic.cz/turris/updater/updater/-/issues/65Go through the TODO/FIXME2020-11-12T02:24:15+01:00Ghost UserGo through the TODO/FIXMEAnd check there's nothing critical that'd stop us from using the updater in somewhat production environment.And check there's nothing critical that'd stop us from using the updater in somewhat production environment.https://gitlab.nic.cz/turris/updater/updater/-/issues/64The reboot flags2020-11-12T02:24:15+01:00Ghost UserThe reboot flagsImplement support for rebooting during or after the updater runs.Implement support for rebooting during or after the updater runs.https://gitlab.nic.cz/turris/updater/updater/-/issues/63Reinstall flag support2020-11-12T02:24:14+01:00Ghost UserReinstall flag supportImplement the reinstall flag.Implement the reinstall flag.https://gitlab.nic.cz/turris/updater/updater/-/issues/62The replan flag2020-11-12T02:24:12+01:00Ghost UserThe replan flagImplement the replan flag. That way, when we deploy the updater in omnia by default, we would be able to update the updater as the first thing and provide full support for everything else.Implement the replan flag. That way, when we deploy the updater in omnia by default, we would be able to update the updater as the first thing and provide full support for everything else.https://gitlab.nic.cz/turris/updater/updater/-/issues/60Support for the internal URI scheme2020-11-12T02:24:09+01:00Ghost UserSupport for the internal URI schemeThe support for the `internal` URI scheme, as described in the language design document, is missing from the URI manager (it has been forgotten). Implement embedding of the resources and extraction into a lua variable and wrap it into a ...The support for the `internal` URI scheme, as described in the language design document, is missing from the URI manager (it has been forgotten). Implement embedding of the resources and extraction into a lua variable and wrap it into a new scheme.https://gitlab.nic.cz/turris/updater/updater/-/issues/59Validation of data sources2020-11-12T02:24:10+01:00Ghost UserValidation of data sourcesThe uri manager needs to perform the validation, described in the language design document. That means obtaining the certificates and signatures and applying them when everything is done. Consider if we allow the certificates to be downl...The uri manager needs to perform the validation, described in the language design document. That means obtaining the certificates and signatures and applying them when everything is done. Consider if we allow the certificates to be downloaded (because then we have a problem with events for the download of the certificate needs to be waited for before the real download starts).
Consider doing it in more generic way, so it can be shared between all the uri schemes.https://gitlab.nic.cz/turris/updater/updater/-/issues/58Get table of all available packages2020-11-12T02:24:11+01:00Ghost UserGet table of all available packagesAggregate info from all the repositories into one table, producing list of candidates for each package. Merge the package requests with these candidates somehow and filter only the packages that fulfill the criteria.
- [x] Depends on #...Aggregate info from all the repositories into one table, producing list of candidates for each package. Merge the package requests with these candidates somehow and filter only the packages that fulfill the criteria.
- [x] Depends on #57 (Download repositories)https://gitlab.nic.cz/turris/updater/updater/-/issues/57Download the mentioned repositories2020-11-12T02:24:13+01:00Ghost UserDownload the mentioned repositoriesGo through the repositories mentioned in the configuration files and download them. Parse each of them to produce a package list.
- [x] Depends on #39 (URI manager)Go through the repositories mentioned in the configuration files and download them. Parse each of them to produce a package list.
- [x] Depends on #39 (URI manager)https://gitlab.nic.cz/turris/updater/updater/-/issues/56Make sure data survives reboot2020-11-12T02:24:13+01:00Ghost UserMake sure data survives rebootLook through the backend code and make sure we don't get any zero-length data somewhere (including status files) or recover from that situation.
Look at the rename guarantees, etc:
https://btrfs.wiki.kernel.org/index.php/FAQ#What_are_t...Look through the backend code and make sure we don't get any zero-length data somewhere (including status files) or recover from that situation.
Look at the rename guarantees, etc:
https://btrfs.wiki.kernel.org/index.php/FAQ#What_are_the_crash_guarantees_of_overwrite-by-rename.3Fhttps://gitlab.nic.cz/turris/updater/updater/-/issues/55Handle flags in /usr/lib/opkg/status2020-11-12T02:24:11+01:00Ghost UserHandle flags in /usr/lib/opkg/statusThere are status flags and they may be something different than the usual `install user installed`. Try to find out more about what they mean.
Notice that they can obviously be used to store info about modified orphaned config file with...There are status flags and they may be something different than the usual `install user installed`. Try to find out more about what they mean.
Notice that they can obviously be used to store info about modified orphaned config file with `not-installed`.
Handle the flags.https://gitlab.nic.cz/turris/updater/updater/-/issues/52Make it possible to disable updater2020-11-12T02:24:13+01:00Ghost UserMake it possible to disable updaterIt should be possible to disable Updater in Omnia. A checkbox for this should be then shown in Foris.
Blocks turris/foris#8It should be possible to disable Updater in Omnia. A checkbox for this should be then shown in Foris.
Blocks turris/foris#8https://gitlab.nic.cz/turris/updater/updater/-/issues/50Include command support2019-05-06T17:47:04+02:00Ghost UserInclude command supportSupport the `Include` command.
- [x] Depends on #39 (URI manager)Support the `Include` command.
- [x] Depends on #39 (URI manager)https://gitlab.nic.cz/turris/updater/updater/-/issues/49Updater interface2019-05-06T17:47:04+02:00Ghost UserUpdater interfaceInterface wrapper to emulate the old updater.
- [ ] Depends on #46 (The updater binary)Interface wrapper to emulate the old updater.
- [ ] Depends on #46 (The updater binary)https://gitlab.nic.cz/turris/updater/updater/-/issues/48Opkg interface simulator2019-05-06T17:47:04+02:00Ghost UserOpkg interface simulatorSimulate the command line of opkg (replace it with a script or something).
- [ ] Depends on #47 (Commands to remove or install a package)Simulate the command line of opkg (replace it with a script or something).
- [ ] Depends on #47 (Commands to remove or install a package)https://gitlab.nic.cz/turris/updater/updater/-/issues/47Commands to add or remove a package2019-05-06T17:47:41+02:00Ghost UserCommands to add or remove a packageCommands to add or remove packages from a list of desired.
- [x] Depends on #46.Commands to add or remove packages from a list of desired.
- [x] Depends on #46.https://gitlab.nic.cz/turris/updater/updater/-/issues/46The updater binary2019-05-06T17:47:04+02:00Ghost UserThe updater binaryWrap the above stuff into a binary that can be called.Wrap the above stuff into a binary that can be called.https://gitlab.nic.cz/turris/updater/updater/-/issues/45Feed the installation backend with desired actions2020-11-12T02:24:13+01:00Ghost UserFeed the installation backend with desired actionsDownload the needed packages and feed it to the current transaction backend. Get the list of actions from #44.
- [x] Depends on #44.Download the needed packages and feed it to the current transaction backend. Get the list of actions from #44.
- [x] Depends on #44.https://gitlab.nic.cz/turris/updater/updater/-/issues/44Compare the desired and installed list of packages2020-11-12T02:24:11+01:00Ghost UserCompare the desired and installed list of packagesCompare the lists and produce a list of packages to install and remove.
- [x] Depends on #43.Compare the lists and produce a list of packages to install and remove.
- [x] Depends on #43.