. .


Smalltalk Daily 07/01/10: Store Replication

July 1, 2010 8:54:08.326

Today's Smalltalk Daily looks at replicating packages and bundles between store source code repositories. There's a UI for one off replication; the screencast shows you how to use the engine directly. To create replication rules, you do something like this (the repository names are the logical ones from your connection list):

replicator :=  StoreAutoReplicator new.

"Package or Bundle,Package/Bundle Name,Source Repository Name,
Destination Repository Name"
rules := #('P,NetworkAppUtilities,cincomsmalltalk,local').

rules do: [:each |
	replicator addRule: (ReplicationRule readFrom: each readStream)].
replicator replicateAll.

If you can't watch the YouTube embed below, click here to go to the video now:

You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This