| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
| |
This solution still requires the server installed git-bash.
|
|
|
|
|
| |
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
|
| |
|
|
|
|
|
|
|
|
| |
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
|
|
|
|
|
| |
- Able to restrict force push and deletion
- Able to restrict direct push
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.
Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.
By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636.
|
| |
|
|
|