the vodka that bites back

05:52PM Jan 05, 2013 in category General by Gavin McDonald

For the holidays I got a bottle of ‘Predator – the drink that bites back’ from a local brewery here on Kangaroo Island.

Here is what they say about it.

“This unique liqueur was made specially for the people at KI Raptor Domain. Made in the style of Limoncello using local Kaffir lime, Lemon Myrtle and spiced up with a whole chilli.The Drink That Bites Back.”

More on their website at: http://www.kispirits.com.au/index.php 

And I found it is a very nice drink, but you would really use it as a liqueur, wouldn't want to drink the bottle in one night that's for sure!

Gav…

solving spaces in paths in cygwin

12:40PM Nov 18, 2011 in category General by Gavin McDonald

Occasionally one has to share scripts and such that for convenience Windows users for their part would run in a Cygwin bash prompt, whilst others enjoy the nativeness of Linux etc. One issue is the use of variables to set program names up for use within those scripts. Windows + Cygwin users have no doubt at some point been a victim of spaces in file paths causing the executable files to not be found.

For example anything in 'Program Files' can not be found even from within Cygwin. Lets take something with two such spaces in its path as it will be handy in our examples later on.

Windows: C:\Program Files\CollabNet\Subversion Client\svn.exe
Cygwin: /cygdrive/c/Program Files/CollabNet/Subversion Client/svn

in Cygwin 'which svn' will find the full Cygwin Path as shown above, however, the program using such will only see

/cygdrive/c/Program

and nothing else. So this is a problem not only for our installed subversion client, but also any other that are normally installed in 'Program Files'

There are a few workarounds, including hard coding paths instead of using shelled commands to get the paths, this however deviates the shared scripts from what everyone else may be using quite happily.

The fix is , as usual, easy when you know how, and today I bothered to read docs and test a few things out, the solution I found best is the use of mount points.

There may be other users on the same computer using Cygwin also (not in my case but I did it this way anyway) so its always best to use a custom user oriented /etc/fstab.d/$username file.

here is my /etc/fstab.d/gmcdonald file:

C:/Program\040Files /programs ext3 binary 0 0
C:/Program\040Files/CollabNet/Subversion\040Client /programs/subversion ext3 binary 0 0

And that folks is all you need to do! Save that file (which you may need to create), from then on all your Program Files will be mapped to a path that cygwin can understand - /programs and /programs/subversion etc ..

using 'which svn' will correctly report /programs/subversion/svn and so your scripts will be able to find it too without issue.

FYI docs here: http://www.cygwin.com/cygwin-ug-net/using.html#mount-table

 Enjoy

 

Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th

10:28AM Jul 03, 2011 in category ASF by Gavin McDonald

Hi All,

Just a friendly (and final)  reminder that applications for financial help to attend ApacheCon NA 2011 in Vancouver close this coming Friday 8th July (2200 BST : UTC+1)

Financial assistance is available for Travel (planes, trains, whatever) , Accomodation (at the conference venue hotel) and Conference entrance fees. Dependant on your circumstances will decide how much of that you would be given.

Please visit http://apache.org/travel for more information and a link to the application form.

Remember: We DO help people get to ApacheCon and other Apache events every year, we DO want to help people get there who otherwise could not, that is why we exist.

Spread the word, you are welcome to tweet, blog, email, post, phone or smoke signal to anyone who you think might benefit from attending ApacheCon this year.

Kind Regards,

The Travel Assistance Committee.

Applications now open for ApacheCon NA 2011

07:20PM Jun 06, 2011 in category ASF by Gavin McDonald

The Apache Software Foundation (ASF)'s Travel Assistance Committee (TAC) is now accepting applications for ApacheCon North America 2011, 7-11 November in Vancouver BC, Canada.

The TAC is seeking individuals from the Apache community at-large –-users, developers, educators, students, Committers, and Members-– who would like to attend ApacheCon, but need some financial support in order to be able to get there. There are limited places available, and all applicants will be scored on their individual merit.

Financial assistance is available to cover flights/trains, accommodation and entrance fees either in part or in full, depending on circumstances. However, the support available for those attending only the BarCamp (7-8 November) is less than that for those attending the entire event (Conference + BarCamp 7-11 November). The Travel Assistance Committee aims to support all official ASF events, including cross-project activities; as such, it may be prudent for those in Asia and Europe to wait for an event geographically closer to them.

More information can be found at http://www.apache.org/travel/index.html  including a link to the online application and detailed instructions for submitting.

Applications will close on 8 July 2011 at 22:00 BST (UTC/GMT +1).

Buildbot - using builder categories to send to different email addresses

12:15PM Mar 30, 2011 in category General by Gavin McDonald

Someone asked how to send emails to different addresses depending on the Builder, the use of Categories is your friend:

b1 = {'name': "test-report",
      'slavename': "slave1",
      'builddir': "test-trunk",
      'factory': f1,
      'category': "builder1",
      }
c['builders'].append(b1)
b2 = {'name': "test-report2",
      'slavename': "slave1",
      'builddir': "test-trunk2",
      'factory': f2,
      'category': "builder2",
      }
c['builders'].append(b2)
b3 = {'name': "test-report3",
      'slavename': "slave2",
      'builddir': "test-trunk3",
      'factory': f3,
      'category': "builder3",
      }
c['builders'].append(b3)
#mail status
c['status'].append(mail.MailNotifier(fromaddr="buildbot@test.org",
                                     extraRecipients=["notifications@test.org"],
                                     sendToInterestedUsers=False,
                                     mode="change",
                                     categories=["builder1" , "builder2"]))
c['status'].append(mail.MailNotifier(fromaddr="buildbot@test.org",
                                     extraRecipients=["dev-list@testanother.org"],
                                     sendToInterestedUsers=False,
                                     mode="change",
                                     categories=["builder3"]))

                    

Upgrade Buildbot from 0.7.x to 0.8.x

11:52AM Mar 30, 2011 in category ASF by Gavin McDonald

So finally got around to upgrading the ASF Buildbot Master (on aegis an Ubuntu machine) yesterday. After the usual backup preparations this is what was needed:

1. Install New/Updated prereqs for 0.8.x (and for going straight to mysql db configuration, not default sqlite):

  $ apt-get install python-mysqldb python-jinja2 mysql-server

2. edit /etc/my.cnf and add these entries:

  [mysqld]
  
max_allowed_packet      = 32M
transaction_isolation   = READ-COMMITTED
default-storage-engine  = InnoDB
default-character-set   = utf8
default-collation       = utf8_general_ci
character-set-client    = utf8
  
  [mysql]
  
default-character-set   = utf8
3. $ sudo service mysql restart

4. Create the database:

$ mysql -u root -p
  mysql> CREATE DATABASE buildbot CHARACTER SET utf8 COLLATE utf8_general_ci;
  mysql> GRANT ALL PRIVILEGES ON buildbot.* TO 'bbuser'@'localhost' IDENTIFIED BY '<password>';
  mysql> flush privileges;
  mysql> exit;

5. Download and extract/install the latest buildbot:

$ wget http://buildbot.googlecode.com/files/buildbot-0.8.3p1.tar.gz
$ tar xfvz buildbot-0.8.3p1.tar.gz
$ cd buildbot-0.8.3p1
$ python setup.py build
$ sudo python setup.py install
$ buildbot -version
  Buildbot version: 0.8.3p1
  Twisted version: 10.0.0

6. Edit your current master.cfg (for those NOT going to mysql, ignore this step)

  $ + c['db_url'] = 'mysql://bbuser:<password>@localhost/buildbot'

7. Upgrade!

  $ buildbot upgrade-master --db='mysql://bbuser:<password>@localhost/buildbot' /path/to/masterdir

8. If all went well, start your master

  $ cd /path/to/masterdir
  $ buildbot start . > start.log

Enjoy your new mysql enabled 0.8.3+ master.

For a default sqlite enabled master replace both mysql entries above (steps 6 and 7) with:

$ + c['db_url'] = "sqlite:///state.sqlite"

and

$ buildbot upgrade-master --db='sqlite:///state.sqlite' /path/to/masterdir 

 

 

Upgrading DRAC 5 firmware on a Dell R300 with Ubuntu

08:46AM Dec 05, 2010 in category General by Gavin McDonald

So after upgrading my Windows box to Windows 7 and IE8 I lost the ability to use the remote console in my DRAC 5.

The DRAC is connected to a Dell R300 server, not that I need to use it much but recently my datacenter forced new IP addresses on me so I needed access to the remote console

[Read More]

Travel Assistance applications for ApacheCon NA 2010 ends soon

03:39PM Jul 01, 2010 in category ASF by Gavin McDonald

Hi All,

 

There is only ONE WEEK to go before we stop accepting applications for financial assistance.

 

The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta.

 

The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon, but who need some financial support in order to be able to get there. There are limited places available, and all applications will be scored on their individual merit.

 

Financial assistance is available to cover travel, accommodation and entrance to the event, either in part or in full, depending on circumstances. However, the support available for those attending only the barcamp is smaller than that for people attending the whole event. The Travel Assistance Committee aims to support all ApacheCons, and cross-project events, and so it may be prudent for those in Asia and the EU to wait for an event closer to them.

 

More information can be found on the main Apache website at http://www.apache.org/travel/index.html - where you will also find a link to the online application and details for submitting.

 

Applications for applying for travel assistance are now being accepted, and will close on the 7th July 2010.

 

Good luck to all those that will apply.

 

You are welcome to tweet, blog as appropriate.

Sun Java JDK removed when upgrading to Ubuntu 10.4

02:10PM May 17, 2010 in category Java by Gavin McDonald

If you are upgrading to Ubuntu 10.4 from 8.x or 9.x note that the Sun Java

(sun-java6-*) has been removed from the multiverse repository in favour of using the preferred OpenJDK.

