CERNDocumentServer / harvesting-kit

A kit containing various utilities and scripts related to content harvesting used in Invenio Software (http://invenio-software.org) instances such as INSPIRE (http://inspirehep.net) and SCOAP3 (http://scoap3.org)
GNU General Public License v2.0
7 stars 18 forks source link

Remove invenio imports #71

Closed jalavik closed 6 years ago

jalavik commented 10 years ago

At the bottom you can see the current output of invenio imports in harvesting-kit. If we get rid of these, we can finally add travis testing and have our pull-requests automatically checked etc.

Looking at the list, most things are easy to fix, such as config variables and exception handling.

$ git grep "from invenio"
harvestingkit/config.py:from invenio.config import CFG_ETCDIR
harvestingkit/contrast_out.py:from invenio.config import (CFG_TMPSHAREDDIR, CFG_PREFIX)
harvestingkit/contrast_out.py:    from invenio.config import CFG_CONTRASTOUT_DOWNLOADDIR
harvestingkit/contrast_out.py:from invenio.errorlib import register_exception
harvestingkit/edpsciences_package.py:from invenio.refextract_api import extract_references_from_string_xml
harvestingkit/edpsciences_package.py:                    from invenio.filedownloadutils import (download_url,
harvestingkit/edpsciences_package.py:                    from invenio.config import CFG_EDPSCIENCE_OUT_FOLDER
harvestingkit/elsevier_package.py:from invenio.refextract_kbs import get_kbs
harvestingkit/elsevier_package.py:from invenio.refextract_api import extract_references_from_string_xml
harvestingkit/elsevier_package.py:from invenio.errorlib import register_exception
harvestingkit/elsevier_package.py:from invenio.config import CFG_TMPSHAREDDIR
harvestingkit/elsevier_package.py:from invenio.shellutils import run_shell_command
harvestingkit/elsevier_package.py:from invenio.bibtask import task_low_level_submission
harvestingkit/elsevier_package.py:from invenio.bibdocfile import BibRecDocs
harvestingkit/elsevier_package.py:from invenio.search_engine import search_pattern
harvestingkit/hindawi_bibfilter.py:from invenio.bibupload import find_records_from_extoaiid
harvestingkit/hindawi_bibfilter.py:            from invenio.errorlib import register_exception
harvestingkit/jats_package.py:from invenio.refextract_kbs import get_kbs
harvestingkit/jats_utils.py:from invenio.errorlib import register_exception
harvestingkit/nlm_utils.py:from invenio.errorlib import register_exception
harvestingkit/oup_package.py:from invenio.bibtask import task_low_level_submission
harvestingkit/oup_package.py:from invenio.config import (CFG_TMPSHAREDDIR,
harvestingkit/oup_package.py:from invenio.errorlib import register_exception
harvestingkit/oup_package.py:    from invenio.config import CFG_OXFORD_DOWNLOADDIR
harvestingkit/scoap3utils.py:from invenio.config import CFG_LOGDIR
harvestingkit/scoap3utils.py:from invenio.errorlib import register_exception
harvestingkit/springer_crawler.py:from invenio.refextract_api import extract_references_from_string_xml
harvestingkit/springer_package.py:from invenio.bibtask import task_low_level_submission
harvestingkit/springer_package.py:from invenio.config import (CFG_PREFIX,
harvestingkit/springer_package.py:    from invenio.config import CFG_SPRINGER_DOWNLOADDIR
harvestingkit/springer_package.py:from invenio.errorlib import register_exception
harvestingkit/springer_package.py:from invenio.shellutils import run_shell_command
setup.py:from invenio.config import CFG_PYLIBDIR

@mvesper @GiorgosPa @Dziolas

kaplun commented 6 years ago

harvestingkit has been superseeded by inspirehep/hepcrawl