To produce a new Release candidate
Add
#Pharo1.1rc1
in the update.list of the current beta version
Then add in the following changeset
SystemVersion newVersion: 'Pharo1.1rc1'.
To prepare a new version
Create a new folder on the server
ssh ducasse@scm.gforge.inria.fr
cd /home/groups/pharo/htdocs/updates/
mkdir pharo1.2
Add scripts upFile12
#!/bin/bash
scp "$1" ducasse@scm.gforge.inria.fr:/home/groups/pharo/htdocs/updates/pharo1.2/
#!/bin/bash
scp -p ducasse@scm.gforge.inria.fr:/home/groups/pharo/htdocs/updates/pharo1.2/updates.list .
Prepare script loader
ScriptLoader class>>toPharoOneDotTwo
self currentMajorVersionNumber: 1.2
Here is an example of the script to ask to branch
ScriptLoader>>updatexxx
"self new updatexxx"
self withUpdateLog: 'Switch to 1.2'.
(self confirm: 'Do you wish to advance to Pharo 1.2 Unstable?
[Yes] Your system will be marked as Pharo1.2a (Unstable), and you will subsequently receive development updates for 1.2 (unstable stream).
[No] Your system will remain at Pharo 1.1.')
ifTrue: [SystemVersion newVersion: 'Pharo1.2a'.
ScriptLoader toPharoOneDotTwo.
SystemVersion current date: '11 June 2010'.
self inform: 'You may now save this image and retrieve updates again for Pharo1.1-alpha and beyond.']
ifFalse: [SystemVersion newVersion: 'Pharo1.1rc1'.].
self flushCaches.
Should remove all the update and script methods
For the new version 1.2
- create a new updates.list file, with as
#Pharo1.2a
12000-Pha-Empty.cs
- Add an empty
12000-Pha-Empty.cs
Create a new version of ScriptLoader
The first new update stream item should be a new package ScriptLoaderXX containing the class ScriptLoaderXX where XX is the version number.
12000-Pha-ScriptLoader12.cs
"Postscript:
Leave the line above, and replace the rest of this comment by a useful one.
Executable statements should follow this comment, and should
be separated by periods, with no exclamation points (!!).
Be sure to put any further comments in double-quotes, like this one."
|repository|
repository := MCHttpRepository
location: 'http://www.squeaksource.com/Pharo/'
user: ''
password: ''.
(repository loadVersionFromFileNamed:'ScriptLoader12-MarcusDenker.1.mcz') load.
ScriptLoader new addRepositoryMCToAllPackages.
ScriptLoader new deletePackage: 'ScriptLoader11'.
To generate the log of the issues
http://code.google.com/p/pharo/issues/csv?can=1&q=&colspec=ID+Type+Status+Priority+Version+Platform+Owner+Summary+Milestone+Stars+Opened+Closed+Modified+BlockedOn+Blocking+Blocked+MergedInto+Reporter+Cc+Release&cells=tiles
and save it in CVS, then filter the dates to identify the closed issues.