Age | Commit message (Collapse) | Author | Files |
|
given one.
|
|
|
|
* Makefile.am (SUBDIRS): Remove libltdl.
* configure.ac: Remove LT_PREREQ et al.
* include/wydawca/wydawca.h (WY_EXPORT): Rewrite for backward
compatibility.
* src/Makefile.am (LDADD): Use -ldl.
* src/module.c: Rewrite using plain dl* calls.
* tests/atlocal.in (WY_MODDIR): Change definition.
* tests/check-notify.at: Use .so suffix instead of .la
* tests/mailnotify.at: Likewise.
* tests/mailstats.at: Likewise.
|
|
* src/config.c (cb_spool): Check if spool's source directory is
unique. Bail out if it is not.
* src/spool.c (wydawca_find_spool_source): New function.
* src/wydawca.h (spool): New fields: inode, dev, locus.
(wydawca_find_spool_source): New proto.
* tests/spoolsrc.at: New file.
* tests/Makefile.am: Add spoolsrc.at
* tests/testsuite.at: Include spoolsrc.at
|
|
|
|
|
|
* src/triplet.c (remove_triplet_unlocked): Set the in_processing
flag. This complements 4db1e89561d.
* src/verify.c (fill_project_name): Mark as static.
* src/wydawca.h (fill_project_name): Remove prototype.
|
|
|
|
* modules/mailutils/mod_mailutils.c (get_uploader_email): Always provide
explanation when returning NULL.
(t_notify): Don't attempt to send message if unable to expand template.
* src/gpg.c (checksig): Emit wy_ev_bad_ownership if unable to determine
uploader.
* src/triplet.c: Avoid dereferencing NULL tmp->uploader. Notice that
tmp->spool should never be NULL, so no special check for that is made.
|
|
|
|
|
|
* src/cmdline.opt: New option -l (--max-severity).
* src/verify.c (fill_project_name): Check directive file format
here.
* src/wydawca.c (wy_log_max_severity): New global.
(wy_vlog): Don't log the message if its severity is greater than
wy_log_max_severity.
* src/wydawca.h (wy_log_max_severity): New extern.
* src/directive.c (verify_directive_format): Rewrite.
Process the replace directive here.
* tests/Makefile.am: Add new file.
* tests/testsuite.at: Include new file.
* tests/atlocal.in (wy_create_directive): New option -c: create
initially empty file.
* tests/dry_run01.at: Update expected text.
* tests/upload01.at: Likewise.
* tests/upload04.at: Test whether replace directory works no
matter what its position relative to filename directive.
* tests/verify.at: New file.
* NEWS: Update.
* grecs: Update.
|
|
* NEWS: Document changes.
* configure.ac: Raise patchlevel number.
* src/directive.c (run_check_script): Remove improperly used static
qualifier.
* src/triplet.c: Fix indenting.
|
|
|
|
|
|
|
|
|
|
|
|
* configure.ac (DEFAULT_INCLUDE_PATH): New variable.
* grecs: Update to 95ea130c00.
* src/Makefile.am (AM_CPPFLAGS): Remove DEFAULT_VERSION_INCLUDE_DIR and
DEFAULT_INCLUDE_DIR, add DEFAULT_INCLUDE_PATH.
* src/cmdline.opt: Include preprocessor information in help output.
Change handling of the -I option: it is now appended to the
preprocessor arguments, just like -D.
* src/config.c (cb_supp_groups): Bugfix: used wrong variable in
diagnostic message.
* src/wydawca.c (config_init): Remove call to grecs_include_path_setup.
|
|
* src/gpg.c (triplet_gpgme_ctx): Check if the gpgme imports field
is not NULL before referencing it
* tests/etc/Makefile.am (database.cf): Depend on gnupg (fixes parallel
builds).
|
|
The temporary directory is removed when the script terminates.
* src/directive.c (run_check_script): Create a separate temporary
directory to run the script in.
* src/gpg.c (wy_rmdir_r, wy_tempdir): New functions.
* src/wydawca.h (wy_rmdir_r, wy_tempdir): New protos.
|
|
|
|
* src/diskio.c (dir_archive_file): Use do_archive_file to remove
signature. If archive_signatures is zero, remove the signature.
|
|
|
|
|
|
* src/config.c (cb_spool): Don't open source_dir, as it may not exist
yet.
(create_spool_dirs): Open source_dir here.
* src/wydawca.c (main): Initialize grecs_print_diag_fun.
|
|
|
|
Mailutils up to commit a0f754eb81 was unable to send multiple mails over
a single SMTP mailer in multiple transactions. This commit works over this
bug by creating a new mailer object for each mail.
This commit historically precedes 3d9bdf4a0e which inadvertently modified
the same file (modules/mailutils/mod_mailutils.c).
|
|
|
|
* src/stat.c: New file.
* src/wydawca.c (wy_log): Don't touch statistic counters. This causes
deadlock when wy_v?log is called from statistic-reporting module.
* src/wydawca.h (wydawca_stat_log): Remove proto.
* src/gpg.c: Increase WY_STAT_ERRORS explicitly.
* src/triplet.c: Likewise.
* src/verify.c: Likewise.
* tests/dry_run01.at: Fix expected output.
* tests/upload01.at: Likewise.
|
|
|
|
* src/sql.c (sql_init_dictionary): Enable automatic reconnection
(sql_open): Call mysql_ping
|
|
* src/triplet.c (triplet_enqueue): Create thread in detached state.
|
|
|
|
|
|
|
|
|
|
* src/wydawca.h (struct wy_triplet): New member: replace_allowed
* src/directive.c (process_directives): Set trp->replace_allowed
depending on the directive file version and the "replace" directive.
* src/diskio.c (backup_copy): Use trp->replace_allowed
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Include new tests.
* tests/upload03.at: New test.
* tests/upload04.at: New test.
* tests/upload05.at: New test.
|
|
|
|
|
|
* src/config.c (config_init): Place the user include directory before
the version-specific include directory.
* src/triplet.c (expand_relative_dir): Use trp->relative_dir).
|
|
|
|
|
|
Use crontab format specification to define the frequency of
statistic report generation.
* src/wydawca.h (stat_report_schedule): New variable. Replaces
stat_report_interval.
* configure.ac: Check for struct tm.tm_gmtoff.
* src/config.c: New keyword: stat-report-schedule.
* src/micron.c: New file.
* src/micron.h: New file.
* src/Makefile.am: Add new files.
* src/timer.c (wy_thr_stat): Use micron scheduler.
* doc/wydawca.texi: Document stat-report-schedule.
* NEWS: Document stat-report-schedule.
|
|
|
|
|
|
* src/directive.c (directive_parse): Optimize two sequential directives
referring for filename and filename.sig
|
|
|
|
|
|
* doc/wydawca.texi: Fix documentation of ${timer:wydawca}
* etc/wydawca.rc: Rename to etc/wydawca.conf. Edit.
* src/triplet.c: The "wydawca" timer is synonymous to "spool".
* src/wydawca.h (WY_TIMER_WYDAWCA): Remove.
|