this project is a fork of poppyschmo/emergency-git-server project but i have implement some other Functionalities and removed others
First add your user and password to file eg. data/passwds/user
or use user:pass
as your credintials for testing
if you have your own secret file, please change it on data/auth.json
if you would like to use some security pass use this service to create SHA1
pass
# Clone this Repo
git clone https://github.com/mohmadhabib/emergency-http-git-server
# Change Dir
cd emergency-http-git-server
# Run it
python3 server.py data/repos # OR make run
For post-receive Hook for Auto Deployment
# It's Simply will be Triggered After Pushed to server and will check for makefile named as .deploy, if found it will call the default (all) target in it, other than that it will skip any other files
# Project File Structure
emergency-http-git-server
├── data
│ ├── auth.json
│ ├── hooks
│ │ └── post-receive
│ ├── passwds
│ │ ├── root
│ │ └── user
│ └── repos
├── makefile
├── README.md
└── server.py # <------- Server Script
- REMOVE openssl ($apr1) Password.
- REMOVE Logfile change name, reset same file every startup.
- ADD accept Plain USER:PASS auth file
- ADD simple listing repos via POST Req.
- ADD Custom Hook for Deployments, using gnumake
- python3
- git
- Simplify Auth using only auth.json
- Auto Deploy (post-receive) hook internaly
- Add Extra POST Functionality (adduser, deluser, changeprivate)
- (Not Planned) add simple git frontend
- (Experment) bundle all files in Single File