GreycLab / gmic

GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
Other
69 stars 12 forks source link

Repository error? #1

Closed FoxieDev closed 5 months ago

FoxieDev commented 1 year ago

What happened to the commit history, tags, etc? Was there some sort of GitHub issue that required this? The loss of a project's history, commit messages, issues, MRs, etc.. is a huge blow to the project, so I'm sorry to see this loss of yours.

dtschump commented 1 year ago

Yes, my fault. I've completely messed up (mainly because I'm still a git novice after all these years!). I had to delete/recreate the repository from scratch.

FoxieDev commented 1 year ago

That's really a shame, losing so much history on a project that's as old as G'MIC will have a serious impact. There is at least a way to still preserve commit history, branches, tags, and a few other bits, assuming anyone else has the repo un-squashed and with all branches/tags/etc intact. I'm sure someone in the community has that to hand.

For future reference by the way, deleting and re-creating the repo is never the right approach to a situation like this, it's always recoverable. I've been there, trust me, but reaching out to the community to ask for a hand in sorting things out and correcting any mistake is a way better approach, and shows development and progress, rather than flying in the face of the fundamental principles of FOSS development.

If you want to try and get this sorted, by the way, on Github, up to 90 days after a deletion, you can recover that repository. I'd highly recommend that you do so by following this link. I can't state just how much the loss of a project's history severely impacts developers want to contribute to it, and users trust of the project.

Edit: Fixed some spelling & grammar

ybhvf commented 1 year ago

I found a recent copy of the GMIC repository on my computer. It's possible to rebase the new repository onto the old one, which preserves the git history while avoiding disruption to the current repo. As an example I did that here: https://github.com/nocylah/gmic. If you're interested, I'd be happy to help you with doing the same process to the GreycLab/gmic repo.