Giter VIP home page Giter VIP logo

home's People

Contributors

albarry4 avatar chrisraygill avatar cristinamanum avatar donnie-msft avatar drewgillies avatar emgarten avatar erdembayar avatar heng-liu avatar jainaashish avatar jcjiang avatar jebriede avatar jeffkl avatar joelverhagen avatar jondouglas avatar jonwchu avatar karann-msft avatar kartheekp-ms avatar maartenba avatar mcnallyella avatar meeraharidasa avatar mkartakmsft avatar nigusu-allehu avatar nkolev92 avatar pragnya17 avatar pranavkm avatar rrelyea avatar skofman1 avatar xavierdecoster avatar zivkan avatar zkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home's Issues

NuGet.PackageManagement: Resolver Gather throws null reference for primary package source is a folder

If the dependent package such as Microsoft.aspnet.mvc lives in a folder and use that folder as the primary package source, resolver gather will throw null reference exception at line 40:

        var packageWithNoDependencyInfoInPrimary = (primaryPackages.Where(p => !primaryRepoPackageDependencyInfo
            .Any(pdi => new PackageIdentity(pdi.Id, pdi.Version).Equals(p)))).FirstOrDefault();

here primaryRepoPackageDependencyInfo is null for a local folder repo, because primarySource.GetResource() returns null.

We should do a null check and also process this scenario accordingly.

Repro step:
install-package https://az320820.vo.msecnd.net/packages/microsoft.aspnet.mvc.4.0.20505.nupkg

type above on PMC.

NuGet.PackageManagement: Uninstalling a package with uninstall.ps1 from powershell console fails

NuGet.PackageManagement: Uninstalling a package with uninstall.ps1 from powershell console fails

Just install and uninstall jQuery from powershell console. Uninstall will work fine but uninstall.ps1 will fail to execute. This is because, in powershell console, today, powershell scripts get executed as post-step at the end in order to avoid thread switching. This does not work for executing uninstall.ps1 since the package directory is already deleted

We have to be able to invoke methods on the powershell dispatcher

PackageResolver: Resolver failed to resolve the correct identities for Update-Package Id scenario

on NuGetPackageManager's PreviewInstallPackageAsyncPrivate method, the call of
IEnumerable newListOfInstalledPackages = packageResolver.Resolve(packageTargetsForResolver, availablePackageDependencyInfoWithSourceSet, projectInstalledPackageReferences, token);

returns wrong results.
It should have returned jquery.2.1.3 as one of package identities, now it returns jquery.1.4.4.

jQuery 2.1.3 was removed from the following lines of code, which should not be.

                if(installedPackageWithSameId != null)
                {
                    packageTargetsForResolver.Remove(installedPackageWithSameId);
                }

Repro steps:

  1. Install-package jquery.validation
  2. Update-package jquery

Expected: updates jquery to 2.1.3
Actual: preview install action (install by Id) returns 0 actions.

NuGet.PackageManagement: Use DownloadResource.Progress event

NuGet.PackageManagement: Use DownloadResource.Progress event

Repro steps

  1. Create a console application
  2. From the powershell console, install a fairly large package, say, EntityFramework

Expected:

  1. There is a progress bar at the bottom-right of powershell console

Actual:

  1. There is no progress bar at the bottom-right of powershell console. When downloading a large package, there is no visual feedback to the user

UI: Review Changes should use a different order for the display

The order of operations shown in the preview should be:

  1. Uninstalling
  2. Updating
  3. Installing

I thought we displayed packages that were being updated, but I don't see an Updating header anymore. If that's gone, then the order should be:

  1. Uninstalling
  2. Installing

UI: Action changes to updating previous version after installing

After installing the latest version of a package, the following happens:

  1. The Action changes to "Update"
  2. The Version changes to the previous version
  3. The button changes to "Update"

When selecting a package that is already installed, here's what I'm thinking we should do:

  1. If there is an update available, select the latest version (respecting prerelease checkbox) and set the action to Update.
  2. If the latest version is already installed, set the action to Uninstall.

NuGet.PackageManagement: If package restore fails, satellite files for the successfully restored packages are not restored

NuGet.PackageManagement: If restoring a package fails, satellite files for the successfully restored packages are not restored

Repro steps:

  1. Create a console Application
  2. Install-Package Microsoft.AspNet.Razor.fr
  3. Install one or more packages from a private feed such that it is not available from NuGet official
  4. Now, disable the private feed and only retain the official feed
  5. Delete packages folder
  6. Initiate restore packages through build or using 'Restore' button on the UI window
  7. Package restore will fail for all the packages from the private feed

Expected:

Satellite files for the Microsoft.AspNet.Razor.Fr is copied successfully

Actual:

Satellite files are not copied for Microsoft.AspNet.Razor.Fr and it never becomes available for restore again

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.