[mapserver-dev] MapScript PHP SDK and External Downloads

Seth G sethg at geographika.co.uk
Thu Oct 11 14:55:03 PDT 2018


Thanks Steve. I have an OSGeo account (sethg). No huge rush on this as the SWIG and CMake versions with the fixes for Windows have to be officially released as I understand it. 

Getting multiple versions of mapscript (e.g. Python2 and Python3) increases build times on the CI tools (and Travis seems particularly difficult to get running for multiple languages such as PHP and Python for a single project). In terms of naming, this may be best handled by the final artefacts such as Python Wheels which includes which version of Python they are for. 
It would be good to get Perl running on Travis or Appveyor to. Not sure if anyone is still using TCL - it looks like it wasn't updated to CMake. 

Seth

--
web:http://geographika.co.uk
twitter: @geographika

On Thu, Oct 11, 2018, at 11:05 PM, Lime, Steve D (MNIT) wrote:
> You need an OSGeo account and permission is all. I'll contact Jeff if he 
> doesn't notice this in short order. A mapserver-ci account would make 
> sense.
> 
> I was wondering if we could also think about ways to update the 
> mapscript name as part of build process so that one could run multiple 
> versions of a binding. I've done that with Perl MapScript over time but 
> it's difficult now with CMake. I imagine all bindings are similar, just 
> need the mechanism.
> 
> -----Original Message-----
> From: Seth G [mailto:sethg at geographika.co.uk] 
> Sent: Thursday, October 11, 2018 3:43 PM
> To: Lime, Steve D (MNIT) <steve.lime at state.mn.us>; mapserver-dev at lists.osgeo.org
> Subject: Re: [mapserver-dev] MapScript PHP SDK and External Downloads
> 
> Thanks for the reply Steve. The OSGeo server would make sense, although 
> I guess there might be a chance also of adding/updating the GISInternals 
> SDK at some stage. If Jeff has details on how to request file hosting on 
> OSGeo server that would be great. 
> 
> Bindings for both Python and .NET are both still working with old and 
> new versions of SWIG (although looking at the various fixes since the 
> 1.3.39 release there have been lots of improvements for both languages). 
> 
> Seth
> 
> --
> web:http://geographika.co.uk
> twitter: @geographika
> 
> On Fri, Oct 5, 2018, at 5:45 PM, Lime, Steve D (MNIT) wrote:
> > 1. If possible not being dependent on a user's infrastructure would be 
> > best. I'd think we could host them at 
> > http://download.osgeo.org/mapserver/ although I'm not sure what hoops we 
> > have to jump through to get access, Jeff would know.
> > 
> > 2. I don't think we need full backwards compatibility. Swig 3 has been 
> > around since 2014 and IMHO that should be our target.
> > 
> > -----Original Message-----
> > From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] On 
> > Behalf Of Seth G
> > Sent: Thursday, October 04, 2018 4:26 PM
> > To: mapserver-dev at lists.osgeo.org
> > Subject: [mapserver-dev] MapScript PHP SDK and External Downloads
> > 
> > Hi devs,
> > 
> > I have a few questions it would be good to get some input on relating to 
> > ongoing work to update various MapScripts. 
> > 
> > 1. Is there a procedure for downloading external files to the CI 
> > machines (in this case Appveyor)? The new PHP bindings generated using 
> > SWIG require a custom build of the PHP SDK on Windows - see 
> > https://github.com/mapserver/mapserver/pull/5642
> > In order to reduce build times I think the best approach is to build 
> > these once, and download the outputs as part of the build - the same way 
> > MapServer and MapCache currently download the SDK from GISInternals. 
> > AlexanderGabriel has offered to build these and put them on his server. 
> > Is this ok? Or could this file perhaps be hosted on OSGeo 
> > infrastructure?
> > 
> > 2. Should MapServer try to remain fully backwards compatible with older 
> > versions of SWIG? I have updated the CSharp bindings to work with new 
> > versions - see https://github.com/mapserver/mapserver/pull/5583 - this 
> > also works with 1.3.39. Python3 however fails to build without a later 
> > version of SWIG. Does the MapServer project recommend "official" minimum 
> > versions?
> > 
> > If anyone has any suggestions or concerns on the above 2 pull requests 
> > please add some comments, otherwise I'll look at merging these both to 
> > master.
> > 
> > Regards,
> > 
> > Seth
> > 
> > --
> > web:http://geographika.co.uk
> > twitter: @geographika
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the mapserver-dev mailing list