#6030 guess_repo call on repo refresh

v1.0.0
closed
General
2015-08-20
2013-04-01
Cory Johns
No

https://sourceforge.net/p/allura/pastebin/51599ba4bcf63a5abd59145f/

guess_repo is called if a commit is used without first doing a set_context on it, and it inefficiently (and potentially incorrectly) tries to determine the repository for the commit by checking all the app instances for the project. Find the spot where a commit is queried and used w/o calling set_context and correct it to remove this call to guess_repo.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-04-01
    • labels: --> performance
    • milestone: forge-backlog --> forge-apr-05
     
  • Dave Brondsema

    Dave Brondsema - 2013-04-01
    • milestone: forge-apr-05 --> forge-apr-19
     
  • Cory Johns

    Cory Johns - 2013-04-02
    • status: open --> in-progress
    • assigned_to: Cory Johns
    • milestone: forge-apr-19 --> forge-apr-05
     
  • Cory Johns

    Cory Johns - 2013-04-02
    • status: in-progress --> code-review
     
  • Cory Johns

    Cory Johns - 2013-04-02

    allura:cj/6030

    To test: refresh a repo before & after change and watch log for guess_repo error.

     
  • Tim Van Steenburgh

    • qa: Tim Van Steenburgh
     
  • Tim Van Steenburgh

    • status: code-review --> closed
     

Log in to post a comment.