DirectAdmin 1.716

@fln, did the custombuild hooks rename to match new DA commands by the way? Or will the old hooks be still used? If yes, will be there any migration period?


Updates:

The new command da build updates replaces the old-style da build update_versions. The old one is still supported by CustomBuild. But each of the commands triggers its own hook:

The command da build updates executes /usr/local/directadmin/custombuild/custom/hooks/updates/post/script.sh (post/pre)
The command da build update_versions executes /usr/local/directadmin/custombuild/custom/hooks/update_versions/post/script.sh(post/pre).

So the question still remains: how long the migration period will be?
 
Last edited:
So the question still remains: how long the migration period will be?
Indeed however for speed efforts, it would be better to synchronise the commands the same way.

So "da build update" is changed to "da update" so far so good although i don't understand why to rmove the "build" part since it's still in the "updates" command for the versions.
Might have been better to keep it as it was, or change the updates for the versions to "da update_versions" to keep the commands more structural.
Just my 2 cents.
 
@zEitEr, yes the CB hook system is purely based on command arguments. So far we have restructured all commands that would just dump information (commands starting with show_...). Regarding the updates vs update_version you are free to use whichever you prefer. Just add the hooks to the command that you will be using.

The legacy commands will stay there for at least a year or even more.
 
Back
Top