Closed ewlarson closed 1 year ago
Can you do a full trace? I wonder if this is being thrown from the ruby git client or something. I think I might've seen it once or twice when testing but I haven't managed to replicate it recently.
Saw the same issue, when trying to execute bundle exec rake geocombine:clone --trace
trace.txt
Cloging only edu.nyu worked bundle exec rake geocombine:clone[edu.nyu]
Working on Ubuntu 22.04 with these versions:
$ ruby -v
ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
$ gem -v
3.4.9
$ bundle -v
Bundler version 2.4.9
Thanks for the trace — I think this might've been related to arguments I was passing to Git.clone
. Hopefully https://github.com/OpenGeoMetadata/GeoCombine/pull/148 will resolve that.
It could also be related to the behavior that happens when we try to clone a Git repository with no contents (of which there are a few in OGM); https://github.com/OpenGeoMetadata/GeoCombine/pull/139 has better behavior to handle that.
Unfortunately PRs are failing because a new rubocop is angry about one of our tests being skipped without a reason; https://github.com/OpenGeoMetadata/GeoCombine/pull/147 fixes that issue.
https://github.com/OpenGeoMetadata/GeoCombine/pull/148/commits/3f4389e4d13283ea1a0144e3b2b5458566c64161 removes the recursion which I think might've been the cause of this.
This is fixed! I was able to clone all the repos...
ewlarson@beanburrito .internal_test_app % bundle exec rake geocombine:clone --trace
** Invoke geocombine:clone (first_time)
** Execute geocombine:clone
Cloned https://github.com/OpenGeoMetadata/shared-repository.git
Cloned https://github.com/OpenGeoMetadata/edu.stanford.purl.git
Cloned https://github.com/OpenGeoMetadata/edu.princeton.arks.git
Cloned https://github.com/OpenGeoMetadata/edu.virginia.git
Cloned https://github.com/OpenGeoMetadata/edu.nyu.git
Cloned https://github.com/OpenGeoMetadata/edu.harvard.git
Cloned https://github.com/OpenGeoMetadata/edu.umn.git
Cloned https://github.com/OpenGeoMetadata/edu.tufts.git
Cloned https://github.com/OpenGeoMetadata/edu.columbia.git
Cloned https://github.com/OpenGeoMetadata/edu.lclark.git
Cloned https://github.com/OpenGeoMetadata/gov.data.git
Cloned https://github.com/OpenGeoMetadata/geobtaa.git
Cloned https://github.com/OpenGeoMetadata/edu.uarizona.git
Cloned https://github.com/OpenGeoMetadata/edu.berkeley.git
Cloned https://github.com/OpenGeoMetadata/edu.cornell.git
Cloned https://github.com/OpenGeoMetadata/edu.vt.git
Cloned https://github.com/OpenGeoMetadata/edu.upenn.git
Cloned https://github.com/OpenGeoMetadata/edu.mit.git
Cloned https://github.com/OpenGeoMetadata/ca.frdr.geodisy.git
Cloned https://github.com/OpenGeoMetadata/edu.wisc.git
Cloned 20 repositories
I've been playing around with GeoCombine for Aardvark metadata harvesting.
Harvesting individual institutions has been working well:
But cloning all the repos, fails:
First run
Second run
Can anyone else confirm? Seems to likely StackError the same place each clone run...