Tomasz Kolek
6ad4cce35c
Add object number/id to mention about Issue, PR, etc. to all git integrations.
2016-11-02 22:19:51 -07:00
Tomasz Kolek
89d53a0640
Change name of PR subject template to be applicable for issues.
2016-10-20 23:15:30 -07:00
Tomasz Kolek
289f400c8c
Add git integrations method to build message for issues events.
2016-10-20 23:15:30 -07:00
Tomasz Kolek
2941c1f517
Move converting commits data to text to separate function.
...
Create get_commits_content function for converting
commits list to text.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
d2cedd3667
Rename consts in lib/webhooks/git.py to make it more general.
...
Rename:
PUSH_COMMITS_LIMIT to COMMITS_LIMIT
PUSH_COMMIT_ROW_TEMPLATE to COMMIT_ROW_TEMPLATE
PUSH_COMMITS_MORE_THAN_LIMIT_TEMPLATE to COMMITS_MORE_THAN_LIMIT_TEMPLATE
2016-10-14 16:54:13 -07:00
Tomasz Kolek
ee70cc5141
Add git integration method to build message for pull requests events.
2016-10-14 16:54:13 -07:00
Tomasz Kolek
312905007e
Add EMPTY_SHA const to zerver/lib/webhooks/git.py.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
b69b5e55ce
Add git integration method to build message for remove branch events.
...
Add get_remove_branch_event_message method to zerver/lib/webhooks/git.py
for normalizing remove branch message in all git integrations.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
5f7c1519d1
Add git integration method to build message for force push events.
...
Add get_force_push_commits_event_message method to zerver/lib/webhooks/git.py
for normalizing force push message in all git integrations.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
32934a02e9
Add template for subject that contains repo name and branch name.
2016-10-10 17:39:05 -07:00
Tomasz Kolek
8697a1e5a2
Add common git integration method to build message for push events.
...
This adds get_push_commits_event_message method to
zerver/lib/webhooks/git.py for normalizing push messages in all git
integrations.
2016-10-10 17:32:41 -07:00