| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD: Release Versioning</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr> |
| 10 | <center><h2><b>ProFTPD: Release Versioning</b></h2></center> |
| 11 | <hr> |
| 12 | |
| 13 | <p> |
| 14 | The names of ProFTPD releases, which indicate the version of ProFTPD, can |
| 15 | be a little confusing to users new to the software. This document is a brief |
| 16 | guide to the naming conventions used for ProFTPD release versions. |
| 17 | |
| 18 | <p><b>Release Candidates</b><br> |
| 19 | Every development/release cycle of the ProFTPD software begins with series of |
| 20 | <i>release candidates</i> (RCs), <i>e.g.</i> <code>proftpd-1.3.2rc1</code>. |
| 21 | The "rc1" suffix in this example indicates that this is the first release |
| 22 | candidate of the 1.3.2 development/release cycle. A suffix of "rc2" would |
| 23 | be used for the second release candidate, and so on. The first release |
| 24 | candidate (RC1) is where most of the new features of that development/release |
| 25 | cycle tend to be added, including new core APIs, new modules, deprecated |
| 26 | configuration directives are removed, <i>etc</i>. Subsequent release |
| 27 | candidates tend to focus on stabilizing the new code and fixing bugs. There |
| 28 | can be few or many release candidates, depending on the number of new features |
| 29 | added and bugs encountered. |
| 30 | |
| 31 | <p><b>Stable Release and Maintenance Branch</b><br> |
| 32 | Once the code base is considered stable, and the frequency of new bug reports |
| 33 | has slowed down, then the "stable" release is cut. A "stable" release has |
| 34 | <b>no suffix</b> in the name, <i>e.g.</i> <code>proftpd-1.3.2</code>. At the |
| 35 | same time, the code is branched, creating a maintenance branch for that |
| 36 | development/release cycle. The trunk continues on to become the basis for the |
| 37 | next development/release cycle. At any given time, the ProFTPD Project team |
| 38 | supports the most recent maintenance branch, and the current trunk. When a new |
| 39 | maintenance branch is created, the previous maintenance branch is no longer |
| 40 | supported. Thus when the 1.3.2 maintenance branch was created, the 1.3.1 |
| 41 | series of releases became unsupported. |
| 42 | |
| 43 | <p><b>Maintenance Releases</b><br> |
| 44 | During any given development/release cycle, bugs will be reported against |
| 45 | older versions of ProFTPD. The fixes for those bugs will be developed |
| 46 | using the current version of ProFTPD. If the bug is deemed to be serious |
| 47 | enough, then the fix will be <i>backported</i> to the active maintenance |
| 48 | branch as well. Serious bugs include security vulnerabilities, major bugs |
| 49 | not found during the previous development/release cycle, and new translations. |
| 50 | Thus there will continue to be releases for a given cycle after the "stable" |
| 51 | release; these <i>maintenance releases</i> come from the maintenance branch. |
| 52 | Maintenance release names use letters, rather than numbers, in the suffix |
| 53 | portion of the release name/version. The first maintenance release will be |
| 54 | "a" (<i>e.g.</i> <code>proftpd-1.3.2a</code>), the second will be "b", and so |
| 55 | on. |
| 56 | |
| 57 | <p> |
| 58 | Using the 1.3.2 development/release cycle as an example, then, the releases |
| 59 | for the cycle are: |
| 60 | <ul> |
| 61 | <li>proftpd-1.3.2rc1 |
| 62 | <li>proftpd-1.3.2rc2 |
| 63 | <li>proftpd-1.3.2rc3 |
| 64 | <li>proftpd-1.3.2rc4 |
| 65 | <li>proftpd-1.3.2 |
| 66 | <li>proftpd-1.3.2a |
| 67 | <li>proftpd-1.3.2b |
| 68 | <li>proftpd-1.3.2c |
| 69 | <li>proftpd-1.3.2d |
| 70 | <li>proftpd-1.3.2e |
| 71 | </ul> |
| 72 | |
| 73 | <p><b>Checking the Version</b><br> |
| 74 | If you are not sure of the version of ProFTPD you are running, the best way |
| 75 | to check is to use the -V command-line option for <code>proftpd</code>. |
| 76 | The -V option shows the various build-time options used for your |
| 77 | <code>proftpd</code>; the version information is at the very beginning of that |
| 78 | output: |
| 79 | <pre> |
| 80 | $ proftpd -V |
| 81 | Compile-time Settings: |
| 82 | Version: 1.3.2rc1 (devel) |
| 83 | </pre> |
| 84 | The above shows that the <code>proftpd</code> version on the machine is |
| 85 | the first release candidate of the 1.3.2 development/release cycle. The |
| 86 | portion of the version in parentheses, <i>i.e.</i> "(devel)" in the example |
| 87 | above, is a <i>version label</i>. Version labels are intended to make it |
| 88 | very clear which type of release that <code>proftpd</code> executable comes |
| 89 | from, rather than having to figure it out based on the suffix of the version |
| 90 | name. Release candidates always use a "devel" version label. |
| 91 | |
| 92 | <p> |
| 93 | If you are running a stable release, then you would see: |
| 94 | <pre> |
| 95 | $ proftpd -V |
| 96 | Compile-time Settings: |
| 97 | Version: 1.3.2 (stable) |
| 98 | </pre> |
| 99 | The version label for stable releases is always "stable", obviously. |
| 100 | |
| 101 | For completeness, here is what the -V output for a maintenance release |
| 102 | looks like: |
| 103 | <pre> |
| 104 | $ proftpd -V |
| 105 | Compile-time Settings: |
| 106 | Version: 1.3.2a (maint) |
| 107 | </pre> |
| 108 | The version label for a maintenance is "maint". |
| 109 | |
| 110 | <p> |
| 111 | Finally, for developers and users who use the latest and greatest code from |
| 112 | the master branch on GitHub, you will see something like: |
| 113 | <pre> |
| 114 | $ proftpd -V |
| 115 | Compile-time Settings: |
| 116 | Version: 1.3.6rc1 (git) |
| 117 | </pre> |
| 118 | All code obtained from GitHub reports a version label of "git". |
| 119 | |
| 120 | <p><a name="FAQ"><b>Frequently Asked Questions</b> |
| 121 | |
| 122 | <p> |
| 123 | <font color=red>Question</font>: When you say that older maintenance branches |
| 124 | are no longer supported, what exactly does that mean?<br> |
| 125 | <font color=blue>Answer</font>: Support, in this case, refers to whether the |
| 126 | ProFTPD Project team will provide patches for a bug that can be applied |
| 127 | cleanly that version of the source code. Bugs can (and indeed <i>should</i>) |
| 128 | be reported against that version, but the fixes will be applied in the |
| 129 | newer, supported versions of ProFTPD instead of in the unsupported branches. |
| 130 | |
| 131 | <p> |
| 132 | <hr> |
| 133 | <font size=2><b><i> |
| 134 | © Copyright 2017 The ProFTPD Project<br> |
| 135 | All Rights Reserved<br> |
| 136 | </i></b></font> |
| 137 | <hr> |
| 138 | |
| 139 | </body> |
| 140 | </html> |