#5103 web interface behaves strange for git repository without master branch [ss954]

forge-jul-12
closed
nobody
SCM
None
2013-07-07
2012-10-10
Chris Tsai
No

[forge:site-support:#954]

See: https://sourceforge.net/p/alleg/allegro/

They don't have the standard "master", perhaps we need a config option to set a default branch in the absence of a "master" branch?

The web interface thinks the project is empty. Maybe you can add a way to detect or set the default branch, like on github?

Related

Chat: 51b7938a0594ca4a5884098a
Chat: 51b7938b0594ca4a5884098d
Tickets: #5103
Tickets: #5116
Tickets: #6467
Forge: Site Support: #1704
Forge: Site Support: #2850
Forge: Site Support: #4611
Forge: Site Support: #954

Discussion

<< < 1 2 (Page 2 of 2)
  • The code for setting the branch name works fine. But the repo tree view still appears empty. Here are the steps to replicate, see if this works for you:

    • Create new Git tool and set default branch to 'mybranch'
    • Clone to filesystem
    • touch file1 && git add . && git commit -m "1"
    • git checkout -b mybranch && touch file2 && git add . && git commit -m "2"
    • git push origin mybranch
    • After the refresh, mybranch does appear to be HEAD, but the repo still appears empty: http://screencast.com/t/EovbE2wBDUcl
     
  • Both branches merged to master. Once the new ForgeHg build hits python tree (https://trac.sdot.me/trac/siteops/ticket/54029), need to bump version on Allura.

     
<< < 1 2 (Page 2 of 2)


Anonymous


Cancel   Add attachments