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
{{ message }}
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
We currently have to add additional metadata to the libgit2 API JSON in order to generate source. This is annoying since at the moment it's a very manual process.
I propose moving the meta data into a separate file that can be married to the original configuration. This keeps the original intact and makes it much easier to move between versions.
Making some good progress in https://github.com/nodegit/nodegit/tree/descriptor-refactor on this. All top level libgit2 types are now represented as C++ classes and JS constructors or objects. I'm moving slowly on this to ensure that the process is as automated as possible.
Was able to infer nearly all the existing metadata for the class-level constructs. At the moment, there are just a few places where I'm manually specifying cType: null. This could easily be inferred as well since the script that generates the codegen context errors if it's supposed to be null.
I still need to get dependencies automated and start automating functions, which is a much more involved task.
Activity
tbranyen commentedon May 7, 2014
Making some good progress in https://github.com/nodegit/nodegit/tree/descriptor-refactor on this. All top level libgit2 types are now represented as C++ classes and JS constructors or objects. I'm moving slowly on this to ensure that the process is as automated as possible.
Was able to infer nearly all the existing metadata for the class-level constructs. At the moment, there are just a few places where I'm manually specifying
cType: null. This could easily be inferred as well since the script that generates the codegen context errors if it's supposed to be null.I still need to get
dependenciesautomated and start automatingfunctions, which is a much more involved task.tbranyen commentedon May 7, 2014
dependenciesare now automated as well. (Needs verification though.)tbranyen commentedon Jul 3, 2014
The separation layer has been completed via 1bcb66c. It's still in need of much refinement, but it works and is easier to use.