-
Notifications
You must be signed in to change notification settings - Fork 151
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
refactor: hard-code v1 API response #1914
Conversation
It makes no different between depending on an arbitrary Git commit of rust-lang/team and inlining the responded JSON structure.
r? @Kobzol |
Hmm. I don't like this at all 😆 Especially since it's only for a git dependency that is being used by Isn't it possible to vendor a git dependency in Cargo? |
It is indeed supported. The caveats of doing that are:
I am sorry this requires rust-lang/cargo#12307 😞. I am fine with either way. We could alternatively add an exception in rust-lang/rust and work on rust-lang/cargo#12307. Feel free to merge or close :) |
To be clear, we don't really have issues with updating the team API in this repo, so I'm not too worried about the approach that we use with the git dependency. I'm just interested in getting vendoring working without having to hardcode stuff. In |
True. Adding (I am wanting partial vendoring in Cargo more after this 😬) |
Ok, thanks! That being said, not all git dependencies are really needed. It would be nice to resolve the messy |
`ring` is included because it is an optional dependency of `hyer`, which is a training data in rust-pref for optimized build. The license of it is generally `ISC AND MIT AND OpenSSL`, though the `package.license` field is not set. See briansmith/ring#902 `git+https://github.com/rust-lang/team` git source is from `rust_team_data`, which is used by `site` in src/tools/rustc-perf. This doesn't really a part of the compiler, so doesn't really affect the bootstrapping process. See rust-lang/rustc-perf#1914.
`ring` is included because it is an optional dependency of `hyper`, which is a training data in rustc-pref for optimized build. The license of it is generally `ISC AND MIT AND OpenSSL`, though the `package.license` field is not set. See briansmith/ring#902 `git+https://github.com/rust-lang/team` git source is from `rust_team_data`, which is used by `site` in src/tools/rustc-perf. This doesn't really a part of the compiler, so doesn't really affect the bootstrapping process. See rust-lang/rustc-perf#1914.
`ring` is included because it is an optional dependency of `hyper`, which is a training data in rustc-pref for optimized build. The license of it is generally `ISC AND MIT AND OpenSSL`, though the `package.license` field is not set. See briansmith/ring#902 `git+https://github.com/rust-lang/team` git source is from `rust_team_data`, which is used by `site` in src/tools/rustc-perf. This doesn't really a part of the compiler, so doesn't really affect the bootstrapping process. See rust-lang/rustc-perf#1914.
`ring` is included because it is an optional dependency of `hyper`, which is a training data in rustc-pref for optimized build. The license of it is generally `ISC AND MIT AND OpenSSL`, though the `package.license` field is not set. See briansmith/ring#902 `git+https://github.com/rust-lang/team` git source is from `rust_team_data`, which is used by `site` in src/tools/rustc-perf. This doesn't really a part of the compiler, so doesn't really affect the bootstrapping process. See rust-lang/rustc-perf#1914.
`ring` is included because it is an optional dependency of `hyper`, which is a training data in rustc-pref for optimized build. The license of it is generally `ISC AND MIT AND OpenSSL`, though the `package.license` field is not set. See briansmith/ring#902 `git+https://github.com/rust-lang/team` git source is from `rust_team_data`, which is used by `site` in src/tools/rustc-perf. This doesn't really a part of the compiler, so doesn't really affect the bootstrapping process. See rust-lang/rustc-perf#1914.
Another step toward making rustc-perf self-contained.
See rust-lang/rust#125465.
It makes no different between depending on an arbitrary Git commit
of rust-lang/team and inlining the responded JSON structure.