Skip to content

Add --force option to spack repo update #22

@CodeGat

Description

@CodeGat

Currently, if a repo has been force-pushed on the remote and is given spack repo update, it will fail to update. There is no --force option for spack repo update, and so one would have to run the equivalent git -C path/to/hashed/access-spack-packages reset --hard origin/api-v2, which makes the utility of spack managing our package repositories a lot less.

Consider adding a --force option to spack repo update that will force checkout a ref.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Parked 🅿️

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions