Skip to content

paket outdated ignores version constraints #308

Description

@agross

paket.dependencies

source http://nuget.org/api/v2

nuget Castle.Windsor ~> 3.2

paket.lock:

NUGET
  remote: http://nuget.org/api/v2
  specs:
    Castle.Core (3.2.0)

paket outdated tells me there is a new version that clearly violates my version constraint

$ paket outdated
Paket version 0.9.6.0
Parsing paket.dependencies
Resolving packages:
  - fetching versions for Castle.Core
    - exploring Castle.Core 3.3.1
Outdated packages found:
  * Castle.Core 3.2.0 -> 3.3.1
06.09s - ready.

paket update updates according to the version constraint:

$ paket update
Paket version 0.9.6.0
Parsing paket.dependencies
Resolving packages:
  - fetching versions for Castle.Core
    - exploring Castle.Core 3.2.2
Locked version resolutions written to paket.lock
Castle.Core 3.2.2 unzipped to packages\Castle.Core
02.87s - ready.

I think there's a value in paket outdated supporting both

  • a "show me updates according to my constraints" model (it should be the default)
  • a "show me updates regardless of my constraints" model (e.g. paket outdated --ignore-constraints)

Activity

  1. forki commented on Oct 29, 2014

    @forki
    Member

    didn't we define the defaults like documented? http://fsprojects.github.io/Paket/paket-outdated.html

    --strict gives what you want.

  2. theimowski commented on Oct 29, 2014

    @theimowski
    Member

    IMO --strict might be misleading, as we already use the same keyword for the strict mode

  3. forki commented on Oct 29, 2014

    @forki
    Member

    ha I found it: #183

    But I'm open to change it.

  4. forki commented on Oct 31, 2014

    @forki
    Member

    So how do we want to name the new parameter if we change the defaults?

  5. forki commented on Nov 3, 2014

    @forki
    Member

    I still need a name fot the new -- option. @agross ?

  6. agross commented on Nov 3, 2014

    @agross
    ContributorAuthor

    I vote for --ignore-constraints

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