alire icon indicating copy to clipboard operation
alire copied to clipboard

During publishing, do a shallow copy

Open Irvise opened this issue 10 months ago • 1 comments

Checklist

  • [X] I've included the output of alr version.
  • [ ] I've included complete steps to reproduce my issue.

Describe the issue During alr publish the index has to be cloned. This is the size of the repo as of now when I was doing an alr publish

Receiving objects: 100% (159011/159011), 609.97 MiB | 14.34 MiB/s, done.

That is a pretty large index... Could Alire do only a shallow copy of the index, aka, add --depth=1 to the clone?

Thank you, Fer

Irvise avatar Apr 05 '24 21:04 Irvise

We are shallow cloning elsewhere, so it should be doable, yes.

mosteo avatar Apr 08 '24 10:04 mosteo