-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts are now available as casks #8
Comments
Vítor, Thank you for making a cask of my scripts. I was just asked about something like this on Twitter today. :) Why are you renaming the scripts on installation? I don't want my scripts to be renamed in this fashion as it will make it very fragile for me to ever have one call the other, something I was considering for the future. So, I can't endorse the project with that behavior. Also, please don't install Thanks. |
Even though we don’t yet have rules for when it’s acceptable or not to rename CLI tools (we do have them for GUI apps), users and contributors generally seem to care about and like this type of “normalisation” for CLI tools, so it was done with that in mind. Having the scripts break on interoperability due to such a preventable change on our side would, naturally, be unacceptable, so those modifications were already corrected and merged, including using the stable version of handbrake-cli. |
Cool! Thanks for the quick response and update. That's awesome. :) I'll write a draft of the update to the If you want to write any draft yourself, feel free to do so. You're the expert on how it works. Thanks again! |
Oh, obviously I'll leave this issue open while we work on this. |
Vítor, Sorry, I got sick yesterday evening so I didn't work on this last night. I'm still sick but I'm trying to look at this now. I just noticed a problem with the A few days ago, I updated my
Is it possible to add this to your formula? |
Please Don, screw software, health first1; look at this at your convenience. Unfortunately we don’t have the option to provide install flags to homebrew dependencies, no, but I’ve already opened an issue so we can work on it. If you want to close the issue in the meantime (since I can’t give a time frame for implementation), please feel free to do so (lingering issues can be annoying), as I’m confident I won’t forget to report back when we have a resolution (or an impossibility). 1 Unless said software improves health, I guess. |
Love that footnote. :) And thanks for opening that issue! I didn't realize that wasn't possible yet. The good news is that I'll leave this open for now as I plan to get back to this in a few days, depending upon recovery time and how long it takes me to complete version 5.4 of BTW, to document this correctly, I think I may need to reverse the order of the "Requirements" and "Installation" sections of the |
As one of the folks on Twitter asking about this, thank you!! |
BTW, I'm still working on this. I just don't like anything I've written so far. I'm now trying to merge the "Requirements" and "Installation" sections and then create sub-sections for manual and then assisted installation via Homebrew. |
any news on this and availability via homebrew? |
@daDnaK To be clear, they are already available, this issue is solely about the documentation. You can get them all via homebrew-cask with |
ah cool, thx. Worked as expected! |
Closing this, since the new version is encouraged. Will also be removing these from homebrew-cask, so users don’t install them by mistake (and then open bug reports for unrelated versions). Thank you for the continued work on these, Don. |
Why not add the new version to cask? |
Vitor, You are very welcome, sir! Erin, Since the new version is a Gem, I don't think a Cask is necessary for the tools themselves. But it might be handy to create a Cask of the dependencies. |
So what is now the recommended way to keep these tools updated? Would it be possible to install this via homebrew and keep it updated that way?
|
The recommended way to keep the tools updated is simply to update your installed Ruby Gems:
|
ah cool! Perfect, thx! |
sigh, Yet Another Package Manager. But I hear you Don, thanks for the great work you've done. |
@edalzell As Don said, homebrew-cask would not add much by adding the new version there. In fact, it could even be harmful, were it to become outdated.
Yes, but that one is already installed by default. As for
We actually started discussing that idea a while back, the concept of metacasks, but nothing as come of it yet. There is, however, a solution officially supported by homebrew, homebrew-bundle, that could be used for this. If it supported Brewfiles (files that describe what to install) loaded via a url (it does not) then one could be officially supported and a single command given to take care of all dependencies. |
@vitorgalvao That home-brew-bundle idea is promising. Dang. Wish it had all those features. Especially since I simplified the dependencies for the Ruby version, e.g. FFmpeg doesn't require a special build anymore. |
I noticed that, it was pleasant to see. Always great when there’s one less thing to worry about.
It does have a |
I’m submitting this as an issue instead of a PR because I don’t know where, if, and how much of this information you’d like to include. If you want to give me some pointers in that regard, I can work on a first draft.
The scripts in this repo are now available as casks. What this means is if you have homebrew-cask installed, you can
brew cask install convert-video detect-crop query-handbrake-log transcode-video
to install them all at once (or pick just some, naturally), with their respective dependencies.All the dependencies are satisfied via homebrew and homebrew-cask, according to the table in the README. The only difference is
handbrakecli
as these casks, when depending on it, will installhandbrakecli-nightly
instead, since you seem to favour it. If you believe the non-nightly version should be installed by default instead, please let me know so the correction can be made.I’ve set them all as version
5.3
since they all download the same package (the complete source from github) and this gives some consistency to track them. Theirsha256
will, naturally, need to be updated with your changes (even changes to the README, now that I think about it).When installing these with homebrew-cask they’ll be slightly renamed (will lose the trailing
.sh
), and be linked by default to/url/local/bin
(can be easily changed at install time with the--binarydir
flag).We haven’t yet implemented an
upgrade
verb, though, which means that to install an update, you need to know it exists and tell homebrew-cask to download and install the new version.The text was updated successfully, but these errors were encountered: