Permalink
Browse files

updates to project name

  • Loading branch information...
tbranyen committed Mar 8, 2011
1 parent 73362e9 commit 1078f6ba78747f8ece16463de92fa95b87e30019
Showing with 28 additions and 28 deletions.
  1. +1 −1 Api.doxygen
  2. +2 −2 Makefile
  3. +19 −19 README.md
  4. +1 −1 lib/index.js
  5. +3 −3 package.json
  6. +2 −2 wscript
View
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
-PROJECT_NAME = Nodegit2
+PROJECT_NAME = NodeGit
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
View
@@ -3,7 +3,7 @@ NODE_BLD = node-waf
NODE_LIB_PATH = ~/.node_libraries
BASE = .
-INSTALL_PATH = $(NODE_LIB_PATH)/nodegit2
+INSTALL_PATH = $(NODE_LIB_PATH)/nodegit
all: build_bindings
@@ -15,7 +15,7 @@ install:
@@mkdir -p $(INSTALL_PATH)/build/default
@@mkdir -p $(INSTALL_PATH)/lib
- @@cp -f $(BASE)/build/default/nodegit2.node $(INSTALL_PATH)/build/default/nodegit2.node
+ @@cp -f $(BASE)/build/default/nodegit.node $(INSTALL_PATH)/build/default/nodegit.node
@@cp -f $(BASE)/lib/* $(INSTALL_PATH)/lib/
@@cp -f $(BASE)/package.json $(INSTALL_PATH)/
View
@@ -3,33 +3,33 @@ Node.js libgit2 bindings
Created by Tim Branyen [@tbranyen](http://twitter.com/tbranyen)
-Currently under active development, `nodegit2` provides asynchronous native bindings to the `libgit2` C API.
+Currently under active development, `nodegit` provides asynchronous native bindings to the `libgit2` C API.
Building and installing
-----------------------
### Dependancies ###
-To run `nodegit2` you need `Node.js` and to run unit tests you will need to have `git` installed and accessible from your `PATH` to fetch any `vendor/` addons.
+To run `nodegit` you need `Node.js` and to run unit tests you will need to have `git` installed and accessible from your `PATH` to fetch any `vendor/` addons.
### Easy install (Recommended) ###
-This will install and configure everything you need to use `nodegit2`.
+This will install and configure everything you need to use `nodegit`.
- [tim@thinkpad Projects]$ sudo npm install nodegit2
+ [tim@thinkpad Projects]$ sudo npm install nodegit
### Mac OS X/Linux/Unix ###
-#### Install `nodegit2` by cloning source from __GitHub__ and running the `configure`, `make`, and `make install` commands: ####
-\*Note: `nodegit2` assumes your library path exists at `~/.node_libraries`.\*
+#### Install `nodegit` by cloning source from __GitHub__ and running the `configure`, `make`, and `make install` commands: ####
+\*Note: `nodegit` assumes your library path exists at `~/.node_libraries`.\*
- [tim@thinkpad Projects]$ git clone git://github.com/tbranyen/nodegit2.git
- [tim@thinkpad Projects]$ cd nodegit2
- [tim@thinkpad nodegit2]$ ./configure
- [tim@thinkpad nodegit2]$ make
- [tim@thinkpad nodegit2]$ make install
+ [tim@thinkpad Projects]$ git clone git://github.com/tbranyen/nodegit.git
+ [tim@thinkpad Projects]$ cd nodegit
+ [tim@thinkpad nodegit]$ ./configure
+ [tim@thinkpad nodegit]$ make
+ [tim@thinkpad nodegit]$ make install
### Windows via Cygwin ###
-#### `nodegit2` has been compiled and tested to work with the setup required to build and run `Node.js` itself. ####
+#### `nodegit` has been compiled and tested to work with the setup required to build and run `Node.js` itself. ####
Instructions on compiling `Node.js` on a Windows platform can be found here:
[https://github.com/ry/node/wiki/Building-node.js-on-Cygwin-(Windows)](https://github.com/ry/node/wiki/Building-node.js-on-Cygwin-(Windows\))
@@ -40,7 +40,7 @@ API Example Usage
### Convenience API ###
__ Reading a repository and commit data: __
- var git = require( 'nodegit2' );
+ var git = require( 'git' );
// Read the current repository
git.repo( '.git', function( err, path, repo ) {
@@ -64,7 +64,7 @@ __ Reading a repository and commit data: __
### Raw API ###
__ Accomplishing the same thing as above: __
- var git = require( 'nodegit2' ).git2;
+ var git = require( 'git' ).raw;
// Create instance of Repo constructor
var repo = new git.Repo();
@@ -97,14 +97,14 @@ __ Accomplishing the same thing as above: __
Running tests
-------------
-__ `nodegit2` library code is written adhering to a modified `JSHint`. Run these tests with `make lint`. __
+__ `nodegit` library code is written adhering to a modified `JSHint`. Run these tests with `make lint`. __
__ To run unit tests ensure the submodules `nodeunit` and `rimraf` are located in the `vendor/` subdirectory. __
-If they are not, `cd` into the `nodegit2` dir and run the following `git` commands to automatically fetch them:
- [tim@thinkpad Projects]$ cd nodegit2
- [tim@thinkpad nodegit2]$ git submodule init vendor/
- [tim@thinkpad nodegit2]$ git submodule update vendor/
+If they are not, `cd` into the `nodegit` dir and run the following `git` commands to automatically fetch them:
+ [tim@thinkpad Projects]$ cd nodegit
+ [tim@thinkpad nodegit]$ git submodule init vendor/
+ [tim@thinkpad nodegit]$ git submodule update vendor/
Then simply run `make unittest` in the project root.
View
@@ -8,7 +8,7 @@ var util = require( './util.js' ).util,
commit = require( './commit.js' ).commit,
tree = require( './tree.js' ).tree;
-exports.git2 = require( '../build/default/nodegit2.node' );
+exports.raw = require( '../build/default/git.node' );
exports.util = util;
exports.repo = repo;
exports.ref = ref;
View
@@ -1,13 +1,13 @@
{
- "name": "nodegit2",
+ "name": "nodegit",
"description": "NodeJS libgit2 asynchronous native bindings",
"version": "0.0.1",
- "homepage": "https://github.com/tbranyen/nodegit2",
+ "homepage": "https://github.com/tbranyen/nodegit",
"author": "Tim Branyen <tim@tabdeveloper.com> (http://twitter.com/tbranyen)",
"main": "./lib/index.js",
"repository": {
"type": "git",
- "url": "git://github.com/tbranyen/nodegit2.git"
+ "url": "git://github.com/tbranyen/nodegit.git"
},
"directories": {
"build": "./build",
View
@@ -5,7 +5,7 @@ from os import system
from os.path import exists, abspath
VERSION = '0.0.1'
-APPNAME = 'nodegit2'
+APPNAME = 'nodegit'
srcdir = '.'
blddir = 'build'
@@ -30,7 +30,7 @@ def build(bld):
Popen('python waf build-shared', shell=True).wait()
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
- obj.target = 'nodegit2'
+ obj.target = 'git'
obj.source = 'src/base.cc src/sig.cc src/blob.cc src/error.cc src/object.cc src/reference.cc src/repo.cc src/commit.cc src/oid.cc src/revwalk.cc src/tree.cc'
obj.rpath = abspath('build/shared')
obj.uselib = 'GIT2'

0 comments on commit 1078f6b

Please sign in to comment.