Skip to content

[WIP] Additional Log Output During Build - #774

Closed
samkelleher wants to merge 17 commits into
nodegit:masterfrom
samkelleher:master
Closed

samkelleher wants to merge 17 commits into
nodegit:masterfrom
samkelleher:master

Conversation

@samkelleher

Copy link
Copy Markdown
Contributor

(maybe I can separate out the node 5 on travis build).

Essentially I've been trying to resolve build issues. The existing build script wasn't handling failure and would just skip ahead regardless of error, or end without writing - this PR is simply adding console logging at each build step, and forcing a failure on errors.

samkelleher and others added 17 commits November 5, 2015 17:38
Console to ensure we can track when the promise resolves/rejects. (seen the code hang here and exit without any warning).
Add logs to track in console activity during build.
A failure of the promise.all results in silent failure later since it's not handled or warned.
Handle rejection and log a warning.
Force quit on failure.
Log end of function.
Test postinstall
Rework promise to break out process.
@maxkorp

maxkorp commented Nov 9, 2015

Copy link
Copy Markdown
Collaborator

@samkelleher seems like a few things in here are already in via PR. Can I get you to split this into smaller PRs please?

@samkelleher

Copy link
Copy Markdown
Contributor Author

Yeh the node 5 I added separately as I'm still having issues producing a binary output. I'll tidy this up tomorrow. This pr will simply add more verbose logging during install.

@samkelleher samkelleher changed the title [WIP] Additional Build Console Logs + Node v5 Added to Travis. [WIP] Additional Log Output During Build Nov 10, 2015
@johnhaley81

Copy link
Copy Markdown
Collaborator

@samkelleher @maxkorp is this still needed?

@samkelleher

Copy link
Copy Markdown
Contributor Author

I allowed this to go stale as I started working on another project. It was basically just adding some logging and throwing errors where they were being swallowed to improve onboarding and installation troubleshooting. It might be best to close the PR.

@johnhaley81

Copy link
Copy Markdown
Collaborator

👍

@johnhaley81 johnhaley81 closed this Mar 1, 2016
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