/
release-steps.txt
175 lines (115 loc) · 5.21 KB
/
release-steps.txt
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
Alpha Release
- branch core packages
cvs tag -b oacs-5-8
- get new updated version info latest branch
cvs update -dP
- bump version numbers in oacs-5-8 branch to e.g. 5.8.0a1
- bump version numbers in HEAD to 5.9.0d1
- update build-repository "head_channel" apm_build_repository
(packages/acs-admin/tcl/apm-admin-procs.tcl/) to 5-9
- tag core-packages in oacs-5-9 branch
cvs tag -F openacs-5-9
cvs -q tag -F openacs-5-9-compat
- optionally branch and tag application packages (non-core)
xowiki xotcl-core xotcl-request-monitor categories acs-events
acs-datetime file-storage rss-support general-comments
oacs-dav acs-developer-support ajaxhelper forums attachments calendar
- testing (automated testing, install xowiki + forums from repository,
create xowiki page, forum entry)
- ask for oracle testing (UNED, quest)
- produce tar
* checkout cvs -d:ext:gustafn@cvs.openacs.org:/cvsroot checkout -r oacs-5-8 acs-core
* sudo chown -R nsadmin openacs-4; sudo chmod -R g+w openacs-4
* mv openacs-4 openacs-5.8.0a0
* tar zcvf openacs-5.8.0a0.tar.gz --disable-copyfile --exclude CVS openacs-5.8.0a0
Beta Release
- all in oacs-5-8 branch:
- produce change summary
5.8.0 Brian.Fenton@quest.ie helped
- bump version numbers to e.g. 5.8.0b1
- produce raw change summary of core packages
cvs -qz6 log -d "2014/10/25<2015/12/31" > /tmp/changes-core
cvs -1z6 log -d "2013/08/30<2014/11/01" > /tmp/changes-core
~/scripts/log2changelog < /tmp/changes-core > ~/oacs-changes-5.9.0
cvs -qz9 log -d "2015/12/01<2017/08/07" > /tmp/changes-core
~/scripts/log2changelog < /tmp/changes-core > ~/ChangeLog-5.9.1
- produce diffstats
cvs -q diff -u -D "2013-08-30" |diffstat
cvs -q diff -u -D "2014-10-25" |diffstat
cvs -qz9 diff -u -D "2015/12/01" |diffstat
3340 files changed, 106491 insertions(+), 85942 deletions(-)
- update release notes
packages/acs-core-docs/www/xml/for-everyone/release-notes.xml
- regenerate xml documentation
cd openacs-4/packages/acs-core-docs/www/xml
make
# unsolved changelog-latest
cd openacs-4
/usr/local/ns/bin/tclsh /Users/neumann/scripts/change-html-files.tcl
cd openacs-4
/usr/local/ns/bin/tclsh ~/scripts/change-html-files.tcl
- update version number in readme.txt
- retag
cvs -qz6 tag -F openacs-5-9-compat
cvs -qz6 tag -F openacs-5-9-1b3
- produce tar
* cd /usr/local
* 10MB: cvs -z9 -d:ext:gustafn@cvs.openacs.org:/cvsroot checkout -r oacs-5-9 acs-core
* 30MB: cvs -z9 -d:ext:gustafn@cvs.openacs.org:/cvsroot checkout -r oacs-5-9 openacs-4
* sudo chown -R nsadmin:nsadmin openacs-4; sudo chmod -R g+w openacs-4
* mv openacs-4 openacs-5.9.1b3
* tar zcvf openacs-5.9.1b3.tar.gz --disable-copyfile --exclude CVS openacs-5.9.1b3
Software Name OpenACS 5.9.1 Beta 3 core
summary: OpenACS Core Packages
Description; oacs-core
Software Name OpenACS 5.9.1 Beta 3 full
summary: OpenACS Core and Application Packages
Description The tar file contains all packages from the oacs-5-9 branch
Final Release
- bump version numbers to e.g. 5.8.0
- make sure, no requires or provides with *d version numbers
(except ajaxhelper and oacs-dav)
fgrep -r --include=*.info '<provides' .|egrep '[0-9][abd]'
fgrep -r --include=*.info '<requires' .|egrep '[0-9][abd]'
check missed dependencies
fgrep -r --include=*.info '<requires' .| fgrep 5.9| fgrep -v 5.9.1
- testing
DB=oacs-5-9-1
$PGBIN/psql -U nsadmin -d $DB
sudo -u postgres $PGBIN/dropdb -U nsadmin $DB
sudo -u postgres $PGBIN/createdb -U nsadmin $DB
(automated testing, install xowiki + forums from repository,
create xowiki page, forum entry)
- regenerate xml documentation (to get right version numbers into documentation)
- update raw ChangeLog
cvs -qz9 log > /tmp/changes-all
~/scripts/log2changelog < /tmp/changes-all > ChangeLog
- update Summary
- update release notes in
acs-core-docs/www/xml/for-everyone/release-notes.xml
- regenerate xml documentation
- raw changelogs on openacs.org:
www/Announce-5.9.*
www/changelogs/ChangeLog-5.9.*
www/ChangeLog
- rerun:
cvs -qz9 tag -F openacs-5-9-compat
- tag with final:
cvs -qz9 tag -F openacs-5-9-1-final
- produce tar
cd /usr/local
version=openacs-5.9.1
* 10MB: cvs -z9 -d:ext:gustafn@cvs.openacs.org:/cvsroot checkout -r oacs-5-9 acs-core
* 30MB: cvs -z9 -d:ext:gustafn@cvs.openacs.org:/cvsroot checkout -r oacs-5-9 openacs-4
sudo chown -R nsadmin:nsadmin openacs-4; sudo chmod -R g+w openacs-4
sudo mv openacs-4 $version
tar zcvf $version.tar.gz --disable-copyfile --exclude CVS $version
- update web site (tar, announce, links on start page)
Software Name: OpenACS 5.9.1 Final core
summary: OpenACS Core Packages
Description: The tar file contains the OpenACS Core Packages of the OpenACS 5.9.1 Final release
Software Name: OpenACS 5.9.1 Final full
summary: OpenACS Core and Application Packages
Description: The tar file contains all packages from the oacs-5-9 branch of the OpenACS 5.9.1 Final release
- upadate install-ns and http://openacs.org/xowiki/naviserver-openacs
- merge changes of release branch to HEAD