git.openstack.org/cgit should not be used to serve git directly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Triaged
|
High
|
Logan Paschke |
Bug Description
cgit will happilly serve (dumb) fetch requests from git. However, it occasionally loses track of commits, as evidenced in this (extremely large) tarball of the heat repo:
The remote there is:
https:/
Which worked fine, until it didn't:
$ git fetch --verbose origin
error: Unable to find 5bfc1e2dade1be6
Cannot obtain needed tree 5bfc1e2dade1be6
while processing commit 5235a3197a89f7c
error: Fetch failed.
Suggested remedy:
I would suggest that we should just use mod_rewrite to 301 any actual git requests like this to a base url of https:/
Changed in openstack-ci: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: low-hanging-fruit |
Changed in openstack-ci: | |
assignee: | nobody → Logan Paschke (lkpaschke) |
I would like to help with this, although I don't know where to start.