What do You do With Your InterSystems IRIS Fork Repository if Your PR is accepted?
Hi developers!
Just want to check with you on best practices for that.
You collaborate for InterSystems IRIS repository. You fork it, then make changes, commit, push, pull request, discuss(if any), your PR is accepted.
What's next?
Do you delete the repository you forked in?
Do You Delete the Repository of Your Pull Request was Approved?
Something to note, if you delete the repo, the pull request will show up as "unknown repository"
and any history attached to that repo will be lost. Also any references to it will of course be broken. But deleting the branch is encouraged by github and won't break any references. For me, I don't like broken links and references, but of course there's the argument of wanting a clean profile instead of 1000 old forked repos :)
Good point David, thanks!
Keep the fork for the next time you contribute.
The issue is, if you keep it Github shows that it is "Behind the remote origin". How do you fix this? Or how do you deal with this?
I typically leave it for some amount of time. I sometimes go through my repos and delete the stale forks.
Even though it does have the broken links back to the deleted repo, the PR merge will show the commit history in the new repo, which I think is the important part
Neither alternatives. I'd usually archive the repository instead.