aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-24 14:14:47 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-24 14:27:11 +0300
commitc047ed856d6d23137ef1df01c1297db36bad3f8c (patch)
tree1999db947cb5e38df8a85d314daa0eef7c7624d0 /tests
parent07ea006a31def46ba6ea936dbea366219152d9b6 (diff)
downloadwydawca-c047ed856d6d23137ef1df01c1297db36bad3f8c.tar.gz
wydawca-c047ed856d6d23137ef1df01c1297db36bad3f8c.tar.bz2
Use wordsplit to expand variables in strings.
* NEWS: Raise version number. * configure.ac: Link wydawca.h to include/wydawca Raise version number * doc/wydawca.texi: Document changes. * etc/wydawca.rc: Fix the syntax. * grecs: Upgrace. * include/wydawca/wydawca.h (wy_vlog): New proto. (wy_log, wy_dbg): Format is const char *. (wy_triplet_t): Change typedef. (wy_metadef): Remove struct. (wy_vardef): New struct. (wy_triplet_expand_param) (wy_expand_copy): New protos. * modules/logstat/mod_logstat.c: Update. * modules/mailutils/Makefile.am (AM_CPPFLAGS): Modify, * modules/mailutils/mod_mailutils.c: Update. * src/Makefile.am (wydawca_SOURCES): Remove meta.c * src/dictionary.c: Fix comment. * src/directive.c (directive_get_value): Triplet pointer is const. * src/meta.c: Remove. * src/timer.c: (timer_fill_meta) (timer_free_meta): Remove. * src/triplet.c: Use wordsplit for expansions. * src/wydawca.c (wy_vlog): New function. (wy_stat_expansion): New function. * src/wydawca.h: Remove metadef protos. * tests/etc/notify.rcin: Update variable reference syntax.
Diffstat (limited to 'tests')
-rw-r--r--tests/etc/notify.rcin16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/etc/notify.rcin b/tests/etc/notify.rcin
index 67b7096..ea2d2bb 100644
--- a/tests/etc/notify.rcin
+++ b/tests/etc/notify.rcin
@@ -32,13 +32,13 @@ notify-event {
message <<EOT
Subject: Upload of ${project} successful
Upload of ${project} to ${url}/${dir} finished successfully.
Files uploaded:
-${triplet:ls:upload}$-
+${triplet:ls:upload}
Regards,
Wydawca
The Project Submission Robot
EOT;
}
@@ -50,16 +50,16 @@ notify-event {
module mailutils;
module-config {
recipient owner;
message <<EOT
Subject: Upload of ${project} successful
-${user:real-name} (${user:email}) successfully uploaded files
+${user:real_name} (${user:email}) successfully uploaded files
for ${project} to ${url}/${dir}. Files uploaded:
-${triplet:ls:upload}$-
+${triplet:ls:upload}
Regards,
Wydawca
The Project Submission Robot
EOT;
}
@@ -75,16 +75,16 @@ notify-event {
message <<EOT
Subject: Suspicious upload of ${project}
Someone not authorized to make releases for ${project}
has attempted to upload the following files to ${url}/${dir}:
-${triplet:ls:full}$-
+${triplet:ls:full}
This upload has been ignored and the files removed. The person who attempted
-the upload was ${user:real-name}, user name ${user:name}, email ${user:email}.
+the upload was ${user:real_name}, user name ${user:name}, email ${user:email}.
If you think this is an error and wish this user to be authorized to make
releases for ${project}, please contact <puszcza-hackers@gnu.org.ua>.
Otherwise, let us know so we could undertake appropriate measures.
Regards,
Wydawca
@@ -131,13 +131,13 @@ notify-event {
module mailutils;
module-config {
recipient owner;
message <<EOT
Subject: Suspicious upload of ${project}
-${user:real-name} (${user:email}) has tried to make a release
+${user:real_name} (${user:email}) has tried to make a release
for ${project}. However, the signature of the directive file was wrong,
which looks suspicious. The person uploaded the following files:
${triplet:ls:full}
This upload has been ignored and the files removed.
@@ -187,13 +187,13 @@ notify-event {
module mailutils;
module-config {
recipient owner;
message <<EOT
Subject: Suspicious upload of ${project}
-${user:real-name} (${user:email}) has tried to make a release
+${user:real_name} (${user:email}) has tried to make a release
for ${project}. However, the detached signature file was wrong,
which looks suspicious. The person uploaded the following files:
${triplet:ls:full}
This upload has been ignored and the files removed.
@@ -213,13 +213,13 @@ notify-event {
message <<EOT
Subject: ${triplet:dist} rejected
Your upload of ${triplet:dist} has been rejected by the distribution
verification procedure with the following diagnostics:
-${check:diagn}$-
+${check:diagn}
Please fix the tarball and resubmit.
Regards,
Wydawca
The Project Submission Robot

Return to:

Send suggestions and report system problems to the System administrator.