X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Fdeveloper-manual%2Fnewrelease.html;h=8aa7015f9c99291db188a53169037a99f9a21e3e;hp=692df82c5561f9821d95c7c9652ac37e0d33d0d9;hb=75397537c3986cafa8dc1b4b37af40f93ab9372f;hpb=1f8e678f82936f21347922e1b2428ac00cd4d34e diff --git a/doc/webserver/developer-manual/newrelease.html b/doc/webserver/developer-manual/newrelease.html index 692df82c..8aa7015f 100644 --- a/doc/webserver/developer-manual/newrelease.html +++ b/doc/webserver/developer-manual/newrelease.html @@ -1,1753 +1,734 @@ - -Releasing a New Version
Privoxy Developer Manual
PrevNext

6. Releasing a New Version

When we release versions of Privoxy, - our work leaves our cozy secret lab and has to work in the cold - RealWorld[tm]. Once it is released, there is no way to call it - back, so it is very important that great care is taken to ensure - that everything runs fine, and not to introduce problems in the - very last minute. -

So when releasing a new version, please adhere exactly to the - procedure outlined in this chapter. -

The following programs are required to follow this process: - ncftpput (ncftp), scp, ssh (ssh), - gmake (GNU's version of make), autoconf, cvs. -

6.1. Version numbers

First you need to determine which version number the release will have. - Privoxy version numbers consist of three numbers, - separated by dots, like in X.Y.Z (e.g. 3.0.0), where: -

In summary, the main Git trunk is the development branch where new - features are being worked on for the next stable series. This should - almost always be where the most activity takes place. There is always at - least one stable branch from the trunk, e.g now it is - 3.0, which is only used to release stable versions. - Once the initial *.0 release of the stable branch has been done, then as a - rule, only bugfixes that have had prior testing should be committed to - the stable branch. Once there are enough bugfixes to justify a new - release, the version of this branch is again incremented Example: 3.0.0 - -> 3.0.1 -> 3.0.2, etc are all stable releases from within the stable - branch. 3.1.x is currently the main trunk, and where work on 3.2.x is - taking place. If any questions, please post to the devel list - before committing to a stable branch! -

Developers should remember too that if they commit a bugfix to the stable - branch, this will more than likely require a separate submission to the - main trunk, since these are separate development trees within Git. If you - are working on both, then this would require at least two separate check - outs (i.e main trunk, and the stable release branch, - which is v_3_0_branch at the moment). -

6.2. Before the Release: Freeze

The following must be done by one of the - developers prior to each new release. -

+
+

6.4. Uploading and Releasing Your Package

+

After the package is ready, it is time to upload it to SourceForge, and go through the release steps. The + upload is done via FTP:

+ +

Or use the make targets as described above.

+

Once this done go to https://sourceforge.net/project/admin/editpackages.php?group_id=11118, making sure you are logged in. + Find your target platform in the second column, and click Add Release. You will then + need to create a new release for your package, using the format of $VERSION + ($CODE_STATUS), e.g. 3.0.27 (beta).

+

Now just follow the prompts. Be sure to add any appropriate Release notes. You should see your freshly + uploaded packages in "Step 2. Add Files To This Release". Check the appropriate + box(es). Remember at each step to hit the "Refresh/Submit" buttons! You should now see + your file(s) listed in Step 3. Fill out the forms with the appropriate information for your platform, being sure + to hit "Update" for each file. If anyone is monitoring your platform, check the + "email" box at the very bottom to notify them of the new package. This should do + it!

+

If you have made errors, or need to make changes, you can go through essentially the same steps, but select + Edit Release, instead of Add Release.

+
+
+

6.5. After the Release

+

When all (or: most of the) packages have been uploaded and made available, send an email to the announce mailing list, Subject: "Version X.Y.Z + available for download". Be sure to include the download location, the release + notes and the Changelog. Also, post an updated News item on the project page Sourceforge, and update the Home + page and docs linked from the Home page (see below). Other news sites and release oriented sites, such as + Freshmeat, should also be notified.

+

Then update the source code for the next version to be released:

+ +
+
+ + +