git ssb

0+

kyrias-defunct / git-ssb



forked from cel / git-ssb

Clicking on "Repos dug" from my git-ssb profile page causes git ssb web server to crash.

%cWa7cA0dmsGILKjUZjUlz7npQYnCpGx7zNITounX+HE=.sha256
Closedwildcard opened this issue on 2/11/2017, 10:46:01 PM

Clicking on "Repos dug" from my git-ssb profile page causes git ssb web server to crash.

/Users/jessykate/.nvm/versions/node/v7.3.0/lib/node_modules/git-ssb/node_modules/git-ssb-web/lib/users.js:125
        if (destMsg.content.type != 'git-repo') return cb()
                           ^
TypeError: Cannot read property 'type' of undefined
    at GitSSBWeb.<anonymous> (/Users/jessykate/.nvm/versions/node/v7.3.0/lib/node_modules/git-ssb/node_modules/git-ssb-web/lib/users.js:125:28)
    at /Users/jessykate/.nvm/versions/node/v7.3.0/lib/node_modules/git-ssb/node_modules/asyncmemo/index.js:21:14
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
%EMUESI6UwFm9+3449pn/UW3t99gTF+4kL28ZJjEvzdw=.sha256 wildcard · 2/11/2017, 10:46:30 PM

ugh unicode... doh.

%qNBaVM9hPwZ45RBnSXC/OiCWTZ6Hp/ZOxOfA+CA3r44=.sha256 cel · 2/12/2017, 7:42:09 AM

reproduced. fixing...

cel closed this issue · 2/12/2017, 8:16:56 AM
Fix error
%cWZ3Aio5GPKCFs8FC7njXkR4mpuqTakuO0zF5tKMEPQ=.sha256 cel · 2/12/2017, 8:19:38 AM

fixed in git-ssb-web v2.7.2

%EP+WuNiBU6lDrZdESTpnZrg67c12O9wjM5omFvN6+2k=.sha256 cel · 2/12/2017, 8:26:02 AM

git-ssb-web v2.7.2

also changed the user repos list to show all repos a user has pushed to, not just the first 20 (TODO: pagination). cc @noffle

Built with git-ssb-web