RSS

Cyginstall – The Stateful Cygwin Installer

18 Feb

Hands up those who have tried installing cygwin on windows only to have the damn installer not completely downloading sources or you found that by selecting multiple mirrors, the installer would just get stuck on a slow or buggy mirror?

Well back up a bit.

Hands up those who were *forced* to use windows and hence had to install cygwin?

Me and me again!

At work I am on a windoze box while having to ssh into a linux box to do my development (let us not go there).  Luckily cygwin has helped me in the past but only because I managed to complete the installations out of sheer luck.   For some reason (may be limited intelligence) I could not select the fastest or the most reliable mirror and the installations kept bombing out after hours of what seemed like progress.  Seems wierd but I would have thought the cygwin mirror seeing what files it had already downloaded would have helped.  But no such luck (was it some option I missed)?

So I decided to write a downloader myself (you would still have to call the cygwin setup tool to install the sources).  It HAD to be stateful.  You interrupt it at any point and it should continue where it left of.  So out of that came cyginstall.

It also has a few other goodies:

  1. Multi threaded (defaults to 5)
  2. Web based UI
  3. Easily select or deselect mirrors
  4. Works through proxy with NTLM authentication.
  5. Better reporting of download status and mirror health.

So please give it a go and let me know what you think.  I managed to do a whole download but that does not mean there are no bugs so would appreciate it if you could let me know of any and all issues that need fixing.

Also the UI is very drab.  Very basic but drab, so any help or advice there would be gold.

Advertisement
 

About Sri

I am a technologist, an entrepreneur, a violinist and a family man (in no particular order). My passion for software started when I was 13 - I was donated a really really old 8086 when my family migrated to Melbourne (from India). Amazing how that act of generosity changed my life. Professionally Ive been developing software for the last 15 years using a combination, C, C , Java and Python. Last few years I have been mainly involved in a combination of web backed mobile application development and am currently the co-founder of a stealth-mode startup. I started learning Carnatic violin (indian classical) for the last 10 years almost accidentally and am only kicking myself for not getting into it earlier. Hopefully one day I would be doing a lot more of it. Loves - My wife, family and all things technology, entrepreneurship and indian classical music. Gets Annoyed By - Recruiters who think knowing X makes you incapable of doing Y (examples of such X-Y pairs include - C and C, iPhone and Android, Django and Ruby, Postgres and MySQl, etc),
Leave a comment

Posted by on February 18, 2011 in Python, Unix

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.