Ticket #173 (closed task: fixed)

Opened 3 years ago

Last modified 18 months ago

Deprecate MapFish widgets, remove lib

Reported by: adube Owned by:
Priority: major Milestone: 1.0.0
Component: widgets Version:
Keywords: Cc:

Description

Tasks

  • Deprecate the following widgets :
    • MapFishLayerTree
    • MapFishRecenter
  • Remove MapFish lib from externals
  • Adjust all samples (remove lib, replace/remove the above widgets)

  • Don't use MapFish build anymore, but GeoExt one instead

Required tasks before doing this one

  • #169
  • a widget to replace the MapFishRecenter

Change History

Changed 3 years ago by adube

Currently, all vector layers are created with the "mapfish.Protocol.MapFish" as protocol in the Map widget. We need to find a replacement for that as well.

Changed 3 years ago by etdube

Looks like OpenLayers?.Protocol.HTTP could be a direct replacement.

Changed 3 years ago by adube

We used to use that one, but as soon as we integrated the editing widgets, we needed to switch to the mapfish protocol. I haven't looked or tried it yet, but we need to keep this in mind.

Changed 2 years ago by adube

r949, r950 and r951, featuring :

  • externals removed :
    • mapfish-trunk
    • openlayers-trunk
    • geoext-core
    • geoext-ux
  • externals added :
    • mapfish-client-trunk (it includes MapFish, OpenLayers, GeoExt and GeoExt.ux, all trunk)
  • samples/config.php adjusted to point to the new libraries

A fresh checkout of the repository with all its externals weights :

  • (before) : 1.8G
  • (now) : 617M

Changed 2 years ago by adube

I was wrong about one point. A fresh checkout of the new repository is : 393M.

Changed 2 years ago by adube

And also about the weight of a fresh geoprisma checkout : was 1000M at r948. It must have been 1.8G because of svn local history. So that's 607M of useless stuff removed in the end.

Changed 2 years ago by adube

Guys, forget everything about the sizes again. I just found out what had been messing me up.

On my Linux machine, my /home directory is encrypted, making every files in it bigger than they normally are. My GeoPrisma trunk is in /home. When I tested the sizes, I checked out a new version in /tmp since I was to get rid of it after, so the comparisons were wrong. The svn history didn't make that much of a difference either.

Here are the final and true test results (I swear they're okay this time) :

Sorry for the noise.

Changed 2 years ago by yvesm

Build scripts aren't quite working yet; should clear that tomorrow

Changed 2 years ago by yvesm

Build scripts are OK now except for "GeoExtux?_shortcutcombo" being empty

Changed 19 months ago by adube

  • milestone set to 1.0.0

Changed 18 months ago by adube

  • status changed from new to closed
  • resolution set to fixed

Widget deprecation will be covered by #309 instead. The part about removing the huge mapfish library being done, I'm closing this ticket as "fixed" for this task only.

Note: See TracTickets for help on using tickets.