Comments (3)
Thanks for writing this up. I very much value use cases to know which direction to prioritize. This can be milestone #4
if that's soon enough (a few months out). Right now I'm working super hard to finish milestone #1
since that alone will be enough for many people's use cases. A large part of this work is creating packfiles which is currently part of milestone #2
.
One comment on ssh. It's probably best to reuse the existing ssh server in servers. That's how real git works. What I would be re-implementing is the various shell commands that get spawned. These mini processes would then need to connect to the main git server process and talk to it on the client's behalf.
Now it would be more efficient if node was also also the ssh server and only understood git commands. But then your server wouldn't have an ssh server for remote logins anymore (unless node handled that too).
Also I would like to keep a js-git powered client as a separate task as a js-git powered server. Your use case may require both ends to be node powered, but many others do not.
from js-git.
My use case right now just requires js-git on the server... I would rather the client be able to use regular GIT.
SSH makes sense, I just wanted to point out the need for it.
Milestone 4 works... the sooner the better, but at the end of the day I understand the need to wait till milestone #4
from js-git.
I have a sample js-git server I'm using to develop the server-side of js-git. I just finished a basic version of repo.receivePack
that allows you to push to js-git powered servers!
https://github.com/creationix/js-git/blob/master/examples/serve.js
It's still missing the protocol "report-status" extension that will be needed for post-commit hooks though.
from js-git.
Related Issues (20)
- Generating repo statistics using js-git HOT 2
- NodeJS Git Server HOT 4
- what is wrong with my syntax?
- repo.unpack callback is never called using HTTP transport HOT 7
- Where can I find examples? HOT 18
- Pull / push HOT 7
- commit.parents is not defined when using logWalk HOT 2
- Octal modes HOT 2
- read ref-delta cause infinite loop... HOT 2
- NPM package is outdated HOT 1
- Example on README doesn't show that the yield loadAs returns an array
- es-git: js-git 2.0 HOT 18
- Clone URL in browser? HOT 10
- pack-ops mixing doesn't work HOT 5
- Replace github-db with private git server? HOT 4
- In-memory file system HOT 2
- resolveRef should be available through a mix-in HOT 2
- Typo in mem-cache dupe?
- support simple HTTP protocol HOT 25
- bountysource.com/fundraisers is dead and the about link is sad HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-git.