Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[Enhancement]Version compatibility warning #49

Open

Description

@Igor-Misic

As we progress in development in the future we will need a solution for detecting version compatibility between IMFlasher, IMBootloader, IMLedBlink, and json.config.

  • We can start thinking about adding a minimum required version of IMBootlaoder and IMLedBlink that the current IMFlasher supports, which will inform users about the new version. (ideally with support to download it or point to the link where it can be downloaded)
  • similar logic could go for the config.json file where we are writing the IMFlasher configuration.

At the moment we have config.json that looks like this:

{
    "config_version": {
        "major": "1",
        "minor": "0",
        "patch": "0"
    },
    "enable_signature_warning": "true",
    "servers": [
        {
            "address": "server1.imtech.hr",
            "port": 5322,
            "preshared_key": "NDQ4N2Y1YjFhZTg3ZGI3MTA1MjlhYmM3"
        },
        {
            "address": "server2.imtech.hr",
            "port": 5322,
            "preshared_key": "NDQ4N2Y1YjFhZTg3ZGI3MTA1MjlhYmM3"
        },
        {
            "address": "server3.imtech.hr",
            "port": 5322,
            "preshared_key": "NDQ4N2Y1YjFhZTg3ZGI3MTA1MjlhYmM3"
        }
    ]
}

We can add some logic that will detect a new version of the config exists and then we can extend or change the config to adapt to the newer version.

Activity

  1. added
    enhancement
    on Jun 4, 2022
  2. changed the title [-]Version compatibility warning[/-] [+][Enhancement]Version compatibility warning[/+] on Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions