Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing updated packages using buffrs install fails when a package is already locked to a prior version #187

Open
mara-schulke opened this issue Dec 7, 2023 · 1 comment
Assignees
Labels
bug Reports or fixes associated with bugs in this project complexity::medium Issues or ideas which require some discussion, research and more implementation work component::cli Everything related to the buffrs cli docs::project Documenting the project vision, design decisions etc priority::high Urgent change or idea, please review quickly

Comments

@mara-schulke
Copy link
Contributor

Reproduce:

Given a project foo that depends on bar@=0.1.0:

  1. Run buffrs install which install [email protected] and creates a Proto.lock
  2. Edit the manifest to e.g. depend on bar@=0.2.0
  3. Run buffrs install again

Buffrs now complains about being unable to install bar@=0.2.0 as bar@=0.1.0 is locked. This is not the intended behavior as the manifest, and edits to the manifest are always the source of truth and the lockfile is a) intended to enable reproducibility and b) behave frictionless.

The current fix is to rm Proto.lock && buffrs install which is neither user friendly nor the point of having the lockfile.

@mara-schulke mara-schulke added bug Reports or fixes associated with bugs in this project component::cli Everything related to the buffrs cli priority::high Urgent change or idea, please review quickly complexity::medium Issues or ideas which require some discussion, research and more implementation work docs::project Documenting the project vision, design decisions etc labels Dec 7, 2023
@mara-schulke mara-schulke added this to the User Experience milestone Dec 7, 2023
@tomkarw
Copy link
Contributor

tomkarw commented Jan 26, 2024

As a data point, I run into it today. I might take a shot at it once I'm done with the current task.

@tomkarw tomkarw self-assigned this Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reports or fixes associated with bugs in this project complexity::medium Issues or ideas which require some discussion, research and more implementation work component::cli Everything related to the buffrs cli docs::project Documenting the project vision, design decisions etc priority::high Urgent change or idea, please review quickly
Projects
Status: No status
Development

No branches or pull requests

2 participants