Continuous Integration is such an important idea and I love CruiseControl.rb as its so easy to use. However one thing that drives me crazy is that it keeps all builds forever. Over the past few years we run out of disk space every few months causing all our builds to start failing and some tedious manual work to delete some directories.
Today I decided to do something about it and wrote a script to remove all but the most recent builds. After all why do I want an old build lying around as that's what Git of Subversion is for!
If you want to give it a try you can download the script from http://github.com/alexrothenberg/purge_old_cruise_builds
This seems to be working for me and I'd love to hear if I'm making some assumptions you need to change to adapt it to your uses.
Continuous Integration is such an important idea and I love CruiseControl.rb as its so easy to use. However one thing that drives me crazy is that it keeps all builds forever. Over the past few years we run out of disk space every few months causing all our builds to start failing and some tedious manual work to delete some directories.
Today I decided to do something about it and wrote a script to remove all but the most recent builds. After all why do I want an old build lying around as that's what Git of Subversion is for!
If you want to give it a try you can download the script from http://github.com/alexrothenberg/purge_old_cruise_builds
This seems to be working for me and I'd love to hear if I'm making some assumptions you need to change to adapt it to your uses.
I recently ran into an issue where users hitting my development server with Internet Explorer kept getting redirected back to my login page no matter how many times they signed in. Everything worked fine for all other browsers I tested and it even worked fine on Internet Explorer when pointing at http://localhost.
After much investigating it turns out the problem lies in the name of my development server. I picked a name like http://myapp_dev.alexrothenberg.com and it was the underscore in myapp_dev that caused the problem. It turns out that IE will not set a session cookie for a domain with a hostname that contains an underscore.
According to microsoft this is not a bug but a feature
Q5: IE won’t set a cookie when the hostname/domain contains an underscore?
A: Correct. Technically, underscore is not a DNS character, and while Windows will let you use an underscore when naming your machine, it warns you that doing so may cause problems. One such problem is that WinINET blocks attempts to set cookies on such domains.
The Internet standards (Request for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-') ...
While a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore.
I recently ran into an issue where users hitting my development server with Internet Explorer kept getting redirected back to my login page no matter how many times they signed in. Everything worked fine for all other browsers I tested and it even worked fine on Internet Explorer when pointing at http://localhost.
After much investigating it turns out the problem lies in the name of my development server. I picked a name like http://myapp_dev.alexrothenberg.com and it was the underscore in myapp_dev that caused the problem. It turns out that IE will not set a session cookie for a domain with a hostname that contains an underscore.
According to microsoft this is not a bug but a feature
Q5: IE won’t set a cookie when the hostname/domain contains an underscore?
A: Correct. Technically, underscore is not a DNS character, and while Windows will let you use an underscore when naming your machine, it warns you that doing so may cause problems. One such problem is that WinINET blocks attempts to set cookies on such domains.
The Internet standards (Request for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-') ...
While a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore.
Does social software adoption have you singing the blues? If so, you're not alone. In the enterprise social software world, everyone's talking about adoption. There are breakouts on it at Enterprise 2.0. Lots of smart people are blogging about it....
This is a wonderful post. I wish I get an opportunity to experience it for software projects.
In the past couple of years, millions of jobs have been slashed around in the world and there are entire industries, which are walking, wounded. Now as we are one of the fastest growing economies after China and things are looking much better, many people are taking a fresh look at their situations and deciding [...]![]()
There was queer habit of mine to store the things for the perfect time.
A simple, incident describing this. It was in our school days, when the sachet concept was not in vogue like these days. I got a free sachet of Rasna(a fruit drink, in powder form) from our local grocery shop. I was so excited that I kept it for a long period of time. Each day, when I return from school, I would have seen the sachet on our center-table in the drawing room and thought , I would have it when I would be more tired and thirsty .
Couple of days passed and suddenly on a day I find that sachet no more on it's place.
I searched the entire place, from the pile of newspapers, our telephone diaries (we don't use to have contacts in our cell phone to store the numbers during that time).
Alas! it was not there.
My Brother returned home, and to my surprise he asked me the place from where I got that Rasna sachet? He had it, few days back!!!
My Learning:- Don't wait for the ideal and the perfect situation, whatever and wherever you are you can make it perfect.