Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
limbra
limbra
Commits
05509c13
Commit
05509c13
authored
Jan 05, 2021
by
LE GAC Renaud
Browse files
Rename package invenio_tools to store_tools
parent
ec91f68f
Changes
205
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
6 additions
and
114 deletions
+6
-114
controllers/harvest.py
controllers/harvest.py
+4
-4
controllers/wizards.py
controllers/wizards.py
+2
-2
docs/api/generated/invenio_tools.base.ARXIV.rst
docs/api/generated/invenio_tools.base.ARXIV.rst
+0
-6
docs/api/generated/invenio_tools.base.ARXIV_PDF.rst
docs/api/generated/invenio_tools.base.ARXIV_PDF.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_INV_CONF.rst
docs/api/generated/invenio_tools.base.MSG_INV_CONF.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_INV_CONF_KEY.rst
docs/api/generated/invenio_tools.base.MSG_INV_CONF_KEY.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_NO_CONF.rst
docs/api/generated/invenio_tools.base.MSG_NO_CONF.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_NO_CONF_ID_KEY.rst
docs/api/generated/invenio_tools.base.MSG_NO_CONF_ID_KEY.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_NO_COUNTRY.rst
docs/api/generated/invenio_tools.base.MSG_NO_COUNTRY.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_NO_PUBLISHER.rst
docs/api/generated/invenio_tools.base.MSG_NO_PUBLISHER.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_NO_THESIS.rst
docs/api/generated/invenio_tools.base.MSG_NO_THESIS.rst
+0
-6
docs/api/generated/invenio_tools.base.MSG_WELL_FORMED_COLLABORATION.rst
...ated/invenio_tools.base.MSG_WELL_FORMED_COLLABORATION.rst
+0
-6
docs/api/generated/invenio_tools.base.OAI.rst
docs/api/generated/invenio_tools.base.OAI.rst
+0
-6
docs/api/generated/invenio_tools.base.OAI_URL.rst
docs/api/generated/invenio_tools.base.OAI_URL.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_ARXIV_NUMBER.rst
docs/api/generated/invenio_tools.base.REG_ARXIV_NUMBER.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_AUTHOR.rst
docs/api/generated/invenio_tools.base.REG_AUTHOR.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_CONF.rst
docs/api/generated/invenio_tools.base.REG_CONF.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_DATE.rst
docs/api/generated/invenio_tools.base.REG_DATE.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_OAI.rst
docs/api/generated/invenio_tools.base.REG_OAI.rst
+0
-6
docs/api/generated/invenio_tools.base.REG_YEAR.rst
docs/api/generated/invenio_tools.base.REG_YEAR.rst
+0
-6
No files found.
controllers/harvest.py
View file @
05509c13
...
...
@@ -14,15 +14,15 @@ from harvest_tools import (build_harvester_tool,
MsgCollection
,
search_synonym
,
ToolException
)
from
invenio_tools
import
(
load_record
,
OAI_URL
,
RecordConf
,
RecordThesis
)
from
plugin_dbui
import
(
inline_alert
,
Selector
,
to_formPanel
,
UNDEF_ID
)
from
requests.exceptions
import
RequestException
from
store_tools
import
(
load_record
,
OAI_URL
,
RecordConf
,
RecordThesis
)
MODE_DRY_RUN
=
T
(
DRY_RUN
)
MSG_GREMLIN
=
"Oops a gremlin..."
...
...
controllers/wizards.py
View file @
05509c13
...
...
@@ -7,7 +7,7 @@ import re
from
check_tools
import
check_publication
from
gluon.storage
import
Storage
from
harvest_tools
import
DRY_RUN
from
invenio
_tools
import
CdsException
,
load_record
from
store
_tools
import
CdsException
,
load_record
from
plugin_dbui
import
(
CALLBACK_ERRORS
,
get_foreign_field
,
get_id
,
...
...
@@ -435,9 +435,9 @@ def update_citations():
import
datetime
import
requests
from
invenio_tools
import
CdsException
,
InvenioStore
from
json.decoder
import
JSONDecodeError
from
reporting_tools
import
repr_team_project
from
store_tools
import
CdsException
,
InvenioStore
today
=
datetime
.
date
.
today
()
rex_ins
=
re
.
compile
(
r
"https?://inspirehep.net/record/(\d+)"
)
...
...
docs/api/generated/invenio_tools.base.ARXIV.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.ARXIV
========================
.. currentmodule:: invenio_tools.base
.. autodata:: ARXIV
\ No newline at end of file
docs/api/generated/invenio_tools.base.ARXIV_PDF.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.ARXIV_PDF
============================
.. currentmodule:: invenio_tools.base
.. autodata:: ARXIV_PDF
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_INV_CONF.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_INV_CONF
===============================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_INV_CONF
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_INV_CONF_KEY.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_INV_CONF_KEY
===================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_INV_CONF_KEY
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_NO_CONF.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_NO_CONF
==============================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_NO_CONF
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_NO_CONF_ID_KEY.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_NO_CONF_ID_KEY
=====================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_NO_CONF_ID_KEY
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_NO_COUNTRY.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_NO_COUNTRY
=================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_NO_COUNTRY
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_NO_PUBLISHER.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_NO_PUBLISHER
===================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_NO_PUBLISHER
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_NO_THESIS.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_NO_THESIS
================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_NO_THESIS
\ No newline at end of file
docs/api/generated/invenio_tools.base.MSG_WELL_FORMED_COLLABORATION.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.MSG_WELL_FORMED_COLLABORATION
================================================
.. currentmodule:: invenio_tools.base
.. autodata:: MSG_WELL_FORMED_COLLABORATION
\ No newline at end of file
docs/api/generated/invenio_tools.base.OAI.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.OAI
======================
.. currentmodule:: invenio_tools.base
.. autodata:: OAI
\ No newline at end of file
docs/api/generated/invenio_tools.base.OAI_URL.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.OAI_URL
==========================
.. currentmodule:: invenio_tools.base
.. autodata:: OAI_URL
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_ARXIV_NUMBER.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_ARXIV_NUMBER
===================================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_ARXIV_NUMBER
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_AUTHOR.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_AUTHOR
=============================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_AUTHOR
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_CONF.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_CONF
===========================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_CONF
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_DATE.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_DATE
===========================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_DATE
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_OAI.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_OAI
==========================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_OAI
\ No newline at end of file
docs/api/generated/invenio_tools.base.REG_YEAR.rst
deleted
100644 → 0
View file @
ec91f68f
invenio_tools.base.REG_YEAR
===========================
.. currentmodule:: invenio_tools.base
.. autodata:: REG_YEAR
\ No newline at end of file
Prev
1
2
3
4
5
…
11
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment