June 2011

Installing git on Solaris Express 11

root@gargoyle:~# pkg info -r git
Name: developer/versioning/git
Summary: git – Fast Version Control System
Description: GIT – Fast Version Control System (v1.5.6.5)
Category: Development/Source Code Management
State: Not installed
Publisher: solaris
Version: 1.5.6.5
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: Fri Nov 05 05:38:48 2010
Size: 36.29 MB
FMRI: pkg://solaris/developer/versioning/git@1.5.6.5,5.11-0.151.0.1:20101105T053848Z
root@gargoyle:~# pkg install developer/versioning/git
Packages to install: 1
Create boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 257/257 10.7/10.7

PHASE ACTIONS
Install Phase 384/384

PHASE ITEMS
Package State Update Phase 1/1
Image State Update Phase 2/2

Making a patch set

Get a clone and make a new branch:

290 21:08 git clone git://linux-nfs.org/~steved/cthon04.git
291 21:08 cd cthon04
292 21:08 git branch FreeBSD
293 21:08 git checkout FreeBSD
294 21:08 git branch

Edit your files and commit the changes:

299 21:09 git commit -a

Make the patch set:


303 21:15 git format-patch --cover-letter -s -n master..FreeBSD

Edit the cover letter to document your changes:

309 21:20 vi 0000-cover-letter.patch

Send the changes:


311 21:21 git send-email --smtp-encryption=tls --smtp-server=smtp.gmail.com --smtp-user=<user>@gmail.com --smtp-server-port=587 --to "<owner>" 000*

Note, while you might use a different email address inside the cover letter, it will still go out as from the user being referenced above. I.e., use the real smtp-server if you don’t want to expose your gmail account.

Note, you might have to install git-mail to do it this way. You can mail the patch set in many different ways.

VMware upgrade might blow away your networking

If you have customized your Fusion networking, be sure to make a copy of /Library/Application\ Support/VMware\ Fusion/networking to your home directory before upgrading.

And then copy it back and before you start up a VM, do sudo ./boot.sh –start in that directory.