A colleague is interested in trying to help write a homebrew formula for installing cargo, so that brew install cargo will work.
One hurdle that my colleague pointed out is that the homebrew policies for acceptable formulae requires that stable versions be tagged in the upstream project repository. I'm not a cargo developer, so perhaps the plan is indeed to start using the tag mechanism once we have hit a version beyond 0.0.1-pre, but we have not yet hit a stable version, and thus no tags yet exist.
Anyway, I figured I would open this ticket to track any effort towards homebrew compatibility, with the intention that this ticket be closed once brew install cargo does something plausible. :)
A colleague is interested in trying to help write a homebrew formula for installing cargo, so that brew install cargo will work.
For reference, I am the colleague. :frog: I'm happy to prepare to write the brew formula (etc) and act as a maintainer if the upstream requirements are met.
I'd love to get this working! Is there anything that the repo needs to do other than have a tag somewhere inside it? I could just make a tag and bump the version number slightly in that case!
Once of the requirements for inclusion in the base Homebrew channel is having tagged "stable releases" for the repo in question. For projects that don't have stable releases (i.e. always install HEAD), there is a "headonly" tap; however, this is generally considered bad form, so reliably tagging stable releases would be the best bet.
Hi,
I see that this was closed, however, #995 does not fulfil this bug. To be clear, for brew compatibility each stable release must be (git) tagged as appropriate; I note that the cargo tag list contains only 0.0.1-pre.
+1
it sounds like the fundamental problem here has not been resolved. @alexcrichton please reopen.
Current workaround:
$ brew cask install cargo
+1
Has this been done yet? Because brew install cargo still doesn't work afaict.
to my knowledge it is still unaddressed.
+1
+1
+1
+1
:+1:
+1
+1
still can't brew install cargo. was expecting brew install rust to install cargo as well, but alas.
brew install rust now installs cargo as of https://github.com/Homebrew/homebrew/commit/1be7f90419594fed9bbd035336239ed5e7c4a032
Most helpful comment
brew install rustnow installs cargo as of https://github.com/Homebrew/homebrew/commit/1be7f90419594fed9bbd035336239ed5e7c4a032