Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Automating Package Updates X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Fri, 12 Apr 2002 15:51:42 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robert Collins" To: "Alan Dobkin" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g3C5q8a07793 > -----Original Message----- > From: Alan Dobkin [mailto:Alan AT ADobkin DOT Net] > Sent: Friday, April 12, 2002 6:25 AM > > Has anyone developed a mechanism to notify and automatically > update Cygwin packages on deployed systems? AFA I am aware, no. > I've searched > the list and haven't seen anything like this yet, so I'm > working on a perl script do it, which I will share if > there is interest. The idea is similar to RedHat's RHN/ > up2date program for Linux. But if something like this > already exists for Cygwin, then I won't reinvent the wheel. Well the wheel half exists. Setup can do what you want, but only interactively. > The script I'm working on requires Cygwin to already be > installed, so it's not intended as a replacement for the > setup program, and it would probably no longer be needed > once there is a command-line setup. There is now. It simply needs for more command line options to be added. I checked in some support classes a couple of weeks back, and announced this in cygwin-apps. > It also requires perl > to run, along with bzip and tar for package installation, > ssmtp for e-mail notification, and cron for automation. > It compares setup's installed.db file with the latest > setup.ini to determine what has changed. This is dangerous. installed.db is not currently versioned, and is not an API. In other words, setup may change it's format or remove it completely as setup gets more advanced. I like the idea though. It'd be really neat if you were to help add appropriate command line options to setup.exe. That should be quite straight forward now. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/