Skip to content

Add content none option to dependencies file #199

Closed

Description

@forki

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?

Activity

  1. changed the title [-]Add `content none` option to dependencies fil[/-] [+]Add `content none` option to dependencies file[/+] on Sep 29, 2014
  2. forki commented on Sep 30, 2014

    @forki
    MemberAuthor

    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

  3. thinkbeforecoding commented on Sep 30, 2014

    @thinkbeforecoding
    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.

  4. theimowski commented on Oct 1, 2014

    @theimowski
    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

  5. agross commented on Oct 1, 2014

    @agross
    Contributor

    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.

  6. ctaggart commented on Oct 2, 2014

    @ctaggart
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions