CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
207 stars 38 forks source link

Generic Config "Run Once" Update Stage Setting #594

Open IceOfWraith opened 2 years ago

IceOfWraith commented 2 years ago

Feature Request

Feature Information:

I confirm:

PhonicUK commented 2 years ago

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.

IceOfWraith commented 2 years ago

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 commented 3 months ago

This doesn't seem to be needed anymore now that we have conditional and run once update stages.

Greelan commented 3 months ago

Except OneShot doesn't work?

IceOfWraith commented 3 months ago

Oh? That's news to me.

Greelan commented 3 months ago

I added it to Tarkov in the hope it would prevent the same version of node being installed on every update. Doesn't seem to make a difference

IceOfWraith commented 3 months ago

Yeah I'll take a look. For sure at one time it would delete the stage.

Greelan commented 3 months ago

We probably want something tho as well in the UI to reset the "has successfully updated once" flag - in case something is corrupted/deleted and the stage(s) need to be run again

IceOfWraith commented 3 months ago

Also to note, figuring out how it's handled on template updates.