[mapserver-dev] Packaging multiple version of mapserver

Michael Smith michael.smith.erdc at gmail.com
Mon Feb 13 05:09:42 PST 2017


Bruno,

One simple method of having multiple versions is docker. This keeps all
your versions completely isolated from one another and allows them to have
separate dependencies. You can just run different versions on different
ports and then have a parent webserver that proxies to these ports using
different paths.

Mike

----
Michael Smith

US Army Corps
Remote Sensing GIS/Center
michael.smith at usace.army.mil




-----Original Message-----
From: mapserver-dev <mapserver-dev-bounces at lists.osgeo.org> on behalf of
Bruno Friedmann <bruno at ioda-net.ch>
Organization: Ioda-Net Sàrl
Date: Monday, February 13, 2017 at 5:21 AM
To: <mapserver-dev at lists.osgeo.org>
Subject: [mapserver-dev] Packaging multiple version of mapserver

>Dear devs, since last year tosprint in Paris,
>I was able in a sense to have multiple major version of mapserver build
>for 
>openSUSE (rpm based).
>There's still a number of opened questions, that I would like to resolve
>with 
>dev team, to make a final proposal, and send to packages to appropriate
>repository, where end users can consume them.
>
>The idea behind this is to allow users to keep their existing working
>installation (think about .map compatibility), and start migrating as
>soon as 
>possible.
>
>To make it short I've a mapserver6 (based on 6.4x branch) and mapserver7
>(actually 7.0.4).
>This work well for core and main componants.
>For example libmapserver2 (7.0.4)
>rpm -ql libmapserver2
>/usr/lib64/libmapserver.so.2
>/usr/lib64/libmapserver.so.7.0.4
>
>Users can have both installed on their system, and with
>update-alternatives
>can choose which one is the default.
>
>On the mapscript side, it is more complicated as the mapscript component
>doesn't get versionned actually by our build.
>So I let user choosing one or the other depending on their needs.
>Not perfect, but that's all I can do with our code actually.
>
>When I proposed those version split, the following question occur from
>this 
>others packagers.
>What will happen when mapserver 8 will come? (easy another package is
>created)
>
>What will happen when mapserver 7.2 will come and if there's a breakage
>in the 
>.map syntax?
>I'm clueless with, especially that at mapserver we were good at that jobs
>(.map breakage) at minor version change.
>
>Maintaining package up to date, is time consuming, and also tricky when
>multiversion is involved.
>
>So to resume :
>* Did we have a clear statement (RFC) about when .map breakage occurs,
>like 
>only major version (perhaps we have to release more then), or major/minor
>?
>If its major/minor, how much time as packager I should propose older
>versions?
>
>* What are our project to make swing mapscript able to make versionnable
>lib ?
>To have php_mapscript.so.7
>python : _mapscript.so.7
>etc...
>in mapscript 7
>
>Then for sure, if we need to have 7.0 and 7.2 separate due to .map
>breakage
>then versionnable lib and mapscript have to follow also Major/Minor
>schema.
>
>Any thoughts ?
>
>I'm quite new on this mailing list, so I don't know what will be the
>correct 
>actions after there's a consensus here, like opening an rfc, and or issue.
>
>-- 
>
>Bruno Friedmann 
> Ioda-Net Sàrl www.ioda-net.ch
> Bareos Partner, openSUSE Member, fsfe fellowship
> GPG KEY : D5C9B751C4653227
> irc: tigerfoot
>
>
>_______________________________________________
>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