Changes between Version 9 and Version 10 of FRP
- Timestamp:
- 07/23/10 09:02:16 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FRP
v9 v10 40 40 41 41 == First phase: Enable the feature on request == 42 42 * Remove the feature by using #ifdef's wherever this feature is called or executed in the source code 43 * The #ifdef name should start with DEPRECATED_ and then a sensible name for the feature 44 * Add a warning (using #warning statements) for compile time warnings when the feature is enabled. 45 * Add log messages (using msg()) whenever this feature is called. 46 * Make sure that the logging will not be too extensive and happen too often. It should catch attention, but not flood the log. 47 * Update deprecated.c and add an appropriate warning, inside a #ifdef block for the feature going through the FRP. 43 48 * Update configure.ac 44 * Rename argument from '''--disable-depr-*''' to '''--enable-depr-*'''45 * Change default value from "yes" to "no"49 * Locate the section for deprecated features, (search for "Deprecated features") 50 * Add a new configure argument to enable this feature. The feature should be disabled by default. The argument should start with --enable-depr- and then a sensible and descriptive feature name. 46 51 * Test the change by compiling and smoke testing OpenVPN. 47 52 * When the feature is disabled (the default) … … 55 60 * Verify that the feature indeed still works 56 61 * Commit the patch(es) and submit them to the openvpn-devel mailinglist. The subject must start with '''[PATCH]''' followed by '''FRP2: ''' 57 * Example: [PATCH] FRP 2: Deprecating feature X by default62 * Example: [PATCH] FRP1: Deprecating feature X by default 58 63 59 64 == Second phase: Complete removal of the feature == … … 68 73 * Verify that the feature really is removed when running OpenVPN and that it behaves as expected 69 74 * Commit the patch(es) and submit them to the openvpn-devel mailinglist. The subject must start with '''[PATCH]''' followed by '''FRP3: ''' 70 * Example: [PATCH] FRP 3: Removing deprecated feature X75 * Example: [PATCH] FRP2: Removing deprecated feature X 71 76 72 77 That's it. Feature is removed.