[forge:site-support:#473]
https://sourceforge.net/p/dosbox/code-0/3797/tree/
I can get a checkout just fine, so as far as I can tell, the repo itself is working properly, but dosbox's svn repo browser shows "-- no files --" for rev 3791 and newer (at time of writing, rev 3797 is the latest).
Possibly related, when I first checked it, it seemed to be stuck "analyzing" so I gave it a manual refresh (just a regular one, not a clean refresh, I can't do those). The subsequent analysis finished, but now we're in this state.
Full refresh didn't fix it.
Created #167: [#4886] dosbox svn repo displaying "no files" (2cp)
Related
Tickets:
#4886I've imported that repo and I can browse all revisions just fine.
I'll try to investigate the code to find bug that leads to this behavior, but so far I have no ideas whats going wrong.
I am starting a re-import from this project's old classic repo (http://dosbox.svn.sourceforge.net/svnroot/dosbox/) to see if that will fix it in Allura.
That still did not work. Igor, you can try using the Admin page (on your development environment) to do an SVN import using URL http://dosbox.svn.sourceforge.net/svnroot/dosbox/ and it seems like that should duplicate the problem for you.
I imported repo using that URL and still can browse all revisions.
Maybe importing from old repo (http://dosbox.svn.sourceforge.net/svnroot/dosbox/) to an empty, freshly installed svn-repo tool will fix this in Allura?
I tried that too, but it didn't work. Maybe because the pre-existing data in mongo for the other tool messed it up (since scm data is shared across tools). I can confirm that on a clean Allura instance the import works fine, so it is a data issue and not a bug in the code.
Seems like "No files" happens when
TreeDoc
for the given revision has emptytrees_ids
,blob_ids
andother_ids
.But existing
TreeDoc
's does not updated when running repository import or refresh from the UI. (Repository.refresh
always get called withall_commits=False
)Is there a way to run repo refresh with updating all related
TreeDoc
'sCommitDoc
's and other metadata? Seems likescripts/refresh-all-repos.py
with--all
and--clean
options for given project/tool should do this. I think this should fix the problem, but I can't test it locally, because I can't reproduce the problem on a clean Allura instance.Cleared the bad repo_tree cache record and it is displaying correctly now.