https://sourceforge.net/p/hl7api/code/574/tree/releases/2.0/src/license/ shows an empty dir but it should show header.txt
. (see http://hl7api.svn.sf.net/viewvc/hl7api/releases/2.0/src/license/?pathrev=574 for reference)
We cleared out the pyforge.repo_last_commit doc and it got reconstructed without entries: { "_id" : ObjectId("512550211be1ce3ea2b96d12"), "commit_id" : "50d1ee88e88f3d0bb0cae0a8:574", "path" : "releases/2.0/src/license", "entries" : [ ] }
and this path/rev doesn't exist in legacy LCD collections. So it seems that the LCD building logic has a bug, perhaps via a bad DiffInfoDoc?
Cory says we should also make Tree._lcd_map
handle bad LCD entries better, as well as Blob.prev_commit
Potentially related to [#5810] issues? I discovered several examples of this when validating [#5810] in prod. Here's some more that can be checked:
Related
Tickets:
#5810allura:cj/5854
Oops, forgot the _lcd_map part. Added.
Your last commit has a syntax error and won't even run:
I made a minor fix to that to see if it'd work despite it. I tested by importing the
elogviewer
repo since it only has 103 revs and exhibits this bug at https://sourceforge.net/p/elogviewer/svn/103/tree/elogviewer/tags/0.6.3/ Importing that repo reproduced the issue on master, then I switched to cj/5854 and didn't do any repo refresh, just reloaded the page and got:[forge:site-support:#3019]
some more examples:
https://sourceforge.net/p/advancedfx/code/487/tree/mdt/trunk/AfxHookGoldSrc/hooks/client
https://sourceforge.net/p/advancedfx/code/487/tree/mdt/trunk/AfxHookGoldSrc/hooks/hw
https://sourceforge.net/p/advancedfx/code/487/tree/mdt/trunk/AfxHookGoldSrc/modules/
https://sourceforge.net/p/advancedfx/code/491/tree/mdt/trunk/AfxHookGoldSrc/hooks/client/
https://sourceforge.net/p/advancedfx/code/491/tree/mdt/trunk/AfxHookGoldSrc/modules/
Past the syntax error, but still getting the TypeError as noted above
Had to import the repo on master to reproduce; this branch fixes the bug that caused the bad data that caused the TypeError. Resolved to work with the bad data, and force-pushed.
Now it shows the directory listing, but unfortunately the last commit metadata is wrong, so it shows blank/unknown values. And we don't currently have a way to refresh LCDs for SVN repos. Need to wait until we can move aside all the old LCD data