Fork me on GitHub

May 26, 2008

A&O 2008-05-26: GitSharp low level API

Achievements
~~~~~~~~~~~

* Setup our development infrastructure:
* http://github.com/igorgue/git-sharp
* http://devel.unionccs.net/projects/show/git-sharp

* Define our approach with mentor and fellow student(Hector, the guy that will be doing the high level API)

* Study some the git implementation(work in progress):
* CGit (commonly known as plain git)
* jGit (implementation created by a CGit developer)
* ruby-git ruby implementation
* git-ruby another ruby implementation

* Initial work on Git core, some classes infrastructure defined, also Hashing is done with the help of Hector, check github repo(git clone git://github.com/igorgue/git-sharp.git).

* Core diagram: http://devel.unionccs.net/projects/git-sharp/documents missing Index API

* Some work done on the API Design: http://devel.unionccs.net/wiki/git-sharp

Objectives
~~~~~~~~

* Finish design... we just have to do this to continue

* Somethings have to be figured out first:
* Create a base for Hector work(so he can develop the high level part)
* How does Index works and how are we going to implement it(its different on every implementation)

* Continue working on "Core" which is Object, Tree, Commit, Blob and Tag

* Start work in Index

Bonus
~~~~~

* I have been getting dirty with 'unsafe' code, anyway we are not going to use any unsafe code if its not needed(and it should not be needed)

* Learned how to correctly use Mono's encryption API to allow me to create the SHA1

Love
~~~~

* massi: Even though we have talked just a little, he gave us very nice tips :)

* spouliot: He told us to use SHA1.Create() instead of SHA1Managed or SHA1CryptoServiceProvider

* alan(monotorrent guy): This guy did some cool stuff in Mono's SHA1 :) thanks

Notes
~~~~~

* Everybody twitts these days... even Git#: http://twitter.com/gitsharp like I twitt before he is a lonely guy... so he will not follow anybody :) or even reply to anybody

May 24, 2008

My place

This is what happens when you put 4 single guys in a very small house!

PS: It was worst but, we _threw_ away the _trash_, some pizza boxes was pissing me off so we got rid of those... but, still unorganized|dirty

Anyway... I still can hack in that place hehe.

May 3, 2008

Installing VMware Server 1.0.5 in Ubuntu 8.04 Hardy Heron

It's me again with another how-to VMware in Ubuntu...

Well as you might know, VMware have not updated their VMware versions to the latest kernel(nor GCC nor Gnome libs), so the task is kinda hard... the best advice for newbies is to wait, wait, and wait for VMware to release a supported version.

Steps:

1. Get VMware Server from www.vmware.com(don't forget to get the serial too) since we're using Ubuntu you should get the tar.gz file.

2. Install build-essential linux-kernel-devel and linux-headers-generic(or the one you're using), extract the vmware tar.gz file right click -> "extract here" or:

tar xvvzf VMware-server-1.0.5-80187.tar.gz
3. Run the installer:
cd vmware-server-distrib
sudo ./vmware-install.pl
follow all the instructions... but DO NOT RUN vmware-config.pl

4. Get vmware-any-any-update-116.tgz from http://groups.google.com/group/vmkernelnewbies/files?hl=en actually you can get vmware-any-any-update-116-bridge-wireless.tgz that includes wireless support(I believe).

5. Run the any-any updates:
tar xvvf vmware-any-any-update-116.tgz
cd vmware-any-any-update116
sudo ./runme.pl
And select yes on run vmware-config.pl

6. Select your favorite options :)

7. Now, you have it installed... then RUN IT :)
vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
Nice error... I like that hehe, we're screw... are we?... well nop actually.

8. VMware is complaining about some missing libraries, and these are mainly GUI libraries(libcairo)... so what we do? we copy them to the VMware libs directory:
cd /usr/lib/vmware/lib/
sudo mv libpng12.so.0/libpng12.so.0 libpng12.so.0/libpng12.so.0.disabled
sudo ln -sf /usr/lib/libpng12.so.0 libpng12.so.0/libpng12.so.0
sudo mv libgcc_s.so.1/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1.disabled
sudo ln -sf /lib/libgcc_s.so.1 libgcc_s.so.1/libgcc_s.so.1
9. Try to run your VMware again... and yes, we see the light at the end of the tunel :):
vmware


disclaimer



Things written in this blog are my personal thoughts or points of view, and do not represent at all the position of my employer.

Code in the website is licensed under The MIT License

Content of this blog is:
Creative Commons License
Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.