Page MenuHomeDevCentral

Allow update script to be used for init too
ClosedPublic

Authored by dereckson on Sun, Aug 30, 08:34.
Tags
None
Referenced Files
F47473739: D4201.id11020.diff
Mon, Aug 31, 11:08
F47473074: D4201.diff
Mon, Aug 31, 10:59
F47454782: D4201.diff
Mon, Aug 31, 07:57
F47452260: D4201.id11019.diff
Mon, Aug 31, 07:36
F47437989: D4201.diff
Mon, Aug 31, 05:03
F47404735: D4201.id11019.diff
Sun, Aug 30, 23:09
Subscribers
None
Tokens
"Y So Serious" token, awarded by dereckson.

Details

Summary

When site deployment instructions can cover in the same workflow
both the init and update cases, this change allows to only give
an update script. It will be used for both deployments.

That requires the script to be able to initialize and recreate
the main site directory too.

This avoids to add complexity in operations repository to copy
or symlink both the same script for both purposes.

Fixes T2356.

Test Plan
  • new unit tests have been provided
  • test with labs. in T2354

Diff Detail

Repository
rALK Alkane
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Code by Qwen3.8-Max
Review and dangling_init_symlink case by GPT-5.6-Sol

This revision is now accepted and ready to land.Sun, Aug 30, 18:30