On Thu, Apr 15, 2010 at 02:58:12PM -0700, Jan Dubois wrote: > On Thu, 15 Apr 2010, Barbie wrote: > > On Thu, Apr 15, 2010 at 12:50:29PM -0700, Jan Dubois wrote: > > > > > > PPM4 actually supports putting the PPD file inside the tarball. When the > > > tarball is downloaded with a .ppmx extension, then the client knows to > > > extract the .ppd from inside the file and install everything else > > > according > > > to this .ppd file. > > > > > > The big problem with this scheme is though that is doesn't allow you > > > to install prerequisites using this mechanism: You can double-click on > > > a .ppmx file in a web browser and it can be downloaded and installed > > > automatically. The ppm installer however no longer knows where the file > > > came from, so it cannot look for prerequisites in the same place. > > > > The last time I used PPM it was able to support multiple repositories, > > in the same way apt or yum does. I also thought it was able to install > > prerequisites from these if a local ppd wasn't found. I'd certainly like > > to see a double-click installer work like that :) > > Yes, it certainly downloads prerequisites from the configured repositories. > I was talking about downloading .ppmx files from some random website that > you didn't configure first as a repository in the PPM client. The double- > clicked file is not able to download additional prerequisites from that > "random website" it came from itself. Think "private/internal repository > of a bunch of interdependent modules".
Got it. However, I was thinking the initial file (ppmx) would essentially be a stand-alone download, the installer would then revert to the predefined repos to download the prerequisites. In PPM's case there are only a few repos that try to keep up with CPAN, so knowing where the original repo was may be significant. However, if we're downloading from CPAN, then it would be reasonable to try and grab prereqs from a predefined set of CPAN mirrors. Cheers, Barbie. -- Birmingham Perl Mongers <http://birmingham.pm.org> Memoirs Of A Roadie <http://barbie.missbarbell.co.uk> CPAN Testers Blog <http://blog.cpantesters.org> YAPC Conference Surveys <http://yapc-surveys.org>