Julia: Pkg.status() should indicate packages that are downgraded

Created on 23 Jul 2016  路  5Comments  路  Source: JuliaLang/julia

It would be really helpful if Pkg.status() would somehow visually indicate if a free (i.e. not pinned) package is downgraded currently. Not sure what the best UI is, e.g. only showing a symbol that indicates a downgrade, or maybe showing the latest available version number in addition to the installed one, or something else.

packages

All 5 comments

I assume you mean Pkg.status() here?

I assume you mean Pkg.status() here?

Yes, thanks! I updated title and original issue text.

A note "held back, not at latest" after the version number would make sense here. Would have to check that you only consider "latest" versions that support the currently-running version of Julia though.

Something like this maybe:

julia> Pkg.status()
...
 - SmoothingSplines              0.1.2              master
...               
 - SortingAlgorithms             0.1.1              held back by SomePackage; most recent v0.2.1                                                                                                
...

x-ref: https://discourse.julialang.org/t/diagnostics-for-pkg-update-non-latest-version/5496

Issue moved to JuliaLang/Pkg.jl #688 via ZenHub

Was this page helpful?
0 / 5 - 0 ratings