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
3 changes: 2 additions & 1 deletion kcidev/libs/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import re

import requests
from libs.common import kci_err

from kcidev.libs.common import kci_err

INVALID_FILE_CHARS = re.compile(r'[\\/:"*?<>|]+')

Expand Down
3 changes: 1 addition & 2 deletions kcidev/libs/git_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
import subprocess
import urllib

from libs.dashboard import dashboard_fetch_tree_list

from kcidev.libs.common import *
from kcidev.libs.dashboard import dashboard_fetch_tree_list


def repository_url_cleaner(url):
Expand Down
11 changes: 6 additions & 5 deletions kcidev/subcommands/results/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@
from functools import wraps

import click
from libs.dashboard import (

from kcidev.libs.dashboard import (
dashboard_fetch_boots,
dashboard_fetch_build,
dashboard_fetch_builds,
dashboard_fetch_summary,
dashboard_fetch_test,
dashboard_fetch_tests,
)
from libs.git_repo import set_giturl_branch_commit
from subcommands.results.hardware import hardware
from subcommands.results.options import (
from kcidev.libs.git_repo import set_giturl_branch_commit
from kcidev.subcommands.results.hardware import hardware
from kcidev.subcommands.results.options import (
builds_and_tests_options,
common_options,
results_display_options,
single_build_and_test_options,
)
from subcommands.results.parser import (
from kcidev.subcommands.results.parser import (
cmd_builds,
cmd_list_trees,
cmd_single_build,
Expand Down
7 changes: 4 additions & 3 deletions kcidev/subcommands/results/hardware.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import click
from libs.dashboard import (

from kcidev.libs.dashboard import (
dashboard_fetch_hardware_list,
dashboard_fetch_hardware_summary,
)
from subcommands.results.options import results_display_options
from subcommands.results.parser import cmd_hardware_list, cmd_summary
from kcidev.subcommands.results.options import results_display_options
from kcidev.subcommands.results.parser import cmd_hardware_list, cmd_summary


@click.group(chain=True, help="Get hardware related information from the dashboard")
Expand Down
4 changes: 2 additions & 2 deletions kcidev/subcommands/results/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

import requests
import yaml
from libs.dashboard import dashboard_fetch_tree_list
from libs.files import download_logs_to_file

from kcidev.libs.common import *
from kcidev.libs.dashboard import dashboard_fetch_tree_list
from kcidev.libs.files import download_logs_to_file


def print_summary(type, n_pass, n_fail, n_inconclusive):
Expand Down