You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var packbuilder = new NodeGit.Packbuilder();
results in -> [Error: A new GitPackbuilder cannot be instantiated.]
From the docs http://www.nodegit.org/api/#Packbuilder , it seems that Packbuilder only has Instance methods to use Packbuilder, and no Class methods to create an instance of it. I'm also not able to create a "new" instance of Packbuilder from Js, and can't find a reference on other objects to an existing instance.
Hrm, it seems that git_packbuilder_new is probably ignored.
If you can, clone the repo, take a look inside out generate/input/ descriptor.json file and see if thats set to be ignored. If it is, try taking it out and regenerating/compiling. That should add NodeGit.Packbuilder.create(). If that works, submit a PR, preferably with a test (or more) and we'll get it in asap. Otherwise, I'll make sure that gets moved near the top of the stack, but I don't know how quickly it will get implemented.
Activity
maxkorp commentedon Mar 23, 2015
Hrm, it seems that git_packbuilder_new is probably ignored.
If you can, clone the repo, take a look inside out
generate/input/ descriptor.jsonfile and see if thats set to be ignored. If it is, try taking it out and regenerating/compiling. That should addNodeGit.Packbuilder.create(). If that works, submit a PR, preferably with a test (or more) and we'll get it in asap. Otherwise, I'll make sure that gets moved near the top of the stack, but I don't know how quickly it will get implemented.tbranyen commentedon Mar 24, 2015
FYI I submitted a PR that adds this in: #513
maxkorp commentedon Mar 24, 2015
👍
tbranyen commentedon Mar 24, 2015
Closed via: c0922f7
Usage: