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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: