Skip to content
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

WIP: beginnings of support for local repos #154

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Dieterbe
Copy link
Contributor

@Dieterbe Dieterbe commented Jul 24, 2023

beginnings of support for #135
i made some progress on this months ago, but ran out of steam.
publishing what i have because i hope to find other collaborators.

to recap, the goal is:

  1. scan local working copies (you and i probably have many stale git repos checked out on our laptops taking up valuable disk space)
  2. determine which are safe to delete (if they have no commits that were not merged to a remote, nothing in stash or index, and no untracked files)
  3. use the term UI to make it visually clear which are safe to delete and make it easy for user to confirm deletions. this same concept would also expand to fork-cleaner's current approach for scanning github forks.

go get github.com/go-git/go-git/v5
go get github.com/go-git/go-git/v5/plumbing
go get github.com/go-git/go-git/v5/plumbing/object
go get github.com/go-git/go-git/v5/plumbing/storer
@ccoVeille
Copy link

@Dieterbe I saw your issue, then I was surprised you made a WIP PR

How far were you from having everything all set?

@Dieterbe
Copy link
Contributor Author

Dieterbe commented May 7, 2024

@ccoVeille from what i recall there was quite some work left to do.

@ccoVeille
Copy link

Thanks for replying.

OK, is there a chance you would work on this again?

@Dieterbe
Copy link
Contributor Author

Not any time soon 😞

@ccoVeille
Copy link

Not any time soon 😞

Thanks for replying me. It's always good to have a status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants