#2689 Fix the Request Merge button

v1.0.0
closed
sf-2 (994)
SCM
nobody
2015-08-20
2011-08-25
No

The Request Merge button in the sidebar of a cloned repo gives a 500 when clicked. Fix it (it's currently commented out in allura/lib/repository.py).

Discussion

    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Dave Brondsema
    • size: --> 2
     
  • forge:tv/2689

    On a sandbox, login as admin1. Make sure you have the 'test' project, with the Git tool, mounted at 'code'. If not, adjust the following instructions for your project name and git mount point.

    $ cd ~
    $ git clone /git/p/test/code test-code
    $ cd test-code
    $ echo readme >> readme
    $ git add .
    $ git ci -m 'Added readmre.'
    $ git push origin master

    Now browse to /p/test/code. Click the Fork button and fork the repo to your user project, with repo name 'code'. Now commit to your fork:

    $ cd ~
    $ git clone /git/u/admin1/code admin1-code
    $ cd admin1-code
    $ echo documentation >> docs
    $ git add .
    $ git ci -m 'Added docs.'
    $ git push origin master

    Now browse to your fork at /u/admin1/code. Click the Request Merge button. Complete the form and submit. You'll be redirected to a page detailing your merge request.

    You can do these same steps for a Mercurial repo, although there are functional tests to cover both Git and Mercurial.

     
  • Dave Brondsema

    Dave Brondsema - 2011-09-06
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Tim Van Steenburgh
     
  • Dave Brondsema

    Dave Brondsema - 2011-09-06
     
  • These items have been fixed and the functional tests updated accordingly.

    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-09-07
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Tim Van Steenburgh
     
  • Dave Brondsema

    Dave Brondsema - 2011-09-07
     
  • Dave Brondsema

    Dave Brondsema - 2011-09-07

    Nevermind the XSS, it's just standard markdown rendering

     
    • status: in-progress --> code-review
    • assigned_to: Tim Van Steenburgh --> Dave Brondsema
     
  • Removed the redundant list of commits.

     
  • Dave Brondsema

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

    Dave Brondsema - 2011-09-09
    • milestone: forge-sept-30 --> forge-sep-16
     

Log in to post a comment.