-
Notifications
You must be signed in to change notification settings - Fork 903
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
Declaring dependency on packages from alternate sources #879
Comments
I'm surprised there isn't already an issue created for this? |
I did not find anything, not even in the old chocolatey repo. |
This is one of those things where almost all of NuGet packaging will need to be integrated into Chocolatey's codebase. Since the concept of alternate sources is foreign to NuGet.Core at this time, I'm pushing this out to 1.x or 2.x |
There has been a lot of discussion on this, that's why it is surprising. |
This could be sweet. Current workaround is probably using a Boxstarter script or custom ps1 to do all the choco calls, but native would be awesome especially for installing VisualStudio and various Vsix plugins. |
VSIX and VisualStudio is already supported as packages. |
If it were implemented, I would probably craft a new "Windows Update" source, which could eliminate the burden of creating KB packages. |
Boxstarter already includes a Windows Update capability, perhaps build on
that? I know it has some options for specifying/ignoring updates so maybe
could target specific KBs.
…On Dec 2, 2016 2:19 AM, "Jakub Berezanski" ***@***.***> wrote:
If it were implemented, I would probably craft a new "Windows Update"
source, which could eliminate the burden of creating KB packages.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#879 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdxXoQcnFiG2RY6xu4jU4y3CTRmOL8Rks5rD9R4gaJpZM4JWiQ6>
.
|
Chocolatey offers a variety of JREs and JDKs but doesn't support alternate dependencies[1]. Remove the jre8 dependency for now. [1] chocolatey/choco#879
Any update on this? I was trying to create a dependency on NetFx3 in windowsfeatures. |
@jarl-haggerty not yet - this requires more invasive changes to the nuspec format. It has a milestone attached to it, and as you might see that is 2.x. We are still in the works for 1.x |
You can simply create a package for now for netfx3. Also keep in mind to do what you would like, we would need to take into consideration that we'd need os grouped dependencies as the feature names can change in different OS versions (from Windows Features / DISM). |
As a user I find it ridiculous I have to go over Description to confirm the package doesn't have some non-automatic dependencies and then install them manually. |
@lukasz-mitka just to make sure that we are talking about the same thing here... can you provide an example of a package where this is currently the case? Thanks |
@gep13 Here: https://community.chocolatey.org/packages/docker-engine |
I'd like to be able to specify in the nuspec a dependency on a package from one of the alternate sources, in particular WindowsFeatures or WebPI.
For example:
The text was updated successfully, but these errors were encountered: