Opened 6 years ago

Closed 5 years ago

#1179 closed task (fixed)

Link python-gisdata to Live data dir

Reported by: darkblueb Owned by: ingenieroariel
Priority: normal Milestone: OSGeoLive8.0
Component: OSGeoLive Keywords: data, geonode
Cc: live-demo@…

Description

package python-gisdata, bearing the mysterious name ingenieroariel, is installed, which places these files:

user@live-b495:~$ du -sh /usr/share/pyshared/gisdata
11M	/usr/share/pyshared/gisdata
user@live-b495:~$ du -sh /usr/lib/python2.7/dist-packages/gisdata
1.1M	/usr/lib/python2.7/dist-packages/gisdata

Our practice on the Live is to link directories with common data in them, to an entry in /usr/local/share/data .

Change history (12)

comment:1 Changed 6 years ago by hamish

Keywords: geonode added

"apt-cache policy" shows that the python-gisdata package comes from GeoNode?, who's python-geonode package Depends on it. (I suspect it would be better to have it be Recommends'd instead in the control file, so it can be removed without removing all of geonode with it)

I'd like to remind everyone that we are still a couple hundred MB over budget and the part where we/I mercilessly go through and throw anything non-essential overboard hasn't happened yet, but it is coming very soon.

So to avoid later pain to the translators, please be sure to use the standard datasets for your quickstarts.

fwiw the convention is that each installer script links its own data into /usr/local/share/data/ as needed. If it's generic shapefiles or geotiffs link it into vector/ or raster/.

thanks, Hamish

comment:2 Changed 6 years ago by kalxas

I agree with Brian that these files have to be linked in shared data.

It would be a very bad idea to remove this package, which includes an excellent set of metadata files to use in GeoNetwork?, pycsw and deegree catalogues.

I propose to discuss this to the next meeting (as a first agenda item) and make a list of what is to be removed.

comment:3 Changed 6 years ago by kalxas

comment:4 Changed 6 years ago by kalxas

Brian, /usr/lib/python2.7/dist-packages/gisdata folder has links to /usr/share/pyshared/gisdata

I guess we could just remove the data part and simlink metadata to our common folder.

There is also the solution to have 2 packages, one for the data part and one for the metadata part of the gisdata deb package.

Thoughts?

comment:5 in reply to:  4 Changed 6 years ago by hamish

Replying to kalxas:

There is also the solution to have 2 packages, one for the data part and one for the metadata part of the gisdata deb package.

it's so small I don't think it justifies breaking it up into multiple packages. a more generic name and not being hard-depended on would be nice though.

Hamish

comment:6 Changed 6 years ago by hamish

https://github.com/GeoNode/geonode/issues/1015

fwiw the change is done in the debian/control file. Add a line like

Recommends: python-gisdata

then remove it from the Depends: line.

Hamish

comment:7 Changed 6 years ago by ingenieroariel

Owner: changed from live-demo@… to ingenieroariel
Status: newassigned

I have made the changes in the GeoNode? repo and will be published to the PPA on the next release. (Due before 7.0rc1)

https://github.com/GeoNode/geonode/commit/886a3e864f1f05119169d4660b3e64eaea107621

comment:8 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.0OSGeoLive7.5

comment:9 Changed 6 years ago by hamish

Cc: live-demo@… added

comment:10 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:11 Changed 5 years ago by hamish

status?

comment:12 Changed 5 years ago by ingenieroariel

Resolution: fixed
Status: assignedclosed

python-gisdata is listed as recommended now instead of required.

Note: See TracTickets for help on using tickets.