File: release-instructions.txt

package info (click to toggle)
libapache2-mod-python 3.5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,864 kB
  • sloc: python: 7,471; ansic: 7,025; makefile: 296; lex: 246; sh: 212
file content (71 lines) | stat: -rw-r--r-- 1,760 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Release Instructions
====================

Notes
-----

The following instructions are appropriate for version 3.2.0.
Adjust accordingly for a different version.

The current version/date is in src/include/version.h

You will need to have TeTeX installed and the python source code 
to produce the documentation.

Instructions
------------

REPOS=http://svn.apache.org/repos/asf/httpd/mod_python

1. Create the new branch for the release in svn repository.
   svn copy --username USER  --password PASS $REPOS/trunk $REPOS/tags/release-3-2-0 -m "Tagged for release"

2. Checkout a working copy of the new branch.
   cd /tmp
   svn co $REPOS/tags/release-3-2-0 mod_python

3. Update the version information.
   cd /tmp/mod_python/src/include/
     Change the following in mpversion.h: 
       MPV_MAJOR
       MPV_MINOR
       MVP_PATCH 
       MVP_STRING

   cd /tmp/mod_python/lib/python/mod_python
     In __init__.py change
       version
   
   Once you've update the version information, checkin the changes with
   cd /tmp/mod_python
   svn ci -m "updated version infomation"

4. Generate the html docs.
   cd mod_python
   ./configure --with-apxs=`which apxs` --with-python-src=/path/to/python/src
   cd Doc
   make dist

5. Export a working copy to a release copy.
   cd /tmp 
   svn export mod_python mod_python-3.2.0

6. Copy the html docs generated in step 3 from your working copy to
   your release copy.
   cp -r mod_python/doc-html/ mod_python-3.2.0/

7. Create a tarball for the release.
   tar czvf mod_python-3.2.0.tgz mod_python-3.2.0

8. Generate the pdf file for the website
   cd mod_python/Doc
   make pdf

9. Send Doc/modpython.pdf to the mod_python.org website admin.


Hints
-----

To sign: gpg -a -b mod_python-3.2.0.win32-py2.3.exe