summaryrefslogtreecommitdiffabout
path: root/tests
authorSergey Poznyakoff <gray@gnu.org>2019-07-24 11:14:47 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-07-24 11:27:11 (GMT)
commitc047ed856d6d23137ef1df01c1297db36bad3f8c (patch) (side-by-side diff)
tree1999db947cb5e38df8a85d314daa0eef7c7624d0 /tests
parent07ea006a31def46ba6ea936dbea366219152d9b6 (diff)
downloadwydawca-master.tar.gz
wydawca-master.tar.bz2
Use wordsplit to expand variables in strings.HEADmaster
* 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') (more/less context) (ignore whitespace changes)
-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
@@ -35,7 +35,7 @@ Subject: Upload of ${project} successful
Upload of ${project} to ${url}/${dir} finished successfully.
Files uploaded:
-${triplet:ls:upload}$-
+${triplet:ls:upload}
Regards,
Wydawca
@@ -53,10 +53,10 @@ notify-event {
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
@@ -78,10 +78,10 @@ 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.
@@ -134,7 +134,7 @@ notify-event {
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:
@@ -190,7 +190,7 @@ notify-event {
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:
@@ -216,7 +216,7 @@ 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.

Return to:

Send suggestions and report system problems to the System administrator.