Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
14 changes: 10 additions & 4 deletions planemo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1706,12 +1706,18 @@ def database_identifier_argument():
)


def postgres_option_callback(ctx, param, value):
if value:
ctx.fail("The `--postgres` option is deprecated, use `--database_type postgres` instead.")
return value


def postgres_datatype_type_option():
return planemo_option(
return click.option(
"--postgres",
"database_type",
flag_value="postgres",
help=("Use postgres database type."),
is_flag=True,
hidden=True,
callback=postgres_option_callback,
)


Expand Down