-
Notifications
You must be signed in to change notification settings - Fork 150
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
Stop using emacsmirror-mirror #700
Comments
(We should make sure the new repo is actually small enough to have negligible clone time; otherwise it'd make sense to continue with the current solution.) |
Lots of labels... |
Heh, I started tagging these issues a long time ago and I can't stop now! :D |
Mirror mirror on the wall, who's the fastest of them all?: (ins)n@nbook:tmp $ time git clone git@github.com:emacs-straight/emacsmirror-mirror
Cloning into 'emacsmirror-mirror'...
remote: Enumerating objects: 535, done.
remote: Counting objects: 100% (344/344), done.
remote: Compressing objects: 100% (253/253), done.
remote: Total 535 (delta 142), reused 293 (delta 91), pack-reused 191
Receiving objects: 100% (535/535), 149.81 KiB | 2.67 MiB/s, done.
Resolving deltas: 100% (217/217), done.
real 0m0.627s
user 0m0.111s
sys 0m0.015s
(ins)n@nbook:tmp $ time git clone git@github.com:emacsmirror/epkgs.git
Cloning into 'epkgs'...
remote: Enumerating objects: 6067, done.
remote: Counting objects: 100% (1833/1833), done.
remote: Compressing objects: 100% (581/581), done.
remote: Total 6067 (delta 1407), reused 1673 (delta 1252), pack-reused 4234
Receiving objects: 100% (6067/6067), 22.85 MiB | 5.17 MiB/s, done.
Resolving deltas: 100% (4625/4625), done.
real 0m53.988s
user 1m25.971s
sys 0m1.482s
(ins)n@nbook:tmp $ I ran this several times for each and got similar results. |
I This could get better once repacking kicks in on github's side but then it will gradually get worse again until... So I think cloning this repository just takes about 1/2 to 1 minute and there's not much we can do about it. Whether that means you need to use a stripped down repository is up to you. IMO its okay if the initial clone is slow, subsequent fetches will be faster. |
I think given the infrastructure is already set up for the mirror-mirror, it makes sense to leave it in place unless it starts to create a maintenance burden. |
No harm in keeping that, but could you please update the documentation, which still claims:
It now contains a text file with sql statements that is used to re-generate the binary database locally. |
Done in 325f2ca. |
Per @tarsius in #356 (comment), the epkgs repository is now much smaller, and we have no need for mirroring it to https://github.com/emacs-straight/emacsmirror-mirror.
We can make sure the
emacsmirror
recipe repository instraight.el
is still operational with the latest version of epkgs, and then switch the default value ofstraight-recipes-emacsmirror-use-mirror
back to nil (& update associated documentation).The text was updated successfully, but these errors were encountered: