Diff of /doc/cheatsheets/making_a_release [bd3505] .. [7931ab]  Maximize  Restore

Switch to unified view

a/doc/cheatsheets/making_a_release b/doc/cheatsheets/making_a_release
...
...
6
6
7
Do "hg log" to see what's changed:
7
Do "hg log" to see what's changed:
8
8
9
    $ hg log -v -r .:48
9
    $ hg log -v -r .:48
10
10
11
Append to: RELEASE_NOTES-1.0.txt
11
Prepend to: RELEASE_NOTES-1.0.txt
12
12
13
FILES TO CHANGE:
13
FILES TO CHANGE:
14
    - README.txt
14
    - README.txt
15
        Read through to see if anything has changed.  The following lines
15
        Read through to see if anything has changed.  The following lines
16
        will always change:
16
        will always change:
...
...
25
        - line 40:  - http://downloads.sourceforge.net/pyke/pyke-1.0.2-py2.5.egg
25
        - line 40:  - http://downloads.sourceforge.net/pyke/pyke-1.0.2-py2.5.egg
26
        - line 41:  - http://downloads.sourceforge.net/pyke/pyke-1.0.2-py2.6.egg
26
        - line 41:  - http://downloads.sourceforge.net/pyke/pyke-1.0.2-py2.6.egg
27
        - line 44:  "http://downloads.sourceforge.net/pyke/pyke-1.0.2.zip",
27
        - line 44:  "http://downloads.sourceforge.net/pyke/pyke-1.0.2.zip",
28
    - pyke/__init__.py
28
    - pyke/__init__.py
29
        - line 3: version = '1.0.2'
29
        - line 3: version = '1.0.2'
30
        - line 5: compiler_version = 1  (does this need to be incremented?)
30
    - doc/source/index.txt
31
    - doc/source/index.txt
31
        - line 43: Release 1.0
32
        - line 43: Release 1.0
32
33
33
REBUILD compiler_bc.py
34
REBUILD compiler_bc.py
34
35
35
    $ cd pyke/krb_compiler
36
    $ mkdir pyke/krb_compiler/compiled_krb (if not present)
36
    $ PYTHONPATH=../.. python
37
    $ python
37
    >>> from pyke import krb_compiler
38
    >>> from pyke import krb_compiler
38
    >>> krb_compiler.compile_krb('compiler', 'compiled_krb', 'compiled_krb', 'compiler.krb')
39
    >>> krb_compiler.compile_krb('compiler', 'pyke.krb_compiler.compiled_krb', 'pyke/krb_compiler/compiled_krb', 'pyke/krb_compiiler/compiler.krb')
39
    $ mv compiled_krb/compiler_bc.py .
40
    $ mv pyke/krb_compiler/compiled_krb/compiler_bc.py pyke/krb_compiler
40
41
41
COMMIT HG UPDATES
42
COMMIT HG UPDATES
42
43
43
REBUILD DOCUMENTS
44
REBUILD DOCUMENTS
44
45
...
...
48
49
49
COMMIT HG UPDATES (if any)
50
COMMIT HG UPDATES (if any)
50
51
51
CHECK FOR OTHER CHANGES
52
CHECK FOR OTHER CHANGES
52
53
53
    $ hg fetch hg
54
    $ hg fetch sf
54
    $ retest as necessary
55
    $ retest as necessary
55
56
56
COPY TO PYKE BRANCH:
57
COPY TO PYKE BRANCH:
57
58
58
    $ cd ../pyke_working
59
    $ cd ../pyke_working
59
    $ hg pull -u hg (no merge should be required here!)
60
    $ hg pull -u sf (no merge should be required here!)
60
    $ hg fetch release_1
61
    $ hg fetch release_1
61
    $ ./testpyke
62
    $ ./testpyke
62
    $ hg push
63
    $ hg push
63
    $ hg push hg
64
    $ hg push sf
64
65
65
COPY TO PRE_2TO3_R1 BRANCH:
66
COPY TO PRE_2TO3_R1 BRANCH:
66
67
67
    $ cd ../pre_r1_working
68
    $ cd ../pre_r1_working
68
    $ hg pull -u hg (no merge should be required here!)
69
    $ hg pull -u sf (no merge should be required here!)
69
    $ hg fetch ../r1_working
70
    $ hg fetch ../r1_working
70
    $ cd doc/source
71
    $ cd doc/source
71
    $ bin/gen_html
72
    $ bin/gen_html
72
    $ cd ../..
73
    $ cd ../..
73
    $ hg commit (if gen_html made any changes)
74
    $ hg commit (if gen_html made any changes)
74
    $ ./run_pre_test        (this also builds a source distribution)
75
    $ ./run_pre_test        (this also builds a source distribution)
75
    $ hg push
76
    $ hg push
76
    $ hg push hg
77
    $ hg push sf
77
78
78
COPY TO PRE_2TO3 BRANCH:
79
COPY TO PRE_2TO3 BRANCH:
79
80
80
    $ cd ../pre_working
81
    $ cd ../pre_working
81
    $ hg pull -u hg (no merge should be required here!)
82
    $ hg pull -u sf (no merge should be required here!)
82
    $ hg fetch ../pre_r1_working
83
    $ hg fetch ../pre_r1_working
83
    $ cd doc/source
84
    $ bin/gen_html
85
    $ cd ../..
86
    $ hg commit (if gen_html made any changes)
87
    $ ./run_pre_test        (this also builds a source distribution)
84
    $ ./run_pre_test        (this also builds a source distribution)
88
    $ hg push
85
    $ hg push
89
    $ hg push hg
86
    $ hg push sf
90
87
91
BUILD RELEASE
88
BUILD RELEASE
92
89
93
    $ cd ../r1_working
90
    $ cd ../r1_working
94
    $ rm -rf build dist pyke.egg-info
91
    $ rm -rf build dist pyke.egg-info
...
...
100
    $ hg tag 1.0.2 (commit is automatic)
97
    $ hg tag 1.0.2 (commit is automatic)
101
98
102
PUSH TO SOURCEFORGE
99
PUSH TO SOURCEFORGE
103
100
104
    $ hg push
101
    $ hg push
105
    $ hg push hg
102
    $ hg push sf
106
103
107
ADD NEW RELEASE TO SOURCEFORGE TRACKERS:
104
ADD NEW RELEASE TO SOURCEFORGE TRACKERS:
108
105
109
    Project Admin -> Feature Settings -> Manage (on Tracker line)
106
    Project Admin -> Feature Settings -> Manage (on Tracker line)
110
107