AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Generic Config "Run Once" Update Stage Setting

Open IceOfWraith opened this issue 3 years ago • 9 comments

Feature Request

Feature Information:

  • What should it do? I'm specifically looking to have the "Executable" Update Stage allow for a "run once" setting for use with a MariaDB config template where running the program mysql_install_db.exe more than once could cause damage to the setup. This would be useful on any update stage though.

  • Is it specific to a given application module? Generic Module

I confirm:

  • [x] that I have searched for an existing feature request matching the description.
  • [x] that my checkboxes above look like the one on the left (remove this line when done)

IceOfWraith avatar Feb 28 '22 17:02 IceOfWraith

Few things I could do here. I could add 'conditional' update stages (Only runs if a certain file doesn't exist) - or update stages that delete themselves from the list once they've run successfully. The former is definitely tidier.

PhonicUK avatar Apr 21 '22 20:04 PhonicUK

I can't think of a scenario right now that checking for an existing file wouldn't address. That seems like the way to go.

Self-destructing update stages do sound cool though. Lol

IceOfWraith avatar Apr 29 '22 16:04 IceOfWraith