Skip to content

Commit

Permalink
Move deposit entry points into single class
Browse files Browse the repository at this point in the history
  • Loading branch information
zyzzyxdonta committed Oct 10, 2023
1 parent 705bc81 commit 5959f6f
Show file tree
Hide file tree
Showing 3 changed files with 264 additions and 298 deletions.
33 changes: 2 additions & 31 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,37 +86,8 @@ git = "hermes.commands.process.git:process"
git_add_contributors = "hermes.commands.process.git:add_contributors"
git_add_branch = "hermes.commands.process.git:add_branch"

[tool.poetry.plugins."hermes.deposit.prepare"]
invenio = "hermes.commands.deposit.invenio:prepare"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.map"]
invenio = "hermes.commands.deposit.invenio:map_metadata"
file = "hermes.commands.deposit.file:map_metadata"

[tool.poetry.plugins."hermes.deposit.create_initial_version"]
invenio = "hermes.commands.deposit.invenio:create_initial_version"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.create_new_version"]
invenio = "hermes.commands.deposit.invenio:create_new_version"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.update_metadata"]
invenio = "hermes.commands.deposit.invenio:update_metadata"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.delete_artifacts"]
invenio = "hermes.commands.deposit.invenio:delete_artifacts"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.upload_artifacts"]
invenio = "hermes.commands.deposit.invenio:upload_artifacts"
file = "hermes.commands.deposit.file:dummy_noop"

[tool.poetry.plugins."hermes.deposit.publish"]
invenio = "hermes.commands.deposit.invenio:publish"
file = "hermes.commands.deposit.file:publish"
[tool.poetry.plugins."hermes.deposit"]
invenio = "hermes.commands.deposit.invenio:InvenioDepositPlugin"

[tool.poetry.plugins."hermes.postprocess"]
config_record_id = "hermes.commands.postprocess.invenio:config_record_id"
Expand Down
Loading

0 comments on commit 5959f6f

Please sign in to comment.