contao icon indicating copy to clipboard operation
contao copied to clipboard

Add option to contao:setup command to disable cache cleaning/warmup

Open Wusch opened this issue 10 months ago • 5 comments

In our deployment we want to skip the cache cleaning after a composer install and do it later.

Wusch avatar Apr 04 '24 07:04 Wusch

If you need something different, I would suggest to call the individual commands the ContaoSetupCommand is calling yourself. It's only a helper, anyways.

m-vo avatar May 04 '24 08:05 m-vo

The command does more than just call a series of individual commands, so the pull request seems reasonable to me.

leofeyer avatar May 10 '24 10:05 leofeyer

so are we adding a --no-symlinks option etc. as well? The only thing it does in addition to the commands is auto-generate a secret?

aschempp avatar May 27 '24 13:05 aschempp

I would rather add a command to auto-generate a secret, then. And keep this command as a thin helper that calls the others. 🤔

m-vo avatar May 27 '24 14:05 m-vo

If you need something different, I would suggest to call the individual commands the ContaoSetupCommand is calling yourself. It's only a helper, anyways.

so are we adding a --no-symlinks option etc. as well? The only thing it does in addition to the commands is auto-generate a secret?

I agree with you both. @Wusch Can you implement what you need with your own helper?

leofeyer avatar Jul 02 '24 10:07 leofeyer

So this PR can be closed, right?

aschempp avatar Jul 22 '24 10:07 aschempp