Skip to content

Codegen - #79

Merged
tbranyen merged 28 commits into
nodegit:wipfrom
nkallen:codegen
Aug 5, 2013
Merged

Codegen#79
tbranyen merged 28 commits into
nodegit:wipfrom
nkallen:codegen

Conversation

@nkallen

@nkallen nkallen commented Jul 15, 2013

Copy link
Copy Markdown
Contributor

Codgen C++ Glue

@tbranyen

Copy link
Copy Markdown
Member

Yup failing because of the issue I mentioned before:

"AssertionError: 'The .git file at '/etc/hosts' is malformed' == 'The .git file at '/private/etc/hosts' is malformed'".

Should be an easy fix. I can look into it tomorrow.

@tbranyen

Copy link
Copy Markdown
Member

@nkallen that fix will still fail since /private doesn't exist in Linux or Windows.

Maybe this?

b/test/repo.js
index fa6bcd3..886dee0 100644
--- a/test/repo.js
+++ b/test/repo.js
@@ -11,8 +11,8 @@ exports.open = function(test){
   test.expect(2);

   // Test invalid repository
-  git.Repo.open('/private/etc/hosts', function(error, repository) {
-    test.equals(error.message, "The `.git` file at '/private/etc/hosts' is malformed");
+  git.Repo.open('../templates', function(error, repository) {
+    test.equals(error.message, "Could not find repository from '../templates'");

     // Test valid repository
     git.Repo.open('../.git', function(error, repository) {

@nkallen

nkallen commented Aug 1, 2013

Copy link
Copy Markdown
Contributor Author

Do you guys have any comments? Should I just merge this into the WIP?

@tbranyen

tbranyen commented Aug 2, 2013

Copy link
Copy Markdown
Member

Hey @nkallen looks good to me. 👍

@tbranyen

tbranyen commented Aug 3, 2013

Copy link
Copy Markdown
Member

I've forked a branch from your's in anticipation and started rewriting our installer to be cross platform with Windows.

tbranyen added a commit that referenced this pull request Aug 5, 2013
@tbranyen
tbranyen merged commit 8076e2d into nodegit:wip Aug 5, 2013
@faceleg

faceleg commented Aug 6, 2013

Copy link
Copy Markdown
Collaborator

This is great!

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.

3 participants