-
Notifications
You must be signed in to change notification settings - Fork 84
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
factor platform code into shared unit #984
Conversation
This is draft because:
|
This is a significantly reduced scope implementation of #793 that takes all the rich info and shoves it back into the shape of ExecutableZipFragment so all the installers can remain the same. However in doing so it introduces much better support for aliases and fallbacks, and centralizes the logic. As a result several missing aliases are added, and fallback is much more maintainable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, and I really appreciate the way this pushes so much of this logic into a central place. Just a few comments.
"{{ artifact.target_triples[0] }}") | ||
echo '{{ aliases[artifact.target_triples[0]] | tojson }}' | ||
"{{ artifact.target_triple }}") | ||
echo '{{ aliases[artifact.target_triple] | tojson }}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note that this needs to be rebased on #986 after that's merged.
This is a significantly reduced scope implementation of #793 that takes all the rich info and shoves it back into the shape of ExecutableZipFragment so all the installers can remain the same. However in doing so it introduces much better support for aliases and fallbacks, and centralizes the logic.
As a result several missing aliases are added, and fallback is much more maintainable.