tmp commit1

Signed-off-by: dzdidi <deniszalessky@gmail.com>
This commit is contained in:
dzdidi
2024-01-24 10:50:37 +00:00
parent 1173108dea
commit 1b4f06e511

View File

@@ -43,7 +43,7 @@ module.exports = class RPC {
}
pushHandler (req) {
console.error('pushHandler is to be implemented')
console.error('pushHandler is to be implemented', req.toString())
const { url, repo, key, branch } = this.parsePushCommand(req)
console.error('url', url)
console.error('repo', repo)
@@ -52,7 +52,6 @@ module.exports = class RPC {
// TODO: check ACL
// collect stdout to buffer and return it
// const process = spawn('git', ['fetch', url, `${branch}:${branch}`], { env: { GIT_DIR: getCodePath(name) } })
console.error('req', req.toString())
console.error('pushHandler not implemented')
}