github - How to handle git's http request based on PHP when git builds its own server warehouse

WBOY
Release: 2016-07-06 13:51:40
Original
1041 people have browsed it

How to handle git http requests based on PHP when git builds its own server warehouse?

I don’t know how products such as github and gitlab can use the website’s WEB account to perform HTTP authentication and manage project members?

Write your own interface service, no third-party software required!

Reply content:

How to handle git http requests based on PHP when git builds its own server warehouse?

I don’t know how products such as github and gitlab can use the website’s WEB account to perform HTTP authentication and manage project members?

Write your own interface service, no third-party software required!

PHP also has socket

Gitlab is an open source and free project. After configuring gitlab directly on your own server, you can authenticate and manage members and codes just like the poster said
Refer to building gitlab under centos

This is the git server method I used before. You can try the Linux installation gogs as git server tutorial

They are programs that encapsulate the git interface. You can do it if you are interested.

https://io-meter.com/2014/07/09/simple-git-http-server/
This article is written in GO, hoping to find a way to implement it in PHP.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template