[cuis] Kernel Development Model

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[cuis] Kernel Development Model

keith1y
Hi Juan et al,

I have been working on a kernel development process for Cuis2, for a  
while now, and it is ready for a tour around the block. Those working  
on tricky refactorings within squeak/pharo may also find this useful.

The instructions on http://smalltalkers.pbworks.com/Getting-Started 
lead you through manually setting up
a development area for squeak pharo and cuis.

The purpose of loading these tools into squeak and pharo is to enable  
slices of code within either squeak or pharo to be marked up and  
periodically exported for import into cuis.

I have also developed an extensible bash script framework, called  
"grow" (opposite of shrink) which we can extend to provide meta-
facilities, such as automatically setting things up, checking for vm  
updates, handling multiple repositories etc (much like "repo" for  
android)

Grow, allows you to define a configuration, of VM, Starting Image, and  
Bootstrap code, per working directory.

#> cd squeak-wk
#> grow configure squeak --here
#> cd ../cuis-wk
#> grow configure cuis --here

This will find the configured VM and open the latest version of the  
base-dev.N.image.
#> grow launch base-dev --latest

Please do let me know if anything in the instructions is not clear.  
There is a fair bit of documentation knocking around on the wiki.

regards

Keith



Reply | Threaded
Open this post in threaded view
|

[cuis] Kernel Development Model

keith1y
Hi Juan,

Pre-built image now available, including the new StartupManager.

bzr checkout --lightweight https://launchpad.net/~smalltalkers/cuis/base-dev-images

To obtain the source code from the image, into the "export" directory doIt:

Export doExport.

There you will find entries and fileouts for StartupManager, and separate integration code in StartupManagerIntoCuis2.

regards

Keith


Reply | Threaded
Open this post in threaded view
|

[cuis] Kernel Development Model

keith1y
Hi Juan,

Pre-built image now available, including the new StartupManager.

bzr checkout --lightweight https://launchpad.net/~smalltalkers/cuis/base-dev-images

I have taken StartupManager out of base-dev, so it no longer appears in base-dev prebuilt images. It now resides in its own project, and may be selected for users personal builds.

To obtain the source code from the image, into the "export" directory doIt:

Export doExport.

There you will find entries and fileouts for StartupManager, and separate integration code in StartupManagerIntoCuis2.


The organization of the repositories has been tidied:

Universal all platform VM.

base-dev - fork specific fixes, and patches for parity between forks.

https://launchpad.net/~smalltalkers/squeak/base-dev
https://launchpad.net/~smalltalkers/cuis/base-dev
https://launchpad.net/~smalltalkers/pharo/base-dev

https://launchpad.net/~smalltalkers/cuis/base-common  - code that is common to all images, providing System-Exports1.0 and System-InstallSeries1.0.3

Personal projects:

https://launchpad.net/~keithy/cuis/System-Support_StartupManager

Personal build definitions:

https://launchpad.net/~keithy/cuis/stable
https://launchpad.net/~keithy/cuis/unstable

Published Images

https://launchpad.net/~smalltalkers/cuis/images-base-dev
https://launchpad.net/~keithy/cuis/images-stable

=========
Juan & Andreas,

to get the code for StartupManager, you can just checkout 

bzr branch https://launchpad.net/~keithy/cuis/System-Support_StartupManager

or you can grab an image which uses it from 

bzr checkout --lightweight https://launchpad.net/~keithy/cuis/images-stable

and execute "Export doExport" to obtain the sources.

regards

Keith