[Cuis] Install vs FileIn [WAS Re: Bidirectional Dictionary]

H. Hirzel hannes.hirzel at gmail.com
Fri Jan 11 23:41:25 CST 2013


On 1/11/13, KenD <Ken.Dickey at whidbey.com> wrote:
> Ah!
>
> Given the large number of updates, I was using a script to load them all and
> had used #fileIn: rather than #install: .
>
> A sentence about SystemVersion and a bit of sample code added to the "Code
> Management in Cuis 4.0" web page would have helped me out.

Thank you for sharing the result of your findings. Very convenient.


> Packages:
>
>   SystemVersion current highestUpdate. "--> 1549"
>   packageFileNameList do:
>    [:packageNameStr | FileStream fileIn: packageFileNameStr ].
>   SystemVersion current highestUpdate. "--> 1549"
>
> Updates:
>
>   SystemVersion current highestUpdate. "--> 1511"
>   updateFileNameList do:
>    [:changeFileNameStr | FileStream install: ( 'UpdatesSinceLastRelease',
> slash, changeFileNameStr) ].
>   SystemVersion current highestUpdate. "--> 1549"


How did you create the
   updateFileNameList
?

>
> On the other hand, I am unsure of putting too much detail in the code
> management page.

I would not mind finding the code snippets above at that page.




> Perhaps we should save these things for a Cuis Cookbook?

Yes, maybe even just in the README.md file or another file like
'Notes.md' until there is more.

--Hannes

> Cheers,
> -KenD
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>




More information about the Cuis mailing list