git ssb

0+

cel / ssb-pull-requests



Commit d43e0f0bbeef0121e541b450c1c68226f430140c

Remove unused calls to ssb-git-repo

Charles Lehner committed on 4/18/2016, 6:20:33 PM
Parent: 881fe3c322cf12c7c95d10e256c3c81a20fb989a

Files changed

index.jschanged
package.jsonchanged
index.jsView
@@ -1,9 +1,8 @@
11 var pull = require('pull-stream')
22 var paramap = require('pull-paramap')
33 var asyncMemo = require('asyncmemo')
44 var Issues = require('ssb-issues')
5-var ssbGit = require('ssb-git-repo')
65
76 function readNext(fn) {
87 var next
98 return function (end, cb) {
@@ -27,14 +26,8 @@
2726 init: function (sbot) {
2827
2928 var issues = Issues.init(sbot)
3029 var getMsg = asyncMemo(sbot.get)
31- var getRepo = asyncMemo(function (id, cb) {
32- getMsg(id, function (err, msg) {
33- if (err) return cb(err)
34- ssbGit.getRepo(sbot, {key: id, value: msg}, {live: true}, cb)
35- })
36- })
3730
3831 var getPullReq = asyncMemo(function (id, cb) {
3932 issues.get(id, function (err, issue) {
4033 if (err) return cb(err)
package.jsonView
@@ -9,9 +9,8 @@
99 "asyncmemo": "^0.1.0",
1010 "ssb-issues": "^0.0.6",
1111 "pull-paramap": "^1.1.2",
1212 "pull-stream": "^3.2.0",
13- "ssb-git-repo": "^1.5.2",
1413 "ssb-ref": "^2.3.0"
1514 },
1615 "author": "Charles Lehner (http://celehner.com/)",
1716 "license": "Fair"

Built with git-ssb-web