-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add fetch #21
Add fetch #21
Conversation
Do you want to take a crack at a docstring? Shouldn't we define a new Also, I don't think we can really assume that the only remote the user wants to fetch is |
Good points - thank you! |
We have a |
I like the idea of "get all the remotes".
But would we not still like to call
|
I wonder if If it's easy enough to transform a sequence of strings into a sequence of |
True, would be great to more clearly describe what the
For the remotes: From libgit2 I get a |
I don't know of a more elegant way off the top of my head, but it hardly matters -- what's important is getting the API right. I would skip implementing |
Agreed. |
Yikes, that is a few of unsuccessful checks.. 😶 |
I reran the tests and it looks like at least one of the memory managers is crashing in the new code; take a look at the ubuntu runs to see the test matrix, etc. You can reproduce that matrix locally using Not sure why GitHub Actions is infinite-looping, but maybe that's a symptom of the same problem. |
Thank you! Indeed, I shoud have a look into getting gh actions running on my fork as well. |
Nice, this is getting really close! 👏 |
yes 🙂 - I thought I better focus on the single fetch first (and keep out the multi fetch for now), |
You might want to look at the generated C that the Nim compiler produces and see if you can track down how |
Thank you so much for all the helpful advise! 🙂 I will have at look at these. What is a little worrysome to me though, is that I discovered even on some |
I am using the gitnim distribution of Nim 1.6.7 from https://gitnim.com/ which uses the Nim nightlies binaries and a patched arc implementation which has atomic reference counting in builds that feature I'm in your branch running the tests with
So, I dunno, maybe we should consider this a bug in Nim. I don't mind merging the PR if you can reproduce these results. |
I see, so that is why there are odd version numbers. 🙂 I went through the gcs manually [on nim 1.6.8] and the only gc where I could reproduce a: When I run your command (~10x times), the tests always passed
but every now and then I get this kind of strange outlier which cannot be right ~ -90tb? : 😨
|
Let's merge it and see if the tests stabilize going forward. 🤷 |
Thank you, too!! 🙂 |
proposal to add fetch proc and fetch test