Closed tonydewan closed 8 years ago
/usr/local/Homebrew/
is non-standard, I think
The link the post-install points you to (https://instrumentalapp.com/docs/isd/getting-started) is not live yet (probably known). It would be good if the post install message told you what to do to get a key and where to put it. For example, where is the toml file?
This worked as expected. I have a couple suggestions, but this is probably shippable now. 💯
/usr/local/Homebrew/ is non-standard, I think
It wasn't, but when I started this an automatic brew update
changed things up on me.
The link the post-install points you to (https://instrumentalapp.com/docs/isd/getting-started) is not live yet (probably known). It would be good if the post install message told you what to do to get a key and where to put it. For example, where is the toml file?
It is known. It exists in the isd-documentation
branch on the web repo. My intention is for that page to have all the answers. Do you have wording suggestions for the post-install message to make that more clear?
For example, where is the toml file?
This formula explicitly doesn't put the toml file in place. This is because:
/etc/
in a Homebrew formula?Do you have wording suggestions for the post-install message to make that more clear?
Maybe something like:
instrumentald is ready to go! Learn about configuration and metric collection at: https://instrumentalapp.com/docs/isd/getting-started
Which is to say, we can probably output some colors/boldness on the link.
It seems like it's not kosher to write directly to
/etc/
in a Homebrew formula
Homebrew formulae and other osx installers typically handle this by using /usr/local/etc/
. We may not want to go so deep.
Homebrew formulae and other osx installers typically handle this by using /usr/local/etc/. We may not want to go so deep.
That was my thinking. I don't feel super strongly, though.
That was my thinking. I don't feel super strongly, though.
So, the question is: how does one get the config. Is it just going to be inlined in the getting started stuff? If so, given we tell them about -c
option, I am 💯 on board.
This formula was moved to https://github.com/Instrumental/homebrew-instrumentald so that the desired installation command (brew install instrumental/instrumentald/instrumentald
) would work as expected.
This formula uses the OSX tarball generated by fpm and assumes it's uploaded to GitHub as a release.
Our users will run the following to install
instrumentald
via homebrew:This PR does not include changes to our build scripts that update the formula details (version, url, hash). Put another way: this formula will need to be manually updated when releases happen. given that it relies on on GitHub releases which is not currently automated, and given that this formula will be used from master whenever invoked by a user, it seemed prudent to not automate it until we automate GitHub releases.
If you'd like to test this locally, you can do what I did: