-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Update git in base image to prevent 'The repository will be downloaded using the GitHub REST API' #72
Comments
Would this be fixed by updating to Ubuntu 20.04 for our images? |
It would, but we used to start with 20.04 as seen here: And we had to downgrade since officially supported ubuntu version for Unity is is still 18.04 🤦 ref: * 438d326 - Change to ubuntu 18.04 (#44) (3 months ago)
So I'm not sure ubuntu upgrade is the way to go for this. |
Just FYI Ubuntu 20 is now officially supported by Unity 2020.2. https://docs.unity3d.com/2020.2/Documentation/Manual/system-requirements.html |
Yea it's officially support for the latest unity versions. We tried to go Ubuntu 20.04 but it was creating new bugs for older versions of Unity. If we have reason to believe that this git error only occurs the latest versions of Unity we might consider creating a second base image for newer versions. Otherwise it will be far simpler to fix the problem across the board, at least for now. |
I'm using the latest LTS (long term support) version of Unity which is currently 2019.4.19f1. If this version is only supported on Ubuntu 18.04 I think that should remain the base image. Here's what I'm doing at the start of my job to update the Git version :
The more conventional way to add a PPA is to install One more note: the warning about Git 2.17 only appears if you run the |
Thanks for adding the additional information. I was wondering where the whole GitHub Rest API magic came from :) In light of this information I would argue that the change should be out of scope for now. As it is indeed not necessary for any of the workflows in the documentation. Adding the latest git above the OSes stability level could technically cause other problems on the way. Let me know if this would be an acceptable outcome. |
That's fine by me, as mentioned I already know how to update Git in the container. 👍 |
Description
As discussed on Discord;
Context
The text was updated successfully, but these errors were encountered: