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

Add content none option to dependencies file #199

Closed
forki opened this issue Sep 29, 2014 · 5 comments
Closed

Add content none option to dependencies file #199

forki opened this issue Sep 29, 2014 · 5 comments

Comments

@forki
Copy link
Member

forki commented Sep 29, 2014

After discussing #193

This option will disable the install of any content files.

We need to touch:

  • Parser/Serializer of DependenciesFile needs to handle this option (incl. test)
  • Parser/Serializer of LockFile needs to handle this option (incl. test)
  • Disable the install (propably easiest part)

It's very similar to references strict (see also http://fsprojects.github.io/Paket/nuget-dependencies.html#Strict-references) - so I think it's a perfect up-for-grabs issue.

Any volunteers?

@forki forki changed the title Add content none option to dependencies fil Add content none option to dependencies file Sep 29, 2014
@forki
Copy link
Member Author

forki commented Sep 30, 2014

As @thinkbeforecoding suggested we could do this with something like a .gitignore by giving glob path of content files to avoid to import

that sounds nice

@thinkbeforecoding
Copy link
Contributor

It seems that there's code to parse globs in Fake..

The question then is the syntax to specify those ignore in the paket.dependencies file.

@theimowski
Copy link
Member

What are the examples of NuGet packages that contain both lib and content? Are there any, excluding those that won't pass the content blacklist? If not then maybe the content none is not applicable as one would simply not add NuGet packages with content files

@agross
Copy link
Contributor

agross commented Oct 1, 2014

I don't know any packages with lib and content, but I guess there might be some. Given that such packages might pop up any day, I think it's best to check content separately from libs.

@ctaggart
Copy link
Contributor

ctaggart commented Oct 2, 2014

I gave an example when commenting on #193. It is an indirect dependency:

    FSharp.Data.SqlClient (1.3.5-beta)
      Microsoft.SqlServer.Types (>= 0)

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants