Python Hook script for notifying team members by email
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

GitLab Email Hook

Storing last short sha1 commit in sql. After pushing new commit to remote server if new short sha1 commit equal with short sha1 commit in sql, script sending email following format and updating sql.

Also if new repo created, script detect new repo and insert new repo to last_commit sql table

Email Format

Commit Repo: githlab-email-repo
Branch Name: master
User: gokhan
User Mail:
Commit Message: First Test Email Commit
Commit Time: 2015-05-30T13:58:42.000+03:00

Diff URL: