-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support for other git hosting #64
Comments
That shouldn’t be too hard, considering that all GitHub-stuff is encapsulated in a single module, so if someone wants to contribute an adaptor for BitBucket then I would probably merge it. Eventually it would be nice to support a solution using raw git directly, then all remotes would be supported. |
I am currently moving my site to my own git hosting. Using raw git would be excellent for my usecase. I am a bit on the fence since I've never made anything like this but I could take a look at the possibilities... |
@frankmeeuwsen What it would entail is basically a module that as close as possible mimics https://github.com/voxpelli/node-github-publish, but instead uses raw git commands – not sure how complex it would be. Depends on how intelligent it should be and what it uses to talk git. If it eg. uses a pure-js implementation like https://github.com/creationix/js-git or something or whether it uses the CLI tool or some libgit approach. |
@voxpelli thanks for the pointer to js-git. I am currently testing stand alone scripts with nodegit (https://github.com/nodegit/nodegit) and wrapping my head around the concept of blobs and a deeper understanding of git. When I got that working I will try to incorporate it in a new branch.
My own usecase is with a bare git repo so I need some extra steps to go from a file to a commit in a tree. It’s all new to me but I’ll get there ;-)
Frank
… Op 22 jan. 2019 om 12:47 heeft Pelle Wessman ***@***.***> het volgende geschreven:
@frankmeeuwsen What it would entail is basically a module that as close as possible mimics https://github.com/voxpelli/node-github-publish, but instead uses raw git commands – not sure how complex it would be.
Depends on how intelligent it should be and what it uses to talk git. If it eg. uses a pure-js implementation like https://github.com/creationix/js-git or something or whether it uses the CLI tool or some libgit approach.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Here’s another helpful link in that regard: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain |
I've been reading up on the material and trying to understand the various concepts. I think this is all a bit high over for me and too heavy lifting with my current knowledge of both git and NodeJS. Or any programming language. I'm going to look for another solution so I can move on with my site and start publishing again instead of using that time to program. Thanks again. |
Totally understandable, that’s the same reason I opted to use the GitHub API to begin with :) |
Couldn't generic git functionality be added with |
I know this project is named as what it does on the tin. However, it would be great if other git hosting were supported. Specifically it would be great if Bitbucket were supported.
The text was updated successfully, but these errors were encountered: