Replies: 1 comment
-
Shallow cloning is Doom's default behavior. You sure you haven't simply turned it off? Or maybe Github's having more reliability issues (it's been iffy the past few months). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thanks for the nice work.
I recently upgraded a very old box to OpenBSD 7.9. I wanted to also upgrade Doom so I ran
doom upgrade.This got stuck for hours on the
dunepackage, so I stopped it and tried to debug it manually: Icded to~/emacs.d/.local/straight/ repos/dune, and manually rangit fetch origin.The first part (
receiving objects) took quite some time (22MB to download) due to my box being old and on WIFI connection. But the second part (resolving deltas) is still running after 4 hours !! (but it is NOT stuck: I can see it beeing at ~72%: 24510/33534 and growing).However, this made me think a little bit more. I'm not sure why we need to download the whole history of the repository for each package when we are interested only in the last version (or at least a specific commit version)? Couldn't we just run (
git clone --depth 1or something simliar?).Is it something I should suggest "upstream" to the
straightguys?Maybe there's something I misunderstand?
Thanks in advance for any info/solution
Beta Was this translation helpful? Give feedback.
All reactions