-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
use shared scripts for init and sccache in cross image #42218
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@bors: r+ Thanks @venkatagiri! |
📌 Commit 5ce2eb1 has been approved by |
@venkatagiri LGTM, thanks! If your are interested, you could extract this and put in a script Edit: I saw @alexcrichton r+ after i wrote this comment |
Eh the URLs there are different enough it may not be worth to do so, but I'd be fine either way! |
Could you clarify what you mean by "Eh the URLs there are different enough it may not be worth to do so"? My suggestion was to create two scripts, so that following the image build is easy because the reader is not distract by details. It would read, build-rumprun, build-arm-musl, install-mips-musl, install-mipsel-musl, etc. |
Yes. Even I thought I could move the install URLs into their own script.
But, since they weren't shared across images, wasn't sure if I need to.
If that's fine, I can go ahead and move them into scripts.
…On May 25, 2017 8:44 AM, "Marco A L Barbosa" ***@***.***> wrote:
Could you clarify what you mean by "Eh the URLs there are different enough
it may not be worth to do so"?
My suggestion was to create two scripts, so that following the image build
is easy because the reader is not distract by details. It would read,
build-rumprun, build-arm-musl, install-mips-musl, install-mipsel-musl, etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42218 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAOIKVBRlWIuN07NEt9GbaEHq7g59nTIks5r9ZOzgaJpZM4NmBir>
.
|
Oh I'd be fine either way. I personally prefer for one-off scripts to just be in the |
@alexcrichton I have extracted the musl installation from Dockerfile into scripts. |
Fixed the tidy errors by splitting the URL into variables. |
@bors: r+ Looks great! |
📌 Commit cb7dbd5 has been approved by |
…chton use shared scripts for init and sccache in cross image cc rust-lang#42201 cc @malbarbo
@bors r-
|
@Mark-Simulacrum Fixed the file permissions. |
I seem to recall a |
Yes. I ran chmod +x on the files and merged them into last commit. |
Ah, okay, I looked in the scripts and I think I was wrong -- we don't actually need to add +x beyond what we store in git. @bors r=alexchrichton |
📌 Commit 7acc999 has been approved by |
…ichton use shared scripts for init and sccache in cross image cc rust-lang#42201 cc @malbarbo
☀️ Test successful - status-appveyor, status-travis |
cc #42201
cc @malbarbo