Skip to content
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

Open
mledford opened this issue Sep 3, 2018 · 8 comments
Open

Support for other git hosting #64

mledford opened this issue Sep 3, 2018 · 8 comments

Comments

@mledford
Copy link

mledford commented Sep 3, 2018

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.

@voxpelli
Copy link
Owner

voxpelli commented Sep 3, 2018

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.

@frankmeeuwsen
Copy link

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...

@voxpelli
Copy link
Owner

@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.

@frankmeeuwsen
Copy link

frankmeeuwsen commented Jan 22, 2019 via email

@voxpelli
Copy link
Owner

Here’s another helpful link in that regard: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain

@frankmeeuwsen
Copy link

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.

@voxpelli
Copy link
Owner

Totally understandable, that’s the same reason I opted to use the GitHub API to begin with :)

@daraul
Copy link

daraul commented May 20, 2020

Couldn't generic git functionality be added with node-git?

https://github.com/nodegit/nodegit

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

No branches or pull requests

4 participants