Thanks Fabien! On Sat, Mar 7, 2009 at 10:08 AM, Fabien Potencier <[email protected]> wrote: > > That's was simple enough to add. > > As of now, if you include the package.xml file in the PEAR package, you > will have an error. > > Fabien > > -- > Fabien Potencier > Sensio CEO - symfony lead developer > sensiolabs.com | symfony-project.org | fabien.potencier.org > Tél: +33 1 40 99 80 80 > > > Tom Boutell wrote: >> BINGO! That was it. Thank you. >> >> The issue is that you can't include package.xml itself in a pear >> package. If you do, you'll get a bad checksum, for chicken-and-egg >> reasons. >> >> I don't expect anyone to fix that; I clearly need to stop including >> package.xml in my packages. >> >> There is nothing wrong with the plugins site, clearly. However, it >> would be very helpful if the Symfony plugin upload verifier checked >> for the presence of package.xml in the .tar.gz file and flagged it as >> a fatal error. >> >> Judging from references to this problem in Google I am not the only >> plugin author who mostly uses svn externals to install packages and so >> has never paid close enough attention to this issue before. It would >> make a lot of sense to check for it, and since there's clearly a lot >> of stuff being checked already it probably wouldn't be hard to add. >> >> -Tom >> >> On Fri, Mar 6, 2009 at 9:25 PM, 4levels <[email protected]> wrote: >>> (If the md5sum of a file changes indeed with every change in the file >>> even if the size is the same, than it's quite a paradox: how to set >>> the md5sum of a file that stores the md5sum in it's content?) >>> >>> >>> On 6 mrt, 18:20, Tom Boutell <[email protected]> wrote: >>>> Okay, thanks, I did rm -rf cache/.pear and now I get this: >>>> >>>> Installation of "sfDoctrineApplyPlugin" plugin failed: bad md5sum >>>> for file >>>> /Users/boutell/Sites/testapp12/plugins/sfDoctrineApplyPlugin/package.xml >>>> >>>> I've seen this one before and I'm not aware of anyone who has found a >>>> solution. The tarball on the site extracts fine. What is the issue? >>>> >>>> On Fri, Mar 6, 2009 at 12:05 PM, Fabien Potencier >>>> >>>> >>>> >>>> <[email protected]> wrote: >>>> >>>>> The problem comes from PEAR. PEAR has a cache. You need to clear it. >>>>> Fabien >>>>> -- >>>>> Fabien Potencier >>>>> Sensio CEO - symfony lead developer >>>>> sensiolabs.com | symfony-project.org | fabien.potencier.org >>>>> Tél: +33 1 40 99 80 80 >>>>> Tom Boutell wrote: >>>>>> I uploaded sfDoctrineApplyPlugin version 1.0.0, then found an error in >>>>>> package.xml. >>>>>> So I fixed it and uploaded version 1.0.1. >>>>>> It shows up fine on the site. But when I try to use the plugin-install >>>>>> command, it installs 1.0.0, which has the package.xml error so it >>>>>> fails. >>>>>> I then deleted version 1.0.0 from the site. But plugin-install *still* >>>>>> tries to get version 1.0.0, can't find it, and fails. >>>>>> *Headdesk* >>>>>> What's the trouble? >>>>>> Thanks. >>>> -- >>>> Tom Boutell >>>> >>>> www.punkave.comwww.boutell.com >>>> >> >> >> > > > > >
-- Tom Boutell www.punkave.com www.boutell.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
