-
Notifications
You must be signed in to change notification settings - Fork 9
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
Removed internalization of one-time-use pkgs #28
Conversation
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.
need typo fix
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.
LGTM 🚀
I'm gonna request we pull this back out. Sure it speeds up initial setup, but what happens if they need to reinstall something? Gonna need those dependencies in the repo. |
Upon further review and reconsideration. I'm with Stephen that we internalize the CCM packages. We often recommend internalizing the packages from the licensed feed on support calls. It's only right we set good first practice by internalizing these packages and implementing what we preach. As a side note to this i'd like to play around with creating a Jenkins job that we ship with this, and possibly any future QDE releases we do, that would internalize the packages from the chocolatey.licensed source, push them to the test repo. And have the job trigger the already existing Update Production Repository Job. |
So I've just gone over this with @steviecoaster. I've tested this on Windows Server 2016, 2019, and 2022 multiple times. Leaving the internalization and push to Nexus in the setup adds at least 20 minutes to the install time. If their box is any slower or their WAN connection slow in any way, this could increase the time by 30 minutes to an hour. Let's break down what is actually changing. We are leaving out the following packages:
These have dependency on large KB packages, one of which is 2.7GB. These KB's also The other packages we're leaving out are Chocolatey's own packages from the licensed feed. These aren't that large, and I'm not opposed to putting them back in based on @ryanrichter94's rationale above. I'll create a separate issue for this, and submit a separate PR. @steviecoaster & @ryanrichter94 , I've discussed it with you both individually, and we've agreed to leave this PR merged for the time being. We can always revisit later. Hope that makes sense. |
Closes #19 .
ThisPR removes code that internalizes one-time-use packages, as they won't be used again and slow down initial setup. This will greatly improve speed of total setup.