File: release.txt

package info (click to toggle)
python-docutils 0.3.7-2sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,872 kB
  • ctags: 2,908
  • sloc: python: 27,538; lisp: 641; makefile: 102
file content (158 lines) | stat: -rw-r--r-- 4,832 bytes parent folder | download
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
=============================
 Docutils_ Release Procedure
=============================
:Author: David Goodger; open to all Docutils developers
:Contact: goodger@python.org
:Date: $Date: 2004/12/23 21:02:15 $
:Revision: $Revision: 1.5 $
:Copyright: This document has been placed in the public domain.

.. _Docutils: http://docutils.sourceforge.net/


1. Announce a checkin freeze on Docutils-develop.

2. Bump the version number in the following files:

   * docutils/setup.py
   * docutils/HISTORY.txt
   * docutils/docutils/__init__.py

3. Run ``test/test_functional.py``.  If it fails (due to the bumped
   version number), update the files in ``test/functional/expected/``.

4. Run the test suite: ``cd test ; python alltests.py``.  Do this for
   all supported Python versions.

5. Isolate from outside influence:

   (a) Remove the old installation from site-packages (including
       roman.py, and optparse.py, textwrap.py for pre-2.3
       installations).

   (b) Clear/unset the PYTHONPATH environment variable.
   
6. Create the release tarball:

   (a) Create a new empty directory and ``cd`` into it.

   (b) Get a clean snapshot of the CVS files::

           cvs -z3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/docutils \
               export -rHEAD docutils

   (c) Use Distutils to create the release tarball::

           cd docutils
           python setup.py sdist

7. Expand and install the release tarball **in isolation** (as per
   step 5 above):

   (a) Expand the tarball in a new location, not over any existing
       files.

   (b) Install from expanded directory::

           cd docutils-X.Y.Z
           python setup.py install

       The "install" command may require root permissions.

8. Run the test suite from the expanded archive directory with all
   supported Python versions: ``cd test ; python alltests.py``.

9. Run ``cd tools ; buildhtml.py ..`` to confirm that there are no
   unexpected issues with the docs.

10. Upload the release tarball::

        $ ftp upload.sourceforge.net
        Connected to osdn.dl.sourceforge.net.
        ...
        Name (upload.sourceforge.net:david): anonymous
        331 Anonymous login ok, send your complete e-mail address as password.
        Password:
        ...
        230 Anonymous access granted, restrictions apply.
        ftp> bin
        200 Type set to I.
        ftp> cd /incoming
        250 CWD command successful.
        ftp> put filename

11. Log in to the SourceForge web interface.

12. Access the _`file release system` on SourceForge (Admin
    interface).  Fill in the fields:

        :Package ID:      docutils
        :Release Name:    <use release number only, e.g. 0.3>
        :Release Date:    <today's date>
        :Status:          Active
        :File Name:       <select the file just uploaded>
        :File Type:       Source .gz
        :Processor Type:  Platform-Independent
        :Release Notes:   <insert README.txt file here>
        :Change Log:      <insert summary from announcement>

        Also check the "Preserve my pre-formatted text" box.

13. Wait up to 30 minutes for the file to become available on
    SourceForge.

14. Download the release tarball and verify its integrity by walking
    through an installation, as outlined above (steps 7, 8, & 9).

15. Update the web page:

    * web/index.txt; afterwards run docutils-update on the server.
    
    * Add a directory X.Y.Z (where X.Y.Z is the current version number
      of Docutils) in the webroot (i.e. the ``htdocs/`` directory).
      Put all documentation files into it::

          cd docutils-X.Y.Z
          rm -rf build
          cd tools/
          ./buildhtml.py ..
          cd ..
          find -name test -type d -prune -o -name \*.css -print0 \
              -o -name \*.html -print0 -o -name \*.txt -print0 \
              | tar -cjvf docutils-docs.tar.bz2 -T - --null
          scp docutils-docs.tar.bz2 <username>@shell.sourceforge.net:

      Now log in to shell.sourceforge.net and::

          cd /home/groups/d/do/docutils/htdocs/
          mkdir -m g+rwxs X.Y.Z
          cd X.Y.Z
          tar -xjvf ~/docutils-docs.tar.bz2

16. Bump the version number again (as per step 2) and update the files
    in ``test/functional/expected/``.

17. Send announcement email to:

    * docutils-develop@lists.sourceforge.net (also announcing the end
      of the checkin freeze)
    * docutils-users@lists.sourceforge.net
    * doc-sig@python.org
    * python-announce@python.org

18. Add a SourceForge News item, with title "Docutils X.Y.Z released"
    and containing the release tarball's download URL.

19. Register

    * with PyPI (``python setup.py register``)
    * with FreshMeat


..
   Local Variables:
   mode: indented-text
   indent-tabs-mode: nil
   sentence-end-double-space: t
   fill-column: 70
   End: