forge:tv/3059 (I merged the original rc/3059 into this.)
My commits contain some cleanup based on my code review. I removed a lot of code that is no longer used, added a couple tests, and fixed some things that were broken. Just give it a quick code-review to make sure I didn't do anything dumb. Tests all pass. There is still an issue with the CommitRunBuilder which breaks the commit browser - that's being handled under [#3759].
For SVN commits, the view of that commit does not list which files changed. E.g. /p/test3059/code-0/4/ However, the specific diff on the file like /p/test3059/code-0/4/tree/trunk/x?diff=4f69ebd79c1040786f000037:3 does work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Forking doesn't work right either. I made a git repo with just a few commits and pushed them up (separately, if that matters). Then I went and used the fork link to fork the repo. The forked repo's tree view had unknown and None fields. History and commit views seem to work fine. This also happens if you manually fork a repo and push it into a different tool (not using the builtin fork form).
Lastly, we need to figure how we want to handle this in production. Some pages don't work well until they are reindexed. But reindexing will take quite some time. Would be nice to push out the reindexing code first, but it isn't clearly separated from the view changes :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To ssh://engr.geek.net/forge
+ 1ca6c12...9f665a5 tv/3759 -> tv/3759 (forced update)
Latest development is continuing on tv/3759. Rick committed fixes for SVN diffs and git/hg forking. I tested these, rebased the branch against dev, and pushed it back.
In the process of testing I found two new bugs:
On a forked git or hg repo, the Commit links in the tree view of the forked repo point to the upstream instead of the fork.
On an svn repo, click Browse Commits. Click on a commit. Click on a file in the commit detail view that loads at the bottom of the page. Get a 500.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fresh sandbox; got this error running Allura tests:
forge:tv/3059 (I merged the original rc/3059 into this.)
My commits contain some cleanup based on my code review. I removed a lot of code that is no longer used, added a couple tests, and fixed some things that were broken. Just give it a quick code-review to make sure I didn't do anything dumb. Tests all pass. There is still an issue with the CommitRunBuilder which breaks the commit browser - that's being handled under [#3759].
Related
Tickets:
#3759For SVN commits, the view of that commit does not list which files changed. E.g. /p/test3059/code-0/4/ However, the specific diff on the file like /p/test3059/code-0/4/tree/trunk/x?diff=4f69ebd79c1040786f000037:3 does work.
Forking doesn't work right either. I made a git repo with just a few commits and pushed them up (separately, if that matters). Then I went and used the fork link to fork the repo. The forked repo's tree view had unknown and None fields. History and commit views seem to work fine. This also happens if you manually fork a repo and push it into a different tool (not using the builtin fork form).
Lastly, we need to figure how we want to handle this in production. Some pages don't work well until they are reindexed. But reindexing will take quite some time. Would be nice to push out the reindexing code first, but it isn't clearly separated from the view changes :(
To ssh://engr.geek.net/forge
+ 1ca6c12...9f665a5 tv/3759 -> tv/3759 (forced update)
Latest development is continuing on tv/3759. Rick committed fixes for SVN diffs and git/hg forking. I tested these, rebased the branch against dev, and pushed it back.
In the process of testing I found two new bugs:
Tested manually and these two problems are no longer occurring. I did get a test failure though:
assigned_to: Tim Van Steenburgh --> Rick Copeland ☕
qa: ⸘Dave Brondsema‽ --> Tim Van Steenburgh
Gonna take a crack at this test failure since Rick can't get to it any time soon.
To ssh://engr.geek.net/forge
+ 24857f1...88f9384 tv/3759 -> tv/3759 (forced update)
Test was out-of-date after Cory's diff refactor, which was recently rebased into this branch.
QA: Tests all pass. Find more broken stuff?
Easy testing worked fine, so I went with a big test. I think the bug can probably be replicated on a smaller scale too. Here's what I did.
To ssh://engr.geek.net/forge
+ 2fb0961...54073ed tv/3759 -> tv/3759 (forced update)
QA: Same test - push the allura repo into a new Code tool, and confirm that the folder commits are correct now.