OpenGeoMetadata / edu.princeton.arks

GeoBlacklight Metadata for Princeton University Libraries
0 stars 3 forks source link

deprecated solr fields #30

Closed drh-stanford closed 9 years ago

drh-stanford commented 9 years ago

We've deprecated several of the solr_ fields in GeoBlacklight.

I have the changes on my laptop but I cannot push them up to github for some reason I haven't been able to debug...

% git push origin deprecate-solr-bbox
Counting objects: 87837, done.
Connection to github.com closed by remote host.
fatal: The remote end hung up unexpectedly
Delta compression using up to 4 threads.
Compressing objects: 100% (44940/44940), done.
error: pack-objects died of signal 13
error: failed to push some refs to 'git@github.com:OpenGeoMetadata/edu.princeton.arks.git'

Thanks, -Darren

drh-stanford commented 9 years ago

I was successful pushing (after a git repack) but I'm not 100% sure it worked correctly. See #31

eliotjordan commented 9 years ago

@drh-stanford Looks like the commit gutted some of the geoblacklight.xml files. Weird.

drh-stanford commented 9 years ago

Yeah, I've had zero success so far. I'll try one more time :).

eliotjordan commented 9 years ago

@drh-stanford I'm working on it right now. I think I might be able to get it to go.

drh-stanford commented 9 years ago

Ok, I submitted #33 PR but it needs to be rebased. I think it'd be easier for you to regenerate a clean copy and that way it's in the generation code.

eliotjordan commented 9 years ago

I was able to trim down the repo by removing the preview jpegs and then issuing:

git reset $(git commit-tree HEAD^{tree} -m "create an orphan commit via commit-tree")

I think this needs to be done as regular maintenance, especially after making large commits. Also, keeping blobs out of the repo is helpful. We're pushing at the limits of git here. I was able to clone the repo in just over ten minutes, start to finish. Not too shabby.

eliotjordan commented 9 years ago

@drh-stanford See if this works on your end. If so, I can close #33.

drh-stanford commented 9 years ago

Ok, I submitted #33 PR but it needs a rebase and that failed.

drh-stanford commented 9 years ago

I think we have to prune objects from dead branches too. I'm seeing 350k objects in my git repo.

eliotjordan commented 9 years ago

Oh. Sorry. I didn't take a close enough look at that PR. Let me work on it a bit.

drh-stanford commented 9 years ago

Yeah that PR failed so I closed it. My final attempt :)