So when you upgrade, the sun version gets removed, but no replacement is added. So you'll need to either install OpenJDK and/or if you need the Sun JDK for development, here's how to get it back:

1. - sudo apt-get install python-software-properties

2. - sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

3. - sudo apt-get update

4. - sudo apt-get install sun-java6-jdk

Enjoy

Comments[1]

Travel Assistance - Applications Open for ApacheCon US 2010

09:54AM May 17, 2010 in category ASF by Gavin McDonald

The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta.[Read More]

Vostro 1720 first impressions

06:32PM Dec 28, 2009 in category General by Gavin McDonald

I’ve only been using it for a day really, and this post is more a test of my WLW setup, but first impressions of the Dell Vostro and Window 7 are pretty good.

What I’m looking forward to more is actually wiping my old Dell Inspiron 6000 and putting either Ubuntu or FreeBSD on it, undecided which.

(The keyboard on this Vostro is a little springy, better get used to that.)

Comments[1]

Wicked Campers!

11:31PM Nov 09, 2009 in category General by Gavin McDonald

For those of you in Australia, you'll know what I mean right away, for others the title might make you think of other things.

 A company hires out camper vans called 'Wicked Campers' - they usually have funny sayings written on the back (hand painted usually) along with hand painted drawings on  the rest of the van , a great way to save money on their fleet of cheap hire vehicles which are usually aimed at the backpacker type of customer.

Anyway, the point of this post, I think the best saying on the back of a van I've seen for a while :

'Nice Legs - what time do they open'

Was that worth my 2nd blog post in the same day, your call!


Comments[0]

What can the ASF Buildbot do for your project?

11:04PM Nov 09, 2009 in category ASF by Gavin McDonald

A summary of just some of the things the ASF Buildbot can do for your project:

  • Perform per commit build & test runs for your project
  • Not just svn! - Buildbot can pull in from your Git/Mercurial branches too!
  • Build and Deploy your website to a staging area for review
  • Build and Deploy your website to mino (people) for syncing live
  • Automatically Build and Deploy Snapshots to Nexus staging area.
  • Create Nightly and historical zipped/tarred snapshot builds for download
  • Builds can be triggered manually from within your own freenode #IRC Channel
  • An IRCBot can report on success/failures of a build instantly
  • Build Success/Failures can go to your dev/notification mailing list
  • Perform multiple builds of an svn/git commit on multiple platforms asyncronously
  • ASF Buildbot uses the latest RAT build to check for license header issues for all your files.
  • RAT Reports are published live instantly to ci.apache.org/$project/rat-report.[txt|html]
  • As indicated above, plain text or html versions of RAT reports are published.
  • [Coming Soon] - RAT Reports sent to your dev list, only new failures will be listed.
  • [Coming Soon] - Email a patch with inserted ASL 2.0 Headers into your failed files!!
  • Currently Buildbot has Ubuntu 8.04, 9.04 and Windows Server 2008 Slaves
  • [Coming Soon] - ASF Buildbot will soon have Solaris, FreeBSD 8 and Windows 7 Slaves

Dont see a feature that you need? Join the builds.at.apache.org mailing list and request it now, or file a Jira Ticket.

Help is always on hand on the builds.at.apache.org mailing list for any problems or build configuration issues/requests. Or try the #asftest channel on irc.freenode.net for live support.

So now you want your project to use Buildbot? No problem, best way is to file a Jira Ticket. and count to 10 (well maybe a bit longer but it wont be long before you are up and running).

Comments[0]

Travel Assistance applications open soon for ApacheCon US 2009

09:54AM Jul 19, 2009 in category ASF by Gavin McDonald

For those of you wanting to attend the 10th Anniversary of ApacheCon coming up in Oakland this 2nd – 6th November 2009.

Applications will be open for those wanting financial assistance to attend ApacheCon US 2009 between 27th July 2009 and 17th August 2009.

Anyone who is involved in Open Source as a developer/committer are welcome to apply.

For more details and how to apply see http://www.apache.org/travel/index.html. Other sites to note are the http://tac-apply.apache.org online application area and http://cwiki.apache.org/TAC/ – the Travel Assistance Wiki.

Spread the word!

Comments[0]

Adding themes to Roller 4.01 and Roller 5.0-dev

09:00PM May 02, 2009 in category General by Gavin McDonald

As the title indicates, themes made for Roller 4 work fine in Roller 5 (currently) and the method of applying them is the same for both versions.

To get started, there are individual themes or a bundled all in one archive of all themes at RollerWeblogger on java.net so download whichever ones you want.

Then extract them into your $CATALINA_HOME/webapps/roller/themes directory. (where $CATALINA_HOME is the root directory of your Tomcat installation)
        Redeploy roller or restart tomcat and all the themes should now be available for selection in the admin/themes area of your blog. Note that ‘allow custom themes’ should be enabled in the global admin area for individual blogs to be able to choose a new theme.

Comments[0]