File: release.txt

package info (click to toggle)
ipython 0.13.1-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,752 kB
  • sloc: python: 69,537; makefile: 355; lisp: 272; sh: 80; objc: 37
file content (53 lines) | stat: -rw-r--r-- 2,122 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
.. _releasing_ipython:

=================
Releasing IPython
=================

This section contains notes about the process that is used to release IPython.
Our release process is currently not very formal and could be improved.

Most of the release process is automated by the :file:`release` script in the
:file:`tools` directory.  This is just a handy reminder for the release manager.

#. For writing release notes, this will cleanly show who contributed as author
   of commits (get the previous release name from the tag list with ``git
   tag``)::

        git log --format="* %aN" $PREV_RELEASE... | sort -u

   .. note::

        use::

            git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f
        
        To find duplicates and update :file:`.mailmap`

#. Run :file:`build_release`, which does all the file checking and building
   that the real release script will do.  This will let you do test
   installations, check that the build procedure runs OK, etc.  You may want to
   disable a few things like multi-version RPM building while testing, because
   otherwise the build takes really long.

#. Run the release script, which makes the tar.gz, eggs and Win32 .exe
   installer.  It posts them to the site and registers the release with PyPI.

#. Update the website with announcements and links to the updated changes.txt
   in html form. Remember to put a short note on the news page of the site.
   
#. Drafting a short release announcement with i) highlights and ii) a link to
   the html version of the :ref:`Whats new <whatsnew_index>` section of the 
   documentation.

#. Make sure that the released version of the docs is live on the site.  For
   this we are now using the gh-pages system:

   - Make a static directory for the final copy of the release docs.
   - Update the :file:`index.rst` file and run :file:`build_index.py` to update
     the html version.
   - Update the ``stable`` symlink to point to the released version.
   - Run ``git add`` for all the new files and commit.
   - Run ``git push`` to update the public version of the docs on gh-pages.

#. Celebrate!