Skip to content

Add a boolean in order to configure interactive update for the wrapper at every command execution in config.yml #267

@AkechiShiro

Description

@AkechiShiro

The needs

I would like to disable the interactive question asked everytime when a new release is out, when I launch any Exegol commands, I'd prefer to have just a single printed message (mentioning that a new version is out and that I'm not on the latest release but with no interruption/interactivity).

An interactive update cannot be done on immutable Linux distros, asking to update interactively gets in the way when a new release is made, until the package is updated in the distro.

I believed the auto_check_update was the flag to set to avoid this behavior but it isn't, as it doesn't affect this line https://github.com/ThePorgs/Exegol/blob/master/exegol/manager/ExegolManager.py#L255C32-L255C49

Description

A flag to add into config.yml in order to configure whether we want to be either notified of newer version or not,

By default, this interactive update behavior would be set to True (to not change the behavior for users who can and do use it) and it could be configured to False by users under immutable Linux distros, it could be called InteractiveAskUpdateForWrapper.

Alternatives

No response

Additional context

I may try to submit a PR if I find time too

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions