Skip to content

Add ability to upgrade an installed package reusing existing settings #7852

Open
@Amanita-muscaria

Description

@Amanita-muscaria

EDIT (ehuss):

This is a feature request to have a way to upgrade an installed package, reusing the existing settings (the same source, same features, etc.). cargo install foo cannot be used since that already has a specific meaning, but maybe a new flag? Or a new command in conjunction with upgrading all installed dependencies? This would need some design work.

Problem
Cargo's new updating feature doesn't pull from git repo.

Steps

  1. cargo install --git https://github.com/nushell/nushell.git nu --features stable make it point at something before HEAD.
  2. cargo install nu
  3. cargo will pull from crates.io instead of the git repo.

Possible Solution(s)
I know that nu is on crates.io but as I'm actively working on it (and also I love it) I wanted to pull from the repo so as to get all the bugs as I'm using it. It could be that I'm just using this feature incorrectly.

Notes

Output of cargo version:
cargo 1.41.0 (626f0f4 2019-12-03)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: enhancementCommand-installE-mediumExperience: MediumS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions