#5022 post-receive-user incorrectly created when cloning a repo

v1.0.0
closed
General
2015-08-20
2012-09-30
No

When forking a repo within Allura, the post-receive-user file should not be created. Currently it is created like the following, which is self-recursive and bad.

1
2
3
4
5
6
7
8
#!/bin/bash
# The following is required for site integration, do not remove/modify.
# Place user hook code in post-receive-user and it will be called from here.
curl -s http://sourceforge.net/auth/refresh_repo/p/simplemvcv/code/

DIR="$(dirname "${BASH_SOURCE[0]}")"
if [ -x $DIR/post-receive-user ]; then  exec $DIR/post-receive-user
fi

Related

Tickets: #4927

Discussion

  • Cory Johns - 2012-10-01
    • status: open --> in-progress
    • assigned_to: Cory Johns
    • size: --> 1
     
  • Cory Johns - 2012-10-01
    • status: in-progress --> code-review
    • qa: Dave Brondsema
     
  • Cory Johns - 2012-10-01

    allura:cj/5022
    forge-classic:cj/5022

     
  • Dave Brondsema

    Dave Brondsema - 2012-10-01
    • status: code-review --> closed
     

Log in to post a comment.