-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node patterns #2
Comments
Thanks for this. This was next on my list but I don't have any experience of this so it's really helpful. I'm including a wrapper for shelling out in this too (it will be useful for generating test repos), so if you can point me at your use cases in npm I can implement those first. Cheers. |
Right now, the Other commands simply abort when they encounter a .git folder, and refuse to clobber it. So, once you submodule something, you must use git to update it from then on. It'd be nice if To use this in npm, however, it can't depend on underscore, use global variables, or modify require.paths, and the client should be easier to get at programmatically, not through the cli. |
Also, I'd like to be able to install packages from |
@danlucraft I'd love to help out with this. I've got some experience with the git internals (was working on my own implementation of git in javascript previously) -- it'd be super helpful if we could split this into discrete issues so I could work on tiny bits on my own and submit changes to you via pull requests (e.g., "add git wire protocol support", "add loose object write support", "add pack file write support", "npm-ify module"). Only if you have the time though! Great work! |
Hi Chris, of course, tempusfugit wasn't it? Sounds like a plan :) |
Apologies for the patchbomb bombardment; I put in a fair amount of work in this evening on refactoring this to use commonjs idioms: https://github.com/chrisdickinson/git.js/tree/feature/commonjs. Putting together an in-browser build script plus tests is my next step. |
npm install
can pick them all up.)It may be worthwhile to check out requirejs or browserify to be able to use exactly the same patterns in both the browser and Node.
The text was updated successfully, but these errors were encountered: