Skip to content

Investigate upgradability from historical PiRogue to new ViRogue #21

Description

@CyrilBrulebois

Initially we mentioned we would not try and support upgrades from the historical, PiRogue-based approach to the new pirogue-admin/ViRogue-based approach.

That would probably mean using different repositories, having the risk of users still pointing to the old/current ones and never getting any upgrades.

It seems feasible to try and support that upgrade in best effort mode, with at least a couple of glitches spotted with a first attempt:

  1. pirogue-ap and pirogue-networking have files in common, a Conflicts is needed.
  2. A few things happened in the debian-12 branch that need to be merged/cherry-picked into the virogue one (e.g. in deb-packages, for the pirogue-archive-keyring addition).
  3. The --redeploy cannot work when existing packages (e.g. pirogue-dashboard, pirogue-eve-collector, pirogue-flow-inspector) get upgraded: the config file is very likely to be missing at this point.
  4. And pirogue-base.postinst only does autodetection on initial installation. It should also do it when upgrading from an “historical” version.

Quick comments/ideas:

  1. Is probably trivial.
  2. Will need to be seriously investigated when we get closer to a first release.
  3. Is probably easily addressed by turning the hard failure into a warning (I wanted to notice if things went KO, but making the upgrade smoother is a good reason to revisit this initial decision).
  4. Is probably easy as I decided to go for 1.2.* versions in the virogue branch while 1.1.* versions are used in the debian-12 branch. Version comparison will let us know if we're upgrading from an “historical, PiRogue-based” setup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions