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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <0ad501c1a07f$c15af920$0200a8c0@lifelesswks> From: "Robert Collins" To: "Michael A Chase" , "Charles Wilson" , "Joshua Franklin" Cc: References: <20020117190003 DOT 69826 DOT qmail AT web20009 DOT mail DOT yahoo DOT com> <3C473531 DOT 7020905 AT ece DOT gatech DOT edu> <070f01c19fda$d81f4760$0200a8c0 AT lifelesswks> <000101c19ff6$74c36c20$ec00a8c0 AT mchasecompaq> Subject: Re: Package Lint Date: Sat, 19 Jan 2002 11:25:09 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 19 Jan 2002 00:27:09.0385 (UTC) FILETIME=[08046B90:01C1A080] ----- Original Message ----- From: "Michael A Chase" > I have been away for a while and would be interested in working on a package > lint as a way of getting back in the loop. What would you like it to check > first? > > My first thought would be to make it a Perl script. I'm open on this. I expect at some point to produce a setup.ini linter, and that could be called from a perls script easily enough. (We should have the same parser code reused, to prevent syncronisation errors). > Likely features: > 1. No /usr/info/dir allowed. > 2. Syntax check setup.hints. upset is perl now, I'd suggest you extend upset. Also, for efficiency, write a flag - same foobar.checked - when you check a file (be it a setup.hint or package), and only recheck if the file is newer than the flag. This is because untarring a 100Mb of archives every upload is a waste of CPU time - and the server is quite loaded already. 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/