Date-Manip

 view release on metacpan or  search on metacpan

internal/NOTES  view on Meta::CPAN

Currently, the following warn (but have been cleared as safe):
    Pacific/Fiji

NOTE 3: These steps often require manual intervention described
below. After the intervention, rerun the command to make sure no
output is produced.

The old values of data are stored in the internal/data.* files. This is
so that I am explicitly notified of every change to the zoneinfo data
which could impact Date::Manip.  Any output reflects potential changes
so every entry should be checked to ensure that it acceptable. Then,
the output needs to be added to the appropriate data.* file, replacing
any previous value for the entry.  It is especially important that the entries
for 'important' values remain unchanged unless there is good reason
to change it.

If the '-o' option produces any output, the entries need to be verified and
added to the data.offset.pl file.

If the '-z' option produces any output, the entries need to be verified and
added to the data.alias.pl or data.abbrev.pl file.

After adding a new value, rerun the command to make sure there are no more
problems.

NOTE 4: If you see an error:
   [do_list] unknown alias [ZONE: Alias]
removed the key/value pair in data.alias.pl

#########################################################################
Clean up stuff that shouldn't be in the manifest

In internal/benchmarks directory
    rm -f nytprof.out parse-1.in
    rm -rf nytprof

#########################################################################
Before every release, spellcheck the documents:

   for i in `find lib -type f -name \*.pod | grep -E -v 'Lang/' |
             grep -E -v Zones.pod` ;do
      pod2text $i > $i.txt
      ispell -p internal/module.isp $i.txt
      rm -f $i.txt $i.txt.bak
   done

   internal/langpod

   pod2text ./lib/Date/Manip/Lang/english.pod > english.txt
   ispell -p internal/module.isp english.txt
   rm -f english.txt english.txt.bak

#########################################################################
Update the copyright

   y=`date '+%Y'`
   for i in `find . -type f | grep -E -v '.git' | xargs grep -E -l "Copyright \(c\) ....-.... Sullivan Beck"` ;do
     sed -e "s,\(Copyright (c) ....\)\-.... \(Sullivan Beck\),\1-$y \2," $i > z
     mv z $i
   done
   chmod +x internal/tzdata internal/gen_dm5abbrevs examples/dm_* internal/langpod internal/windows.compare

#########################################################################
Switch the system timezone to America/Central and run the tests.

#########################################################################
Update the Changes5/Changes6 docs with the date.

../support/pod_to_changes > Changes

#########################################################################
Install the module. Then run the following:

   ./internal/gen_dm5abbrevs > lib/Date/Manip/DM5abbrevs.pm

#########################################################################
Make sure that the test suite covers everything

   . ../0
   cover -delete
   cover -test
       # make sure everything is 100%
   cover -delete
   make distclean

#########################################################################
Regenerate the MANIFEST and run the kwalitee tests

find . -name \*.swp

#########################################################################
Run the internal/leak.pl whenever a new version of perl is available to
see if the leak persists. When it's fixed, note this in the known problems
section.

A patch for this went in on Dec 13, 2011 when the following versions of
perl are active:
   5.16.0  FIXED
   5.15.6  FIXED
   5.14.2  maint
   5.12.4  maint
   5.10.1  unmaint

so look for it to be corrected in newer versions than this (not sure if
it'll be applied to the maintenance versions).



( run in 0.514 second using v1.01-cache-2.11-cpan-5511b514fd6 )