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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
|
__COPYRIGHT__
This document covers how to prepare major releases of SCons--that is,
releases numbered with X.Y format, such as 0.93, 1.0, etc.
If you need to prepare a specific subrelease (X.Y.Z, such as 0.94.1),
then see the document HOWTO/subrelease.txt.
Things to do to release a new X.Y version of SCons:
Prepare the describe-the-release section for the announcements
summarize changes from src/CHANGES.txt
template is below, search for "describe-the-release"
send this out for review while you get the rest of the
release ready!
Build and test candidate packages
test on Linux
test on Windows NT
1) tar zxf scons-src-{version}.tar.gz
cd scons-src-{version}
python runtest.py -a
2) tar zxf scons-{version}.tar.gz
cd scons-{version}
python setup.py install
cd scons-src-{version}
python runtest.py -a -X -x C:\Python20\scons.bat
3) scons-{verson}.win32.exe
cd scons-src-{version}
python runtest.py -a -X -x C:\Python20\scons.bat
4) mkdir temporary_directory
cd temporary_directory
tar zxf scons-local-{version}.tar.gz
cd scons-src-{version}
python runtest.py -a -x C:\temporary_directory\scons.py
Check in any changes necessary to make everything work
Update the user's guide
sh bin/docdiff
sh bin/docupdate
END THE CURRENT DEVELOPMENT BRANCH
ae_p scons.0
aede {96}
aerpass {96}
aeib {96}
aed
aeb
aet
aet -reg
aeipass
START THE NEW BRANCH FOR RELEASE
aenbr -p scons.0 {97}
aenc -p scons.0.{97}
Call it something like,
"Initialize the new branch for release."
Cause = internal_enhancement.
Exempt it from all tests (*_exempt = true).
ae_p scons.0.{97}
aedb 100
aecd
# Change the hard-coded package version numbers
# in the following files.
aecp README
vi README
aecp SConstruct
vi SConstruct
aecp rpm/scons.spec.in
vi rpm/scons.spec.in
aecp QMTest/TestSCons.py
vi QMTest/TestSCons.py
# Read through and update the README files if necessary
[optional] aecp README
[optional] vi README
[optional] aecp src/README.txt
[optional] vi src/README.txt
# Prepare src/CHANGES.txt
aecp src/CHANGES.txt
vi src/CHANGES.txt
date -R the latest release
should be current if this has been updated
as each change went in.
# Prepare src/RELEASE.txt
aecp src/RELEASE.txt
vi src/RELEASE.txt
date -R the latest release
Read through and edit appropriately.
Can probably keep most of the existing text
Add any new known problems
# Prepare debian/changelog
aecp debian/changelog
vi debian/changelog
date -R the latest release
# Now build and prepare the release itself.
aeb
aed
aet -reg
aede
etc.
Read through the FAQ for any updates
Upload the packages to the SourceForge incoming FTP:
ftp upload.sourceforge.net
anonymous
<your email>
cd incoming
bin
put scons-0.{97}-1.noarch.rpm
put scons-0.{97}-1.src.rpm
put scons-0.{97}.tar.gz
put scons-0.{97}.win32.exe
put scons-0.{97}.zip
put scons-local-0.{97}.tar.gz
put scons-local-0.{97}.zip
put scons-src-0.{97}.tar.gz
put scons-src-0.{97}.zip
put scons_0.{97}-1_all.deb
Create the new release at the SourceForge project page:
Pull down the "Admin" menu and select "File Releases"
Package Name: scons
=> Add Release
New release name: 0.{97}
Upload the RELEASE.txt file.
Upload the CHANGES.txt file.
Check the "Preserve my pre-formatted text." box (IMPORTANT!)
Click "Submit/Refresh" (IMPORTANT!)
Check the SCons files you uploaded
Click "Add Files and/or Refresh View"
Edit the file info:
scons-0.{97}-1.noarch.rpm Any .rpm
scons-0.{97}-1.src.rpm Any Source .rpm
scons-0.{97}.tar.gz Any .gz
scons-0.{97}.win32.exe i386 .exe (32-bit Windows)
scons-0.{97}.zip Any .zip
scons_0.{97}-1_all.deb Any .deb
Click "Update/Refresh" for each file; this must be done
one at a time.
Check "I'm sure." and click "Send Notice" in the Email
Release Notice section.
Pull down the "Admin" menu and select "File Releases"
Package Name: scons-local
=> Add Release
New release name: 0.{97}
Upload the RELEASE.txt file.
Upload the CHANGES.txt file.
Check the "Preserve my pre-formatted text." box (IMPORTANT!)
Click "Submit/Refresh" (IMPORTANT!)
Check the SCons files you uploaded
Click "Add Files and/or Refresh View"
Edit the file info:
scons-local-0.{97}.tar.gz Any .gz
scons-local-0.{97}.zip Any .zip
Click "Update/Refresh" for each file; this must be done
one at a time.
Check "I'm sure." and click "Send Notice" in the Email
Release Notice section.
Pull down the "Admin" menu and select "File Releases"
Package Name: scons-src
=> Add Release
New release name: 0.{97}
Upload the RELEASE.txt file.
Upload the CHANGES.txt file.
Check the "Preserve my pre-formatted text." box (IMPORTANT!)
Click "Submit/Refresh" (IMPORTANT!)
Check the SCons files you uploaded
Click "Add Files and/or Refresh View"
Edit the file info:
scons-src-0.{97}.tar.gz Any .gz
scons-src-0.{97}.zip Any .zip
Click "Update/Refresh" for each file; this must be done
one at a time.
Check "I'm sure." and click "Send Notice" in the Email
Release Notice section.
Hide release 0.{95} at the SourceForge download page:
Pull down the "Admin" menu and select "File Releases"
Package Name: scons
=> Edit Releases
Release Name: 0.{95}
=> Edit This Release
Status: => Hidden
Click Submit/Refresh
Pull down the "Admin" menu and select "File Releases"
Package Name: scons-local
=> Edit Releases
Release Name: 0.{95}
=> Edit This Release
Status: => Hidden
Click Submit/Refresh
Pull down the "Admin" menu and select "File Releases"
Package Name: scons-src
=> Edit Releases
Release Name: 0.{95}
=> Edit This Release
Status: => Hidden
Click Submit/Refresh
Add a new release for 0.{97} in the Issue Tracker at tigris.org:
Click "Issue Tracker" on the left-hand nav bar
Click "Configuration options"
Click "Add/edit components"
Under "scons"
To the right of "Add ..."
Click "Version"
At the bottom of the list click "Add"
Fill in the "Version:" box with 0.{97}
Check "Add this version to *all* components."
Click the "Add" button
Update the scons.org web site:
svn co http://scons.tigris.org/svn/scons/scons.org
cd scons.org
CHANGES.txt: copy new version from built source tree
download.php: new version number
includes/versions.php:
update $stablerelease and/or $latestrelease
add new version number do $docversions[],
SHIFT $docversions[] INDEX NUMBERS :-(
index.php: announcement on the home page
remove out-of-date announcements
news-raw.xhtml: add announcement to list (dup from home page)
RELEASE.txt: copy new version from built source tree
mkdir doc/0.{97}
(cd doc/0.{97} && tar zxf scons-doc-0.{97}.tar.gz)
svn add doc/0.{97}
svn commit
ssh -l scons manam.pair.com
cd public_html
mkdir new
svn co http://scons.tigris.org/svn/scons/scons.org new
mv production previous && mv new production
[point your browser to http://www.scons.org/]
Update the tigris.org web site:
svn co http://scons.tigris.org/svn/scons/trunk
cd trunk
www/project_highlights.html
www/roadmap.html
svn commit
Test downloading from the SourceForge project page
You may need to wait a good bit; they seem to update
this on half-hour cycles.
Test downloading from the web site download page
Add news item to the SourceForge project page
Pull down "Project => News"
Click "Submit"
Fill in the "Subject:" box
Cut-and-paste the announcement text into the "Details:" box
Click "submit"
Add news item to the tigris.org project page
Click "Announcements"
Click "Add new announcement"
Double-check the date (probably already set)
Fill in the "Headline" box
Fill in the "Body" box (probably short)
Click "Add new announcement"
Announce to the following mailing lists (template below):
scons-announce@lists.sourceforge.net
scons-users@lists.sourceforge.net
scons-devel@lists.sourceforge.net
[right away]
python-announce@python.org
[right away, it's moderated and will take
some time to get through]
linux-announce@news.ornl.gov
[right away, it's moderated and will take
some time to get through]
[optional] cons-discuss@gnu.org
[only if it's a really big announcement,
I said we wouldn't bug this list]
python-list@python.org
[wait until business hours so the announcement
hits mailboxes while U.S. workers are active]
Notify Gentoo Linux of the update
For now, we will do this by entering a bug report, and
attaching the files in build/gentoo to the report. Go
to:
http://bugs.gentoo.org/
This requires an account (based on your email address)
and a certain amount of Bugzilla-based navigation,
but nothing that's too difficult.
This is just my best stab at a process that will work
for Gentoo. This process may change if the Gentoo
developers come back and want something submitted in
some other form.
Notify www.cmtoday.com/contribute.html
[This guy wants an announcement no more frequently than
once a month, so save it for a future release if it's
been too soon since the previous one.]
Notify freshmeat.net
[Wait until the morning so the announcement hits the
main freshmeat.net page while people in the U.S. are
awake and working]
Checkin another change to prepare for development on this branch.
# Prep the following files to track the changes
# made during the next development cycle
aecp src/CHANGES.txt src/RELEASE.txt
vi src/CHANGES.txt src/RELEASE.txt
# Optionally, update release numbers in the following:
[optional] aecp HOWTO/change.txt
[optional] vi HOWTO/change.txt
[optional] aecp HOWTO/release.txt
[optional] vi HOWTO/release.txt
=======================
Template describe-the-release section:
IMPORTANT: Release 0.95 contains the following interface changes:
- XXX
See the release notes for more information about these changes.
This release adds the following features:
- XXX
This release enhances the following existing features:
- XXX
The following fixes have been added:
- XXX
Performance has been improved as follows:
- XXX
The following changes have been made to the SCons packaging:
- XXX
The documentation has been improved:
- XXX
=======================
Template scons-devel announcement:
SConspirators--
SCons beta release 0.95 is now available for download.
XXX Template describe-the-release section goes here XXX
Special thanks to XXX, XXX, and XXX for their contributions to this
release.
--SK
=======================
Template scons-users + scons-announce announcement:
Version 0.95 of SCons has been released and is available for download
from the SCons web site:
http://www.scons.org/
Or through the download link at the SCons project page at SourceForge:
http://sourceforge.net/projects/scons/
RPM and Debian packages and a Win32 installer are all available, in
addition to the traditional .tar.gz and .zip files.
WHAT'S NEW IN THIS RELEASE?
XXX Template describe-the-release section goes here XXX
ACKNOWLEDGEMENTS
Special thanks to XXX, XXX, and XXX for their contributions to this
release.
On behalf of the SCons team,
--SK
=======================
Template python-announce, linux-announce and python-list announcement:
SCons is a software construction tool (build tool, or make tool) written
in Python. It is based on the design which won the Software Carpentry
build tool competition in August 2000.
Version 0.95 of SCons has been released and is available for download
from the SCons web site:
http://www.scons.org/
Or through the download link at the SCons project page at SourceForge:
http://sourceforge.net/projects/scons/
RPM and Debian packages and a Win32 installer are all available, in
addition to the traditional .tar.gz and .zip files.
WHAT'S NEW IN THIS RELEASE?
XXX Template describe-the-release section goes here XXX
ABOUT SCONS
Distinctive features of SCons include:
- a global view of all dependencies; no multiple passes to get
everything built properly
- configuration files are Python scripts, allowing the full use of a
real scripting language to solve difficult build problems
- a modular architecture allows the SCons Build Engine to be
embedded in other Python software
- the ability to scan files for implicit dependencies (#include files);
- improved parallel build (-j) support that provides consistent
build speedup regardless of source tree layout
- use of MD5 signatures to decide if a file has really changed; no
need to "touch" files to fool make that something is up-to-date
- easily extensible through user-defined Builder and Scanner objects
- build actions can be Python code, as well as external commands
An scons-users mailing list is available for those interested in getting
started using SCons. You can subscribe at:
http://lists.sourceforge.net/lists/listinfo/scons-users
Alternatively, we invite you to subscribe to the low-volume
scons-announce mailing list to receive notification when new versions of
SCons become available:
http://lists.sourceforge.net/lists/listinfo/scons-announce
ACKNOWLEDGEMENTS
Special thanks to XXX, XXX, and XXX for their contributions to this
release.
On behalf of the SCons team,
--SK
|