commit - 1d3bc0bad526a7a4e21d9b2595e1f0f4edd98abe
commit + 7ee326cb704951ec81c37a236a98d8a62f755ad4
blob - 6497aeced96e61bad617a3e2e99859a97e484330
blob + e6b74faab16c4cb5b6fd21b2629f83b08210a2ed
--- gotd/parse.y
+++ gotd/parse.y
notifyflags : BRANCH STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_branch(new_repo, $2)) {
free($2);
YYERROR;
}
| REFERENCE NAMESPACE STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_ref_namespace(new_repo, $3)) {
free($3);
YYERROR;
}
| SUMMARIZE {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE)
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
conf_notify_summarize(new_repo);
+ }
}
| EMAIL TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
0, 0, NULL)) {
free($3);
}
| EMAIL TO STRING SHORTLOG {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
1, 0, NULL)) {
free($3);
}
| EMAIL TO STRING WITH DIFF {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
0, 1, NULL)) {
free($3);
}
| EMAIL TO STRING SHORTLOG WITH DIFF {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
1, 1, NULL)) {
free($3);
}
| EMAIL FROM STRING TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
0, 0, NULL)) {
free($3);
}
| EMAIL FROM STRING TO STRING SHORTLOG {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
1, 0, NULL)) {
free($3);
}
| EMAIL FROM STRING TO STRING WITH DIFF {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
0, 1, NULL)) {
free($3);
}
| EMAIL FROM STRING TO STRING SHORTLOG WITH DIFF {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
1, 1, NULL)) {
free($3);
}
| EMAIL TO STRING REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
0, 0, $6)) {
free($3);
}
| EMAIL TO STRING SHORTLOG REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
1, 0, $7)) {
free($3);
}
| EMAIL TO STRING WITH DIFF REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
0, 1, $8)) {
free($3);
}
| EMAIL TO STRING SHORTLOG WITH DIFF REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, NULL, $3,
1, 1, $9)) {
free($3);
}
| EMAIL FROM STRING TO STRING REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
0, 0, $8)) {
free($3);
}
| EMAIL FROM STRING TO STRING SHORTLOG REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
1, 0, $9)) {
free($3);
}
| EMAIL FROM STRING TO STRING WITH DIFF REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
0, 1, $10)) {
free($3);
}
| EMAIL FROM STRING TO STRING SHORTLOG WITH DIFF REPLY TO STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_email(new_repo, $3, $5,
1, 1, $11)) {
free($3);
}
| URL STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_http(new_repo, $2, 0, NULL,
NULL)) {
free($2);
}
| URL STRING SHORTLOG {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_http(new_repo, $2, 1, NULL,
NULL)) {
free($2);
}
| URL STRING USER STRING PASSWORD STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_http(new_repo, $2, 1, $4, $6)) {
free($2);
free($4);
}
| URL STRING SHORTLOG USER STRING PASSWORD STRING {
if (gotd_proc_id == PROC_GOTD ||
- gotd_proc_id == PROC_SESSION_WRITE) {
+ gotd_proc_id == PROC_SESSION_WRITE ||
+ gotd_proc_id == PROC_NOTIFY) {
if (conf_notify_http(new_repo, $2, 1, $5, $7)) {
free($2);
free($5);