node-git-server
node-git-server copied to clipboard
🎡 A configurable git server written in Node.js
Ref: #100
Hi Team, could you please help me to use this library without actual git installation or how can we use external git binaries so the library works as expected?
* Built on top of #96 * Added a generic context type to the `Git` class which allows the `authenticate` function to respond with a context value (inspired by the...
The current regex for parsing a receive-pack payload assumes the ref will be of the form: refs/tags/:tag-name refs/heads/:branch-name We'd like to be able to push arbitrary refs, like refs/any/thing/we/like The...
When creating a new repo, a `.git` suffix is appended here: https://github.com/gabrielcsapo/node-git-server/blob/e25c481b85f8b929146b4ea46227d0b6fd83caf4/src/git.ts#L288 and it appears to be enforced in `list`, but not everywhere However the `.git` suffix is not a...
After push.accept(), how can I get the received files? I'm in a proof of concept to use node-git-server as a devops platform. My goal is: ``` repos.on('push', (push) => {...
You can use it with express like following : ``` const path = require('path'); const express = require('express'); const app = express(); const Server = require('node-git-server'); const repos = new...
It'd be great to be able to override a created repo's symbolic `HEAD` reference when created by the `autoCreate` parameter. I'm happy to open a PR - but wanted to...
Hi, I got a little problem. IP is **not supported** at `repoServer.listen(port, options, callback); ` but httpServer is. Could you resolve it? Thanks~
When I run the authentication sample code from the [documentation](https://gabrielcsapo.github.io/node-git-server/code/index.html) and then try to clone an existing repository, I get the following error. I've changed nothing about the sample code...