Skip to content

Generate nodegit from libgit2 docs and refactor descriptor#259

Merged
johnhaley81 merged 36 commits into
masterfrom
refactor-descriptor
Nov 8, 2014
Merged

Generate nodegit from libgit2 docs and refactor descriptor#259
johnhaley81 merged 36 commits into
masterfrom
refactor-descriptor

Conversation

@johnhaley81
Copy link
Copy Markdown
Collaborator

The native modules that are generated are compiled now from 3 sources: descriptor.json, types.json and the libgit2 docs json file. We only really need the libgit2 docs file and in rare cases have overrides in the descriptor.json file.

This should reduce a lot of the complexity in generating the native module.

@maxkorp
Copy link
Copy Markdown
Collaborator

maxkorp commented Oct 27, 2014

Going to argue that we still want a types file, but that there should be a static tracked version, and the compiled version should be separate and untracked, rather than overwriting them together.

@johnhaley81
Copy link
Copy Markdown
Collaborator Author

Currently, we are generating everything from the libgit2 docs and supplementing the docs if it's missing anything. The supplements should get phased out when libgit2 adds the missing stuff into their docs.

We're also using descriptors.json as overrides to libgit2 docs.

@maxkorp maxkorp force-pushed the refactor-descriptor branch from 17f52b4 to fe02a2b Compare November 7, 2014 22:33
@maxkorp maxkorp force-pushed the refactor-descriptor branch from fe02a2b to ded20af Compare November 7, 2014 22:45
@johnhaley81 johnhaley81 changed the title [WIP] Refactor descriptor Generate nodegit from libgit2 docs and refactor descriptor Nov 8, 2014
johnhaley81 added a commit that referenced this pull request Nov 8, 2014
Generate nodegit from libgit2 docs and refactor descriptor
@johnhaley81 johnhaley81 merged commit e1e7eaa into master Nov 8, 2014
@johnhaley81 johnhaley81 deleted the refactor-descriptor branch November 8, 2014 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants