Cargo: Make cargo repo compatible with homebrew formulae

Created on 6 Nov 2014  路  19Comments  路  Source: rust-lang/cargo

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. :)

Most helpful comment

All 19 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fprijate picture fprijate  路  3Comments

skletsun picture skletsun  路  3Comments

sdroege picture sdroege  路  3Comments

dotnetspec picture dotnetspec  路  3Comments

ehuss picture ehuss  路  3Comments