#2380 Fork tracking and merge requests don't work

v1.0.0
closed
sf-4 (350)
SCM
nobody
2015-08-20
2011-06-28
No

In the fork, the sidebar menu doesn't even appear (this is where we'd normally display the merge request button). In the parent repo, there doesn't seem to be a way to see a list of forks.

Discussion

  • Rick Copeland - 2011-06-28
    • milestone: jun-24 --> jul-01
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-29
    • size: --> 4
     
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Rick Copeland ☕
     
  • forge:tv/2380

    To test, fork a git and hg repo to another project. On the clone, the sidebar should be present and contain "Clone of" with a link to the upstream repo. After the fork, the sidebar of the upstream repo should contain a list of Forks, which should now contain a link to the new clone.

    Also added functional tests for this, for git and hg.

     
  • Dave Brondsema

    Dave Brondsema - 2011-08-22
    • assigned_to: Rick Copeland ☕ --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-08-24

    Looks good, a few things:

    • we should comment-out the merge request button until that is fixed
    • I think it'd look nicer to split project name & repo name onto their own lines, within each <li>
    • do we need an index for the self.query.find({'upstream_repo.name': self.url()}) query? We only have 7k git repos and 616 hg repos so far, but it has to scan them and that won't perform so well later.
     
  • Dave Brondsema

    Dave Brondsema - 2011-08-24
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Tim Van Steenburgh
     
    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Dave Brondsema
     
  • Made the suggested changes. On the clone/fork buttons, the route I took is a bit different than what you suggested. I like it b/c it doesn't waste vertical space in the event that everything fits on one line. If you don't like it, however, I'll be happy to revisit.

     
  • Dave Brondsema

    Dave Brondsema - 2011-08-25
    • status: code-review --> closed
     

Log in to post a comment.