100 Commits

Author SHA1 Message Date
Sascha Schumann e291e009ca - test 2013-10-26 00:20:25 +02:00
Sascha Schumann 775e4a374c - hardcode envelope from 2013-10-26 00:19:11 +02:00
David Soria Parra d1884840e7 Use non-worktree aware diff 2012-06-22 19:29:57 +02:00
David Soria Parra e8cfe4c3e3 Correct forced push detection
We have a forced push if we cannot fast forward.
2012-06-22 19:28:03 +02:00
David Soria Parra abfc9e24ae Deny overwriting commits on certain branches
We don't want people to be able to use force pushes on certain branches,
such as PHP-5.4/PHP-5.3/master.
2012-06-22 19:21:22 +02:00
Alexander Moskaliov 9f70080113 replace git show by git diff in getChangedPaths 2012-06-22 19:21:22 +02:00
Alexander Moskaliov 0f4a8cdd72 fix char's case problem 2012-06-08 17:36:47 +04:00
Alexander Moskaliov f63ee40602 Replace author by committer date in mail date header 2012-05-01 11:40:32 +04:00
Alexander Moskaliov bc220ca91e fix double bugs 2012-04-07 14:50:41 +04:00
Alexander Moskaliov e7cb7e7acf fix double bugs 2012-04-04 16:37:31 +04:00
Alexander Moskaliov a103092576 Add mails about deleted commits and branch 2012-04-03 16:00:42 +04:00
Alexander Moskaliov 410216d61c Omitting uninteresting hunks in merge commit diff 2012-03-31 21:41:35 +04:00
Rasmus Lerdorf c059938d0d Emails are back 2012-03-28 23:39:51 -07:00
Rasmus Lerdorf 2ce04e3b10 Turn off git emails temporarily 2012-03-28 22:51:40 -07:00
Alexander Moskaliov 3082cb40bc replace git show in getChangedPaths by git diff-tree 2012-03-28 10:25:02 +04:00
Alexander Moskaliov 31ccabcd4f add safety value for reftype 2012-03-24 13:56:57 +04:00
David Soria Parra deed69a3a5 Check for trivial merge based on the paths array 2012-03-24 09:30:20 +01:00
Alexander Moskaliov b2c216852c check only branch changes in bugsweb 2012-03-23 11:16:47 +04:00
Alexander Moskaliov aa1ceee7c9 fix undefined tagger_date for not annotated tags 2012-03-23 11:11:10 +04:00
Alexander Moskaliov 0f69df22dc fix fatal error while deleting tag 2012-03-23 11:07:15 +04:00
Alexander Moskaliov 74122fc5ee add log for tag 2012-03-23 10:51:23 +04:00
Alexander Moskaliov 51d545a5ce fix "undefined info" bug 2012-03-23 10:44:18 +04:00
Alexander Moskaliov c32cd6bf13 Small refactoring 2012-03-23 10:16:44 +04:00
Alexander Moskaliov 00fd9038da Remove commit data cache.
This cache was added because same commits data was
used in branch,tag and commit mails. Now we remove
branch mails, so we not need cache more.
2012-03-23 09:53:30 +04:00
Alexander Moskaliov b6b01b9106 possibly fix for "Allowed memory size exhausted " error 2012-03-22 23:11:40 +04:00
Alexander Moskaliov 5a963dbc6c Remove var_dump 2012-03-22 16:46:03 +04:00
Alexander Moskaliov 27a6e56893 add repository name to log 2012-03-22 16:36:36 +04:00
Alexander Moskaliov 34cd04cc94 add logging
For start logging we must set
git config hooks.enableLog true
2012-03-22 15:47:25 +04:00
Alexander Moskaliov a1e626ea64 possibly fix crazy branche list in commit mail 2012-03-22 14:32:27 +04:00
Alexander Moskaliov 017216d047 Fix double "<" and ">" in tagger email
getTagInfo return mail with < and >, getCommitInfo without
2012-03-22 12:29:30 +04:00
David Soria Parra 4eb17646d5 Check for empty outputs, not for return values
gitExec doesnt return the return value but the output. Therefore
check if the output in isRevInBranches is empty. This indicates
that it is not.
2012-03-22 12:27:17 +04:00
David Soria Parra 42b7508bdc Requiere access to full repo if you push a new branch
In order to push a new branch you have to have access to the full
repository.
2012-03-22 08:38:57 +01:00
David Soria Parra bacc09d892 Populate $this->revisions 2012-03-20 19:35:35 +01:00
David Soria Parra 5d94b4eef0 Align branchnames 2012-03-20 19:10:02 +01:00
David Soria Parra 2b3dd00e18 Remove the branch emails
Branch emails are only useful if we have more than one commit. Then still
you are most likely only interested in the commits itself. We will come up
with a solution that sends out branch mails but reduce noise in general
in the future.
2012-03-20 19:03:55 +01:00
David Soria Parra 148ceef33c Typo 2012-03-20 18:54:04 +01:00
David Soria Parra 44ed570277 Ignore refs/heads/ in branchnames 2012-03-20 18:53:22 +01:00
David Soria Parra 7b8230a7df Omit trivial merges 2012-03-20 18:47:31 +01:00
David Soria Parra 9017e6f22c Show branches to which a commit applies in the commit mail 2012-03-20 18:47:31 +01:00
Derick Rethans 14bb87dbb7 Fold author and committer if they're the same and align items. 2012-03-20 09:41:04 +00:00
Derick Rethans 01fda1b87d Use the author/tagged date as timestamp to go into the e-mail header.
This makes the emails appear in chronological order in the threads.
2012-03-20 09:05:42 +00:00
Derick Rethans f05ac19fc6 Use author/email format that can be copied and pasted for use in e-mail clients. 2012-03-20 09:05:42 +00:00
David Soria Parra 20a4cccd33 Wording: branch -> push in the prefix for pushmails 2012-03-20 09:55:18 +01:00
Derick Rethans 6d6e9738bc Switch to getRepositoryShortName otherwise it breaks the karma system. 2012-03-20 08:47:54 +00:00
David Soria Parra a4725e5a64 Revert "Removed the .git part of the repository name as specified by the methods docblock."
This reverts commit 3586d1c665.
2012-03-20 09:41:38 +01:00
Derick Rethans 3bacfbd956 Merge branch 'master' of git.php.net:/karma 2012-03-20 08:25:38 +00:00
Derick Rethans bdcf0e849a Add commit message "subject" and change "commit" to "com" to save space. 2012-03-20 07:59:37 +00:00
Derick Rethans 3586d1c665 Removed the .git part of the repository name as specified by the methods docblock.
This also gets rid of the superfluous ".git" in email subjects.
2012-03-20 07:55:09 +00:00
Derick Rethans eb514083bf Don't use an email prefix unless specifically configured.
This gets rid of the superfluous "[git] " in every mail subject to PHP-CVS.
2012-03-20 07:54:58 +00:00
Alexander Moskaliov 11bc19461c Add trivial merge.
For merge commits without change any files (trivial merge) we not show changes path and diff in mail
2012-03-20 11:36:28 +04:00