Merge 'current' into 'back-compat'
[dbsrgits/DBIx-Class-Schema-Loader.git] / TODO-BACKCOMPAT
1 SL Backcompat Plan:
2
3 *** dynamic schemas
4
5 * should default to 0.04006 mode
6 * __PACKAGE__->naming('current') will turn on current mode
7
8 *** 0.04006 mode
9
10 * use the detector and compat relbuilder ilmari already wrote for static schemas
11 * add a loud warning that says that we're running in backcompat mode, and refers
12   to the ::Manual::UpgradingFrom4006 POD.
13
14 *** 0.04006 tests
15
16 * are in t/backcompat/0.04006
17 * have their own lib/
18 * should only run with the SCHEMA_LOADER_TESTS_BACKCOMPAT=1 env var
19 * need tests_recursive (or whatever) in Makefile.PL
20 * need to run in 0.04006 mode (by seeding with a Schema.pm generated by
21   0.04006, activation of backcompat mode should be minimally invasive.)
22
23 *** Schema::Loader::Base
24
25 * 'naming' accessor should be a Class::Accessor::Grouped 'inherited' type
26   accessor, doc is written
27
28 *** Write ::Manual::UpgradingFrom4006 POD
29
30 *** Catalyst Helper
31
32 * Add 'upgrade=1' option that upgrades from both old S::L and old helper,
33   whichever or both.
34 * Warn when old helper output or 0.04000 S::L output is detected, that refers to
35   the upgrade option.
36
37 Release dev S::L, announce to catalyst, dbic lists and #catalyst that testing of
38 backcompat mode is needed, wait 2-3 weeks, then release 0.05000.