Thank you Victor for your contributions. I think you have to create a SLICE package only if your modifications impact severals packages. 2008/6/4 Victor Rodriguez <victorr@gmail.com>:
Hello,
I took the liberty of rewriting the HowToContribute wiki page [1] with some of the information from the recent discussion in the mailing list.
Please take a look at the wiki page (I have also reproduced the text below) and feel free to make corrections yourself (or post a reply to this message and I'll take care of it).
Please take special care reviewing the "publish to PharoInbox" step, since I have yet to publish anything myself so I might have gotten it wrong.
Best regards,
VÃctor RodrÃguez.
p.s. I got to watch two "Smalltalk daily" [2] screencasts while waiting for the edited page to save.. any timetable on the nifty Pier or Cmsbox Pharo project site? :-)
[1] http://gforge.inria.fr/plugins/wiki/index.php?id=1299&type=g [2] http://www.cincomsmalltalk.com/blog/blogView?searchCategory=screencast
First and foremost, you must be aware that '''the Pharo project only accepts code published under the MIT license'''. By publishing your code in the !SqueakSource Pharo or !PharoInbox repositories, you are agreeing to this condition.
With that out of the way, here are the steps to submit your contributions:
* Prepare a changeset with your changes. File it out. '''Important''': Put your Full name instead of your initials, it will help up to contact you as it is often necessary.
* Load your changes into a fresh image:
** Download the latest Pharo image from [Files | http://gforge.inria.fr/frs/?group_id=1299].
** Launch the fresh image and load the latest updates by clicking on the ''load code updates'' button on the left flap.
** Importat: Save the image at this point, so that you don't need to reload the updates when you test your changes.
** File in your changeset.
* Create a SLICE package in your package cache:
** Open the Monticello browser. You should see one or more packages marked as modified (they have an asterisk before their name).
** Select your package-cache repository on the right hand pane.
** Create the new package (click on the ''+Package'' button). Name it SLICE-nameofchange, (e.g. SLICE-remove-isMorphic).
** Make all the modified packages (the ones with asterisks before their names) required by your SLICE package. To do this, right click on the SLICE package in the left pane and select ''add required package'', then select the package from the next menu. Repeat for all modified packages.
** Save the SLICE package (click on the ''Save'' button). An mcz package will be saved in your cache for the SLICE package and all the modified packages. You will be prompted for a log message for each one of them, type a useful comment for the first package, copy it and paste it on the others.
** To prepare for the next step, quit the image without saving.
* Test your packages in the clean image.
** Relaunch the clean Pharo image. If you didn't save the image after loading the updates, load the updates (I told you it was important!).
** Open the Monticello browser.
** Open your package-cache repository (select the package-cache in the right pane, click on the ''Open'' button).
** Load your SLICE package. If it loads without errors, you are ready for the next step. If there are errors, try again, or ask for help in the mailing list.
* Publish the SLICE package to !PharoInbox !SqueakSource repository.
** In the Monticello browser add the !PharoInbox repository. Make sure the SLICE package is selected in the left pane, then click on the ''+Repository''. Select ''HTTP'' from the menu, then make sure that the location reads ''http://www.squeaksource.com/PharoInbox''.
** Finally, click on ''Save''.
* Announce your contribution.
** You might need to add an entry to the [tracker | http://gforge.inria.fr/tracker/?group_id=1299], to MantisBugsHarvested in the wiki, etc.
** Send a email to the mailing list.
Congratulations, the world is one step closer to being a better place!
We greately appreciate your effort.
In case of problems, you can send a changeset to the mailing list, but please only do this as a last resort.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Serge Stinckwich http://blog.doesnotunderstand.org/