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
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Can anyone recommend a strategy for customizing the topgrade configuration based on environment? For example, I'd love a way to customize the steps that are enabled/disabled or the custom commands that are run based on hostname or operating system.
I synchronize my dotfiles, including topgrade.toml, between computers. I have strategies for customizing other configuration files based on the environment. For example, in .bashrc, I check the username and hostname before setting some configuration options. In .gitconfig, I use [include] to include a file named .gitconfig.local, which contains local configuration options that are not synchronized between computers. I can't think of a way to do something like this in topgrade, however, because I don't think it provides the same affordances.
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
-
Can anyone recommend a strategy for customizing the topgrade configuration based on environment? For example, I'd love a way to customize the steps that are enabled/disabled or the custom commands that are run based on hostname or operating system.
I synchronize my dotfiles, including topgrade.toml, between computers. I have strategies for customizing other configuration files based on the environment. For example, in .bashrc, I check the username and hostname before setting some configuration options. In .gitconfig, I use
[include]
to include a file named .gitconfig.local, which contains local configuration options that are not synchronized between computers. I can't think of a way to do something like this in topgrade, however, because I don't think it provides the same affordances.Beta Was this translation helpful? Give feedback.
All reactions