Skip to content
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

u3d/available: fetch versions data from a central repository, speeding up identification of available releases #142

Closed
lacostej opened this issue Sep 14, 2017 · 0 comments · Fixed by #217

Comments

@lacostej
Copy link
Member

lacostej commented Sep 14, 2017

Not everyone might want to use u3d, but having the list of licenses might be interesting. We could make a cron job that keeps this information available on a service.

Also answer https://support.unity3d.com/hc/en-us/articles/211013503-How-can-I-have-a-fully-automated-build-process-that-can-fetch-and-install-any-version-of-Unity-into-our-build-environment-

The complete idea is the following

  • make a service that creates an online cache
U3dCore::Helper.operating_systems.each do |os|
	U3d::Cache.new(force_os: os, force_refresh: true)
end
  • cache this online every now and then
  • update u3d to fetch from that service first.

Advantages:

  • we can provide this information to humans (see support question above)
  • we can provide this information to other programs
  • we can provide this information to u3d itsel: if the u3d available code breaks again, older versions don't need to be updated. This would also make available much faster.
  • if that server is unavailable, fallback on fetching information yourself
  • people should be able to disable that feature, but it could be on by default
@lacostej lacostej changed the title Provide the list of updated Provide the list of changesets for Unity on all platforms Sep 14, 2017
lacostej added a commit that referenced this issue Jan 8, 2018
u3d/available: introduce a central cache (fixes #142)
@lacostej lacostej changed the title Provide the list of changesets for Unity on all platforms u3d/available: fetch versions data from a central repository, speeding up identification of available releases Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant