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

Locking to non-existing rev in git dependency lockfile will result in cannot find package error from the resolver #1788

Open
maciektr opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maciektr
Copy link
Contributor

Problem

The resolver should be able to ignore locks pointing to non-existing revs.

Steps

  1. Add a git dependency and run Scarb build. The lockfile should be produced, pointing to specific commit hash.
  2. Remove this commit hash from remote repository (with force push or smth).
  3. Try do build the package once again without removing the lockfile.
  4. Package will fail to build with cannot find package error from resolver

Possible Solution(s)

No response

Notes

No response

Version

No response

@maciektr maciektr added the bug Something isn't working label Nov 28, 2024
@github-project-automation github-project-automation bot moved this to Triage in Scarb Nov 28, 2024
@maciektr maciektr moved this from Triage to Backlog in Scarb Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant