facebookincubator / reindeer

Reindeer is a tool to transform Rust Cargo dependencies into generated Buck build rules
MIT License
185 stars 30 forks source link

Remove github restriction #28

Closed Jake-Shadle closed 1 year ago

Jake-Shadle commented 1 year ago

This removes the github.com restriction for vendor = false git sources by employing a strategy similar to cargo for uniquely naming arbitrary git source urls. The url is normalized so it is consistently hashed, then combined with the last path component (for most hosted git providers, the name of the repo/project) + - + the hex hash of the normalized url.

Jake-Shadle commented 1 year ago

Bump.

zertosh commented 1 year ago

^ @dtolnay

facebook-github-bot commented 1 year ago

@dtolnay has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@dtolnay merged this pull request in facebookincubator/reindeer@d2946997e49e9358d520f008085cfbe235855c12.