diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-27 15:11:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-27 15:33:30 +0300 |
commit | 83d7377354504cf3d92a5bdf9cade07554c6b66e (patch) | |
tree | 01d602910d6314edbd5568600e7dfb5b1b215bfa /tests/etc | |
parent | 5fc301baf79e9cc19b1bc8e7a5940e060611e349 (diff) | |
download | wydawca-83d7377354504cf3d92a5bdf9cade07554c6b66e.tar.gz wydawca-83d7377354504cf3d92a5bdf9cade07554c6b66e.tar.bz2 |
Implement upload directives version 1.2
* NEWS: Update.
* README: Update.
* doc/wydawca.texi: Document changes.
* src/cmdline.opt: Update copyright years.
* src/config.c: Update for new grecs version.
New keywords: min-version and max-version.
* src/directive.c (directive_unpack_version): New function.
(directive_version_in_range_p): Set trp->version and print it.
(directive) <replace_dir>: New directive.
(directive_table): New directive "replace".
(verify_directive_format): Use globals min_directive_version
and max_directive_version.
(process_directives): Handle replace_dir
* src/diskio.c (dir_move_file): Use the "replace"
directive to act on existing files.
* src/wydawca.c (min_directive_version)
(max_directive_version): New globals.
(main): Loosen gpgme requirement: version 1.1.0 is Ok.
* src/wydawca.h (MAX_DIRECTIVE_VERSION): Set to 102
(file_triplet) <version>: New member.
(min_directive_version)
(max_directive_version): New globals.
(directive_unpack_version): New proto.
* tests/upl11.at: New file.
* tests/upl12f.at: New file.
* tests/upl12t.at: New file.
* tests/Makefile.am (TESTSUITE_AT): Add new files.
* tests/atlocal.in (wydawca_upload): Change invocation. All uses updated.
(wydawca_cmparc): New function.
* tests/check-fail.at: Update.
* tests/check-notify.at: Update.
* tests/check-ok.at: Update.
* tests/dist/file12f.directive.asc: New file.
* tests/dist/file12t.directive.asc: New file.
* tests/etc/wydawca.rcin (test): Define "archive" clause.
* tests/mailstats.at: Update.
* tests/notify-upl.at: Update.
* tests/testsuite.at: Include new files.
* tests/upload-dry.at: Update.
* tests/upload.at: Update.
Diffstat (limited to 'tests/etc')
-rw-r--r-- | tests/etc/wydawca.rcin | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/etc/wydawca.rcin b/tests/etc/wydawca.rcin index 752b957..ec87a7b 100644 --- a/tests/etc/wydawca.rcin +++ b/tests/etc/wydawca.rcin | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of Wydawca testsuite | 1 | # This file is part of Wydawca testsuite |
2 | # Copyright (C) 2009-2011 Sergey Poznyakoff | 2 | # Copyright (C) 2009-2012 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Wydawca is free software; you can redistribute it and/or modify | 4 | # Wydawca is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
@@ -67,7 +67,9 @@ spool test { | |||
67 | url ftp://wydawca.test; | 67 | url ftp://wydawca.test; |
68 | source "@WD_SRC@/test"; | 68 | source "@WD_SRC@/test"; |
69 | destination "@WD_DST@"; | 69 | destination "@WD_DST@"; |
70 | archive none; | 70 | archive directory { |
71 | name "archive"; | ||
72 | }; | ||
71 | } | 73 | } |
72 | 74 | ||
73 | spool ckfail { | 75 | spool ckfail { |