fix exampledata download
Example data is still downloaded from the old repo, which will be deleted in the future:
Example data is now located in the EnMAP-Box repo: enmap-box/enmapbox/exampledata
Let’s keep it as is for v3.9 and fix it for v3.10
Comments (7)
-
-
reporter Ok, I uploaded a zip with testdata for EnMAP-Box version 3.9: https://bitbucket.org/hu-geomatics/enmap-box/downloads/exampledata.3.9.zip
-
reporter I would suggest that a future exampledata-installer checks for a zip file with matching version number first (e.g. EnMAP v3.15 would look for exampledata.3.15.zip). If that zip is missing, it also tries to find zip files for earlier versions of the EnMAP-Box. So, if nothing has changed till version 3.9, the old exampledata.3.9.zip would still be valid.
Does that makes sense?
-
Why not, but I don’t really see a need to keep the example data versioned. Why should older version not benefit from newer testdata as well?
-
reporter I think this is not working, because changes in the
__init__
would break older versions of the EnMAP-Box:
Let's have a fixed version variable for the example data (i.e.
__version_exampledata__ = '3.9'
). Now, each EnMAP-Box version can decide to use an old exampledata version or introduce a new version. -
reporter - changed status to resolved
resolves
#771→ <<cset 863db2466398>>
-
reporter - removed version
Removing version: 3.10 (automated comment)
- Log in to comment
I recommend to create a script that zips the testdata file and uploads it to https://bitbucket.org/hu-geomatics/enmap-box/downloads/ and change the download URL accordingly.