Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36665 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88097 invoked from network); 28 Mar 2008 22:36:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2008 22:36:29 -0000 Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.143 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.143 smtpout0143.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.143] ([64.97.136.143:9420] helo=n066.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/23-25926-CE27DE74 for ; Fri, 28 Mar 2008 17:36:29 -0500 Received: from sc1-out03.emaildefenseservice.com (64.97.139.2) by n066.sc1.he.tucows.com (7.2.069.1) id 4769F91800C180DE; Fri, 28 Mar 2008 22:36:24 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,810527185d092ed2,dee07722c5b14e2b,steph@zend.com,-,RULES_HIT:355:379:539:540:541:542:543:567:599:601:967:973:980:988:989:1059:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2393:2525:2559:2563:2682:2685:2828:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3353:3622:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:4250:4886:5007:6119:6261: 7679,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none,TSO:0 X-Spamcatcher-Explanation: Received: from foxbox (host86-130-56-54.range86-130.btcentralplus.com [86.130.56.54]) (Authenticated sender: steph.fox) by sc1-out03.emaildefenseservice.com (Postfix) with ESMTP; Fri, 28 Mar 2008 22:36:22 +0000 (UTC) Message-ID: <073401c89124$459482b0$4001a8c0@foxbox> Reply-To: "Steph Fox" To: "Greg Beaver" , "php-dev" , , "Elizabeth Smith" References: <47ED6D97.3030109@chiaraquartet.net> Date: Fri, 28 Mar 2008 22:37:02 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] practical phar considerations From: steph@zend.com ("Steph Fox") Hi Greg, > what benefit is there in adding complexity of remembering the Phar::GZ > constant over setCompressedGZ()? We have to think hard about changes like > this. We did think hard about them. In fact I thought you'd implemented compress(Phar::GZ) to replace the long-named one now :) Need to go play I guess. > 3) I would like to suggest these changes, and these alone: > > * simplify all compression methods, with more consistency of naming that > clearly differentiates between compressing files within an archive, and > compressing the entire archive. This abstract idea is more important to > me than the specific naming, but it should be very easy to do. Yep. > * add a zip-style API for adding files/directories, addFile, addEmptyDir, > addFileFromString with the exact method names OK... > * add buildFromDirectory() Cool... > * any further suggestions have off-list vetting with the maintainers of > phar for technical issues prior to publicly posting them, so we can truly > work together and present a more polished API suggestion to those > interested in phar on the first try without confusing them. I am *NOT* > proposing we take discussion to private, only that technical issues be > worked out offlist prior to presenting an idea. > > Thank you for your patience, I know I am a bit of a hard-ass at times, but > I am genuinely excited about the discussion and creativity that is going > into this. > > Greg > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >