You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the current experimental hooks feature is limited to per-project configuration, but there’s also a need for global preinstall/postinstall hooks. For instance, when installing a new Rust version, I’d like to automatically place a default Cargo configuration file (config.toml) in its .cargo/ directory to make sure additional compiler flags are used. When installing a new version of Go or Ruby as an upgrade to the current system-wide default version, I’d like to install some must-have utilities using go install/gem install. When installing a new version of PostgreSQL, you could dump the databases of the current version in preinstall and then restore them in postinstall.
These hooks would streamline routine setup tasks and ensure consistency across all versions of tools used in day-to-day development.
This discussion was converted from issue #3834 on December 27, 2024 14:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It seems the current experimental hooks feature is limited to per-project configuration, but there’s also a need for global preinstall/postinstall hooks. For instance, when installing a new Rust version, I’d like to automatically place a default Cargo configuration file (config.toml) in its .cargo/ directory to make sure additional compiler flags are used. When installing a new version of Go or Ruby as an upgrade to the current system-wide default version, I’d like to install some must-have utilities using
go install
/gem install
. When installing a new version of PostgreSQL, you could dump the databases of the current version in preinstall and then restore them in postinstall.These hooks would streamline routine setup tasks and ensure consistency across all versions of tools used in day-to-day development.
Beta Was this translation helpful? Give feedback.
All reactions