~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to docs/dev/release.txt

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=============================
 
2
 Docutils_ Release Procedure
 
3
=============================
 
4
:Author: David Goodger; Felix Wiemann; open to all Docutils developers
 
5
:Contact: goodger@python.org
 
6
:Date: $Date: 2005-11-08 22:48:57 +0100 (Tue, 08 Nov 2005) $
 
7
:Revision: $Revision: 4020 $
 
8
:Copyright: This document has been placed in the public domain.
 
9
 
 
10
.. _Docutils: http://docutils.sourceforge.net/
 
11
 
 
12
 
 
13
(Steps in boldface text are *not* covered by the release script at
 
14
sandbox/fwiemann/release.sh.  "Not covered" means that you aren't even
 
15
reminded of them.  Note: The release.sh script needs to be updated to
 
16
reflect the recent move to Subversion!)
 
17
 
 
18
* **Announce a check-in freeze on Docutils-develop.  Post a list of
 
19
  major changes since the last release and ask for additions.**
 
20
 
 
21
  .. _CHANGES.txt:
 
22
 
 
23
  **You may want to save this list of changes in a file
 
24
  (e.g. CHANGES.txt) to have it at hand when you need it for posting
 
25
  announcements or pasting it into forms.**
 
26
 
 
27
* Change ``__version_details__`` in docutils/docutils/__init__.py to
 
28
  "release" (from "repository").
 
29
 
 
30
* Bump the _`version number` in the following files:
 
31
 
 
32
  + docutils/setup.py
 
33
  + docutils/docutils/__init__.py
 
34
  + docutils/test/functional/expected/* ("Generator: Docutils X.Y.Z")
 
35
 
 
36
* Close the "Changes Since ..." section in docutils/HISTORY.txt.
 
37
 
 
38
* Clear/unset the PYTHONPATH environment variable.
 
39
   
 
40
* Create the release tarball:
 
41
 
 
42
  (a) Create a new empty directory and ``cd`` into it.
 
43
 
 
44
  (b) Get a clean snapshot of the main tree::
 
45
 
 
46
          svn export svn://svn.berlios.de/docutils/trunk/docutils
 
47
 
 
48
  (c) Use Distutils to create the release tarball::
 
49
 
 
50
          cd docutils
 
51
          python setup.py sdist
 
52
 
 
53
* Expand and _`install` the release tarball in isolation:
 
54
 
 
55
  (a) Expand the tarball in a new location, not over any existing
 
56
      files.
 
57
 
 
58
  (b) Remove the old installation from site-packages (including
 
59
      roman.py, and optparse.py, textwrap.py).
 
60
 
 
61
      Install from expanded directory::
 
62
 
 
63
          cd docutils-X.Y.Z
 
64
          python setup.py install
 
65
 
 
66
      The "install" command may require root permissions.
 
67
 
 
68
  (c) Repeat step b) for all supported Python versions.
 
69
 
 
70
* Run the _`test suite` from the expanded archive directory with all
 
71
  supported Python versions: ``cd test ; python -u alltests.py``.
 
72
 
 
73
* Add a directory X.Y.Z (where X.Y.Z is the current version number
 
74
  of Docutils) in the webroot (i.e. the ``htdocs/`` directory).
 
75
  Put all documentation files into it::
 
76
 
 
77
      cd docutils-X.Y.Z
 
78
      rm -rf build
 
79
      cd tools/
 
80
      ./buildhtml.py ..
 
81
      cd ..
 
82
      find -name test -type d -prune -o -name \*.css -print0 \
 
83
          -o -name \*.html -print0 -o -name \*.txt -print0 \
 
84
          | tar -cjvf docutils-docs.tar.bz2 -T - --null
 
85
      scp docutils-docs.tar.bz2 <username>@shell.sourceforge.net:
 
86
 
 
87
  Now log in to shell.sourceforge.net and::
 
88
 
 
89
      cd /home/groups/d/do/docutils/htdocs/
 
90
      mkdir -m g+rwxs X.Y.Z
 
91
      cd X.Y.Z
 
92
      tar -xjvf ~/docutils-docs.tar.bz2
 
93
      rm ~/docutils-docs.tar.bz2
 
94
 
 
95
* Upload the release tarball::
 
96
 
 
97
      $ ftp upload.sourceforge.net
 
98
      Connected to osdn.dl.sourceforge.net.
 
99
      ...
 
100
      Name (upload.sourceforge.net:david): anonymous
 
101
      331 Anonymous login ok, send your complete e-mail address as password.
 
102
      Password:
 
103
      ...
 
104
      230 Anonymous access granted, restrictions apply.
 
105
      ftp> bin
 
106
      200 Type set to I.
 
107
      ftp> cd /incoming
 
108
      250 CWD command successful.
 
109
      ftp> put docutils-X.Y.Z.tar.gz
 
110
 
 
111
* Access the _`file release system` on SourceForge (Admin
 
112
  interface).  Fill in the fields:
 
113
 
 
114
      :Package ID:      docutils
 
115
      :Release Name:    <use release number only, e.g. 0.3>
 
116
      :Release Date:    <today's date>
 
117
      :Status:          Active
 
118
      :File Name:       <select the file just uploaded>
 
119
      :File Type:       Source .gz
 
120
      :Processor Type:  Platform-Independent
 
121
      :Release Notes:   <insert README.txt file here>
 
122
      :Change Log:      <insert summary from CHANGES.txt_>
 
123
 
 
124
      Also check the "Preserve my pre-formatted text" box.
 
125
 
 
126
* For verifying the integrity of the release, download the release
 
127
  tarball (you may need to wait up to 30 minutes), install_ it, and
 
128
  re-run the `test suite`_.
 
129
 
 
130
* Register with PyPI (``python setup.py register``).
 
131
 
 
132
* Restore ``__version_details__`` in docutils/docutils/__init__.py to
 
133
  "repository" (from "release").
 
134
 
 
135
* Bump the `version number`_ again.
 
136
 
 
137
* Add a new empty section "Changes Since ..." in HISTORY.txt.
 
138
 
 
139
* Update the web page (web/index.txt).
 
140
 
 
141
* Run docutils-update on the server.
 
142
    
 
143
* **Send announcement email to:**
 
144
 
 
145
  * docutils-develop@lists.sourceforge.net (also announcing the end
 
146
    of the check-in freeze)
 
147
  * docutils-users@lists.sourceforge.net
 
148
  * doc-sig@python.org
 
149
  * python-announce@python.org
 
150
 
 
151
* **Add a SourceForge News item, with title "Docutils X.Y.Z released"
 
152
  and containing the release tarball's download URL.**
 
153
 
 
154
* **Register with FreshMeat.** (Add a `new release`__ for the
 
155
  `Docutils project`__).
 
156
 
 
157
  __ http://freshmeat.net/add-release/48702/
 
158
  __ http://freshmeat.net/projects/docutils/
 
159
 
 
160
    
 
161
 
 
162
..
 
163
   Local Variables:
 
164
   mode: indented-text
 
165
   indent-tabs-mode: nil
 
166
   sentence-end-double-space: t
 
167
   fill-column: 70
 
168
   End: