colrev.review_manager.ReviewManager¶
- class ReviewManager(*, path_str=None, force_mode=False, verbose_mode=False, high_level_operation=False, navigate_to_home_dir=True, exact_call='', skip_upgrade=True)[source]¶
Bases:
object
Class for managing individual CoLRev review project (repositories)
Methods
Check the repository
Check the repository setup
Get an advisor object
Get a cached session
Get a checker object
Get the CoLRev versions
Get the committer name and email
Get the completeness condition
Get a (connecting) ReviewManager object for another CoLRev repository
Get a data operation object
Get a dedupe operation object
Get a distribute operation object
Get an environment manager
Get a grobid service object
Get a load operation object
return loggers
Get a merge object
Get a package manager object
Get a pdf-get-man operation object
Get a pdf-get operation object
Get a pdf-prep-man operation object
Get a pdfprep operation object
Get the PDF quality model
Get a prep-man operation object
Get a prep operation object
Get a prescreen operation object
Get a pull operation object
Get a push operation object
Get the quality model
Get a a remove object
Get a a repare object
Get a resources object
Get a screen operation object
Get a search operation object
Get a status operation object
Get a status stats object
Get a tei object
Get a trace operation object
Get an upgrade object
Get a validate operation object
Check whether CoLRev runs in a continuous-integration environment
Check whether CoLRev runs in a test environment
Check whether CoLRev operates in a virtual environment
Load the settings
Append commit-message report if not already available (Entrypoint for pre-commit hooks)
Reset the report logger
Save the settings
Check whether sharing requirements are met (Entrypoint for pre-commit hooks)
Update review_manager's state
Update the STATUS_FILE
Attributes
ReviewManager was notified for the upcoming process and will provide access to the Dataset
shell_mode
The review dataset object
Path of the project repository
Force mode variable (bool)
Verbose mode variable (bool)
A high-level operation was called (bool)
- force_mode¶
Force mode variable (bool)
- get_connecting_review_manager(*, path_str=None, force_mode=False, verbose_mode=False)[source]¶
Get a (connecting) ReviewManager object for another CoLRev repository
- Return type:
- get_data_operation(*, notify_state_transition_operation=True)[source]¶
Get a data operation object
- Return type:
- get_dedupe_operation(*, notify_state_transition_operation=True)[source]¶
Get a dedupe operation object
- Return type:
- get_load_operation(notify_state_transition_operation=True, hide_load_explanation=False)[source]¶
Get a load operation object
- Return type:
- get_pdf_get_man_operation(*, notify_state_transition_operation=True)[source]¶
Get a pdf-get-man operation object
- Return type:
- get_pdf_get_operation(*, notify_state_transition_operation=True)[source]¶
Get a pdf-get operation object
- Return type:
- get_pdf_prep_man_operation(*, notify_state_transition_operation=True)[source]¶
Get a pdf-prep-man operation object
- Return type:
- get_pdf_prep_operation(*, reprocess=False, notify_state_transition_operation=True)[source]¶
Get a pdfprep operation object
- Return type:
- get_prep_man_operation(*, notify_state_transition_operation=True)[source]¶
Get a prep-man operation object
- Return type:
- get_prep_operation(*, notify_state_transition_operation=True, polish=False, cpu=4, debug=False)[source]¶
Get a prep operation object
- Return type:
- get_prescreen_operation(*, notify_state_transition_operation=True)[source]¶
Get a prescreen operation object
- Return type:
- get_screen_operation(*, notify_state_transition_operation=True)[source]¶
Get a screen operation object
- Return type:
- get_search_operation(*, notify_state_transition_operation=True)[source]¶
Get a search operation object
- Return type:
- high_level_operation¶
A high-level operation was called (bool)
- classmethod in_ci_environment()[source]¶
Check whether CoLRev runs in a continuous-integration environment
- Return type:
bool
- classmethod in_test_environment()[source]¶
Check whether CoLRev runs in a test environment
- Return type:
bool
- notified_next_operation = None¶
ReviewManager was notified for the upcoming process and will provide access to the Dataset
-
path:
Path
¶ Path of the project repository
- report(*, msg_file)[source]¶
Append commit-message report if not already available (Entrypoint for pre-commit hooks)
- Return type:
None
- sharing()[source]¶
Check whether sharing requirements are met (Entrypoint for pre-commit hooks)
- Return type:
dict
- update_config(*, force_mode=False, verbose_mode=False, high_level_operation=False, exact_call='')[source]¶
Update review_manager’s state
- Return type:
None
- update_status_yaml(*, add_to_git=True, records=None)[source]¶
Update the STATUS_FILE
- Return type:
None
- verbose_mode¶
Verbose mode variable (bool)