The export script uses an old version of the ICOS CP Python library. There is a new icoscp_core library that we should look into using instead.
In addition, some of the queries used aren't the most efficient and probably need rewriting.
Known issues:
get_existing_files looks for existing versions of a set of files. It sends a giant query with all the filenames in, and sees which ones come back. We should ask for the remote file list and do the comparison locally.
The export script uses an old version of the ICOS CP Python library. There is a new icoscp_core library that we should look into using instead.
In addition, some of the queries used aren't the most efficient and probably need rewriting.
Known issues:
get_existing_files
looks for existing versions of a set of files. It sends a giant query with all the filenames in, and sees which ones come back. We should ask for the remote file list and do the comparison locally.