[fpc-devel] Fppkg questions

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Sun May 22 18:22:09 CEST 2011


On May 22, 2011, at 6:04 PM, Michael Van Canneyt wrote:

> 
> 
> On Sun, 22 May 2011, Darius Blaszyk wrote:
> 
>> While working on the lazarus GUI I could not find evidence that fppkg is capable of supporting multiple repositories. As far as I can tell the mirrors.xml is always downloaded from the freepascal server and only holds some alternatives to get the packages from.
>> I think it would be a nice feature if users could setup their own repositories and only have to distribute a repository manifest file (or URL) that will be merged with the local mirrors.xml, subsequently the packages are automatically updated into packages.xml.
>> Is this idea eligible for support before I start working on this?
> 
> Having this was the idea from day one. Strange that you could not find this ?
Can you point out to me how this is supposed to work then? I modified the mirrors.xml file manually but it got overwritten by the version from the freepascal repository. How are you supposed to add additional mirrors? Also the packages, how do you distinguish which package comes from which mirror? I believe you when you say this was planned, but was it implemented?

> 
>> Additionally I have done some tests with SVNClasses from Vincent to add support to use sources directly from SVN as packages. So instead of zipping the sources and putting them on a FTP server somewhere you actually use a SVN path (eg tags for stable releases) for a package. This requires some additional properties to TFPMirrors (Protocol < to distinguish between downloading a zip or exporting SVN) and TFPPackage (Mirror < to be able to create the link between the package and the mirror).
>> I could create a simple patch for this feature so we can discuss implementation details later, but I wanted to discuss this high level first.
> 
> If the SVNClasses can be put in FPC, then this is not a problem and even a good idea.
> If the support for SVN requires the use of Lazarus, then it cannot be put in fppkg.
> 
> Michael.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list