NPanday
  1. NPanday
  2. NPANDAY-372

Support for resolving and pushing artifacts from and to NuGet feeds like NuGet Gallery (nuget.org)

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Maven Plugins
    • Labels:
      None

      Description

      Dependency Management has come to .NET - and Microsoft has taken care of it. That means, to be successful we have to integrate.

      NuGet is for dependency management, and the nuget gallery has a couple of hundred OS packages online already.
      I think it should be fairly easy to create a repository layout for those and integrated it with maven.

      Nothing is easy.

      Prioritized Requirements

      For a first release, we should at least support following scenarios:

      1. Resolve library dependencies from nuget repositories / nuget.org (this will be a huge benefit!, right away.)
        How should we do this? Wagon, repository layout? I do not know enough about maven yet.
        Also, which portions of a *.npkg should we support? It has some conventions, but supports very much any content you can put in a zip. It also has visual-studio-specific things in it. Have to investigate more here.
        How do we talk to nuget.org? Via Nuget.Core?
      1. Generate nuspec-file from pom, or if it exsits, patch it
        This will make it easier to pack and push nuget packages, even if this is not automated yet.
      1. Create a '*.npkg' on 'package' and attach as 'nuget-package'
        We need to add a new type != dotnet-*. Should this be part of npanday?
      1. Install *.npgkg to local nuget repository on 'install'
        Is there any standard for this? If not, will we invent one?
      1. Push *.npkg to nuget.org on 'deploy'
        That shouldn't be to hard.

      Unique Selling Proposition

      • Nuget-Packages for VS 2005 and 2008
      • Nuget outside of Visual Studio (currently the cmd-line tool does not do more than download and unzip)

      Nice to have

      • Minimod support
      • further ideas?

        Activity

        Lars Corneliussen created issue -
        Hide
        Lars Corneliussen added a comment -

        I have been playing with nuget in the context of Minimods. Would be great to have somebody in here to discuss further details.

        Show
        Lars Corneliussen added a comment - I have been playing with nuget in the context of Minimods. Would be great to have somebody in here to discuss further details.
        Lars Corneliussen made changes -
        Field Original Value New Value
        Assignee Lars Corneliussen [ lcorneliussen ]
        Description Dependency Management has come to .NET - and Microsoft has taken care of it. That means, to be successful we have to integrate :-)

        NuGet is for dependency management, and the nuget gallery has a couple of hundred OS packages online already.

        I think it should be fairly easy to create a repository layout for those and integrated it with maven.
        Dependency Management has come to .NET - and Microsoft has taken care of it. That means, to be successful we have to integrate.

        NuGet is for dependency management, and the nuget gallery has a couple of hundred OS packages online already.
        -I think it should be fairly easy to create a repository layout for those and integrated it with maven.-

        *Nothing is easy. :-)*

        h4. Prioritized Requirements

        For a first release, we should at least support following scenarios:

         # *Resolve library dependencies from nuget repositories / nuget.org* (this will be a huge benefit!, right away.)
           (!) How should we do this? Wagon, repository layout? I do not know enough about maven yet.
           (!) Also, which portions of a *.npkg should we support? It has some conventions, but supports very much any content you can put in a zip. It also has visual-studio-specific things in it. Have to investigate more here.
           (!) How do we talk to nuget.org? Via Nuget.Core?

         # *Generate nuspec-file from pom, or if it exsits, patch it*
           This will make it easier to pack and push nuget packages, even if this is not automated yet.

         # *Create a '\*.npkg' on 'package' and attach as 'nuget-package'*
           We need to add a new type != dotnet-*. Should this be part of npanday?

         # *Install \*.npgkg to local nuget repository on 'install'*
           (?) Is there any standard for this? (!) If not, will we invent one?

         # *Push \*.npkg to nuget.org on 'deploy'*
           That shouldn't be to hard.
           

        h4. Unique Selling Proposition

         * Nuget-Packages for VS 2005 and 2008
         * Nuget outside of Visual Studio (currently the cmd-line tool does not do more than download and unzip)

        h4. Nice to have

         * Minimod support
         * further ideas?
        Hide
        Stoyan Damov added a comment - - edited

        Wish these were couple of hundred... I'm using NuGet.WebDownloader to download the entire repo. The download just finished with 3,479 packages (~1 GB)

        I'm planning to write a tool which explores all of these and find the ones using all NuGet features and then will think about what can be done...

        The biggest challenge IMO would be the PowerShell installation scripts. The post-install transformations look easier.

        Show
        Stoyan Damov added a comment - - edited Wish these were couple of hundred... I'm using NuGet.WebDownloader to download the entire repo. The download just finished with 3,479 packages (~1 GB) I'm planning to write a tool which explores all of these and find the ones using all NuGet features and then will think about what can be done... The biggest challenge IMO would be the PowerShell installation scripts. The post-install transformations look easier.
        Hide
        Lars Corneliussen added a comment -

        We should also support private nuget-feeds: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds
        This is interesting both for resolve and deploy.

        Integration with symbolsource.com would also be great!
        http://www.symbolsource.org/Public/Blog/View/25

        Show
        Lars Corneliussen added a comment - We should also support private nuget-feeds: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds This is interesting both for resolve and deploy. Integration with symbolsource.com would also be great! http://www.symbolsource.org/Public/Blog/View/25
        Lars Corneliussen made changes -
        Summary Integrate with NuGet and NuGet Gallery (nuget.org) Support for resolving and pushing artifacts from and to NuGet feeds like NuGet Gallery (nuget.org)

          People

          • Assignee:
            Lars Corneliussen
            Reporter:
            Lars Corneliussen
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development