Giter Site home page Giter Site logo

nugetdownloader's People

Contributors

mikkou-adafy avatar mikoskinen avatar mivalkonen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

nugetdownloader's Issues

Extract Nuget downloading features from PluginFramework to a separate project

PluginFramework contains a feature which allows to use Nuget-packages as plugins. The code is available from here: https://github.com/weikio/PluginFramework/tree/master/src/Weikio.PluginFramework.Catalogs.NuGet

Changes

Move the PackageManagement code from PluginFramework into this separate repository. Project name and namespace should be Weikio.NugetDownloader.

Publish the Weikio.NugetDownloader as a separate Nuget-package.

Change PluginFramework so that uses the new Weikio.NugetDownloader package.

Support for downloading the latest version from a specific "ring"

It should be possible to download the latest "stable", "alpha", "beta", "rc" etc. version easily.

Download(packageName) should default to the latest stable.
Download(packageName, "beta") should download the latest beta.

Though in some cases it should be possible to define the "ring" and also the major. So maybe something like:

Download(packageName, "3..beta")

Not sure about the syntax. Any ideas?

When your plugin has a Windows specific TFM the nuget catalogs don't work

If you have a nuget based plugin that uses a TFM like "net6.0-windows10.0.19041" the nuget catalog initializations will fail even if the executable loading the plugins is targeting the same TFM. This is due to a difference in how the NuGetFramework parse calls behave. When these calls are made within the nuget downloader they return framework objects that don't pass the test:

            var _compProvider = new CompatibilityProvider(new DefaultFrameworkNameProvider());
            var compatible = _compProvider.IsCompatible(bal, baz);

NuGetFramework.Parse("net6.0-windows10.0.19041")
NuGetFramework.ParseFrameworkName("net6.0-windows10.0.19041", frameworkNameProvider);

var nuGetFramework = NuGetFramework.ParseFrameworkName(targetFramework, frameworkNameProvider);

Support for downloading specific version

It should be possible (and easy) to download a specific version of Nuget package. The syntax should be something like:

Download("packagename", "packageversion").

It shouldn't matter if the packageversion is prerelease or not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.