Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option skip-dependency-checks #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ You can use the tool with the following options:
--allow-folder-id-mismatch allow the addon's folder name and id to mismatch
--reporter enable a reporter, this option can be used multiple times
--enable-debug-log enable debug logging to kodi-addon-checker.log
--skip-dependency-checks do not check if addon dependencies are available in the official Kodi addon repository
```
2 changes: 2 additions & 0 deletions kodi_addon_checker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def main():
action="store_true")
parser.add_argument("--enable-debug-log", help="Enable debug logging to kodi-addon-checker.log",
action="store_true", default=False)
parser.add_argument("--skip-dependency-checks", help="Do not check if addon dependencies are available \
in the official Kodi addon repository", action="store_true", default=False)
ConfigManager.fill_cmd_args(parser)
args = parser.parse_args()

Expand Down
3 changes: 2 additions & 1 deletion kodi_addon_checker/check_addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def start(addon_path, args, all_repo_addons, config=None):

check_url.check_url(addon_report, parsed_xml)

check_dependencies.check_addon_dependencies(addon_report, repo_addons, parsed_xml, args)
if not args.skip_dependency_checks:
check_dependencies.check_addon_dependencies(addon_report, repo_addons, parsed_xml, args)

check_dependencies.check_reverse_dependencies(addon_report, addon_id, args.branch, all_repo_addons)

Expand Down