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

Fix: Some (very old) repositories have been indentified as empty #259

Merged
merged 1 commit into from Aug 20, 2014

Conversation

Projects
None yet
2 participants
@niosHD

niosHD commented Aug 11, 2014

We have some rather old archived and/or closed repositories in our
redmine installation which definitely have content but have been
treated like empty repositories.

These old repos do not have a 'heads' key in the extra_info hash but
have a 'branches' key instead. Redmine switched from 'branches' to 'heads'
in revision 9283 and supports to upgrade from the old to the new format on the
next commit. However, supporting both keys means that I don't have to perform
dummy commits on inactive repos in order to make the repository viewer work
again.

Regards,
Mario

Fix: Some (very old) repositories have been indentified as empty
We have some rather old archived and/or closed repositories in our
redmine installation which definitely have content but have been
treated like empty repositories.

These old repos do not have a 'heads' key in the extra_info hash but
have a 'branches' key instead. Redmine switched from 'branches' to 'heads'
in revision 9283 and supports to upgrade from the old to the new format on the
next commit. However, supporting both keys means that I don't have to perform
dummy commits on inactive repos in order to make the repository viewer work
again.

n-rodriguez added a commit that referenced this pull request Aug 20, 2014

Merge pull request #259 from niosHD/fix-repositoy-empty
Fix: Some (very old) repositories have been indentified as empty

@n-rodriguez n-rodriguez merged commit 63fda10 into jbox-web:v0.8-beta Aug 20, 2014

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Aug 20, 2014

Member

Thank you!

Member

n-rodriguez commented Aug 20, 2014

Thank you!

@n-rodriguez n-rodriguez self-assigned this Aug 20, 2014

@n-rodriguez n-rodriguez added this to the v0.8 milestone Aug 20, 2014

@n-rodriguez n-rodriguez added the bugfix label Aug 20, 2014

n-rodriguez added a commit that referenced this pull request Sep 10, 2014

@niosHD niosHD deleted the niosHD:fix-repositoy-empty branch Sep 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment