Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Need a simple way to fix up the timestamps and other Meta aspects that the commit hooks complain a about.
This adds
fix_topic_timestamps.pl
which is similar to
fixTopicInfo.pl
. The latter takes a list of filenames to fix, and
sets the date to the date of the prior change to the topic, and is more useful to fix up a large list of files prior to building a release.
This script sets the timestamps to "now", and is useful prior to a commit.
--
GeorgeClark - 16 May 2016
Related: core/tools/develop/githooks/pre-commit will check and complain about META:TOPICINFO
and META:FILEATTACHMENTS timestamps being off. The error message for the meta being off isn't clear, though: It doesn't mention attachment, it just says "date must be within blabla...".
Pull request to fix that:
https://github.com/foswiki/distro/pull/10
--
PhilippeKehl - 16 May 2016
Thanks for the fix. Merged & closed.
--
GeorgeClark - 17 May 2016