Wow, thanks for writing this down Hannes!<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 8:41 AM, Germán Arduino <span dir="ltr"><<a href="mailto:garduino@gmail.com" target="_blank">garduino@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excellent doc, thanks Hannes!<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2013/1/3 Juan Vuletich <span dir="ltr"><<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Folks,<br>
<br>
I added Hannes instructions verbatim to the latest image, so we don't forget about this.<br>
<br>
Please review it, send comments or corrections, etc.<div><br>
<br>
Cheers,<br>
Juan Vuletich<br>
<br>
H. Hirzel wrote:<br>
</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Casey,<br>
<br>
The class PackageInfo has been renamed to CodePackage by Juan.<br>
<br>
Read the comment there.<br>
As well the one of CodePackageFile.<br>
<br>
<br>
Maybe a sequence of exercises like the following helps.<br>
<br>
Phase 0<br>
Get an account on <a href="http://www.github.com" target="_blank">www.github.com</a><br>
<br>
Create a fork of <a href="https://github.com/jvuletich/Cuis" target="_blank">https://github.com/jvuletich/<u></u>Cuis</a><br>
<br>
Install a git client.on your local machine<br>
I use <a href="http://code.google.com/p/msysgit" target="_blank">http://code.google.com/p/<u></u>msysgit</a> and in particular the git bash<br>
shell under Windows 7 so that I do not have to shift gears mentally<br>
when working under Linux. However you might prefer something else.<br>
<br>
Read the help files of github in particular the part about forking<br>
(actually the 'git boot camp')<br>
<br>
- cloning your fork<br>
- uploading your local changes to your fork<br>
- pulling in updates from your fork (called origin)<br>
- pulling in changes from master (from Juan), this is called 'upstream'<br>
<br>
<br>
Phase 1<br>
<br>
a) World Menu -> Open -> Installed Packages<br>
<br>
b) button Create package named 'MyVeryNicePackage'<br>
<br>
c) add some classes with category 'MyVeryNicePackage' in System Browser<br>
<br>
d) go to 'Installed Packages' browser and click 'save'<br>
<br>
e) quit Cuis without saving anything<br>
<br>
f) commit the code '<a href="http://MyVeryNicePackage.pck.st" target="_blank">MyVeryNicePackage.pck.st</a>'<br>
<br>
g) git push origin master<br>
<br>
<br>
<br>
<br>
Phase 2 a)<br>
a) start Cuis again<br>
<br>
b) World Menu -> Open -> File List<br>
<br>
c) Choose '<a href="http://MyVeryNicePackage.pck.st" target="_blank">MyVeryNicePackage.pck.st</a>'<br>
<br>
d) Click on button 'InstallPckg'<br>
<br>
e) Use the code in class category MyVeryNicePackage<br>
<br>
<br>
<br>
Phase 2b)<br>
a) Make changes to class category MyVeryNicePackage<br>
<br>
b) save package in 'Installed Packages' browser<br>
<br>
c) quit Cuis without saving anything<br>
<br>
d) git commit -m "my second version of MyVeryNicePackage"<br>
<br>
e) maybe push it again to your fork<br>
<br>
git push origin master<br>
<br>
<br>
<br>
<br>
Phase 3)<br>
<br>
..... pull in changes from Juan<br>
<br>
<br>
<br>
git pull upstream master<br>
git merge upstream/master<br>
<br>
(to check.... I am still learning github as well<br>
<br>
Angel maybe you can elaborarte<br>
<br>
how to set upstream<br>
<br>
<br>
<br>
<br>
HTH<br>
<br>
--Hannes<br>
<br>
<br>
<br>
<br>
<br>
On 1/3/13, Casey Ransberger <<a href="mailto:casey.obrien.r@gmail.com" target="_blank">casey.obrien.r@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know I should be looking at PackageInfo, but are there any other parts to<br>
this that I should browse in order to better understand how the Cuis<br>
code-in-files stuff works?<br>
<br>
--<br>
Casey Ransberger<br>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Cuis mailing list<br>
<a href="mailto:Cuis@jvuletich.org" target="_blank">Cuis@jvuletich.org</a><br>
<a href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org" target="_blank">http://jvuletich.org/mailman/<u></u>listinfo/cuis_jvuletich.org</a><br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
Cuis mailing list<br>
<a href="mailto:Cuis@jvuletich.org" target="_blank">Cuis@jvuletich.org</a><br>
<a href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org" target="_blank">http://jvuletich.org/mailman/<u></u>listinfo/cuis_jvuletich.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br><span></span>
</div></div><br>_______________________________________________<br>
Cuis mailing list<br>
<a href="mailto:Cuis@jvuletich.org">Cuis@jvuletich.org</a><br>
<a href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org" target="_blank">http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Casey Ransberger