foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.34k stars 1.77k forks source link

feat(`forge install`): add `@tag=` `@branch=` `@rev=` specific refs #9214

Closed grandizzy closed 4 weeks ago

grandizzy commented 4 weeks ago

Motivation

Closes #5996

Right now is hard to determine what @ is used to delimiter (if org, ref, etc.) Introduce @tag= @branch= @rev= to specify ref type (and be able to handle / in tag / branch name without changing current behavior)

Solution

zerosnacks commented 4 weeks ago

In favor of the proposed UX, few small notes