Esempio n. 1
0
 def dispatch_request(self):
     body_title = "Available Jobs"
     search_filter, page_len = get_search_parameters(request)
     return render_template(
         "jobs-all.html",
         body_title=body_title,
         page_len=page_len,
         page_title=self.JOB_PAGES_TITLE,
         search_filter=search_filter
     )
Esempio n. 2
0
 def dispatch_request(self):
     body_title = "Available Jobs"
     search_filter, page_len = get_search_parameters(request)
     return render_template("base-all.html",
                            table_id="jobstable",
                            data_main="kci-jobs-all",
                            body_title=body_title,
                            page_len=page_len,
                            page_title=self.JOB_PAGES_TITLE,
                            search_filter=search_filter)
Esempio n. 3
0
 def dispatch_request(self, **kwargs):
     body_title = "Details for «%s»" % kwargs["job"]
     search_filter, page_len = get_search_parameters(request)
     return render_template(
         "jobs-job.html",
         body_title=body_title,
         job=kwargs["job"],
         page_len=page_len,
         page_title=self.PAGE_TITLE,
         search_filter=search_filter
     )
Esempio n. 4
0
    def dispatch_request(self):
        body_title = "Available Test Suite Reports"
        search_filter, page_len = get_search_parameters(request)

        return render_template("base-all.html",
                               table_id="tests-table",
                               data_main="kci-tests-all",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=self.TESTS_PAGE_TITLE,
                               search_filter=search_filter)
Esempio n. 5
0
    def dispatch_request(self):
        body_title = "Tests by build Report"
        search_filter, page_len = get_search_parameters(request)

        return render_template("base-all.html",
                               table_id="releases-table",
                               data_main="kci-releases-all",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=self.TESTS_PAGE_TITLE,
                               search_filter=search_filter)
Esempio n. 6
0
    def dispatch_request(self, *args, **kwargs):
        body_title = u"Available Builds"
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "builds-all.html",
            page_len=page_len,
            page_title=self.BUILD_PAGES_TITLE,
            body_title=body_title,
            search_filter=search_filter,
        )
Esempio n. 7
0
    def dispatch_request(self):

        body_title = "Available Boot Reports"
        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-all.html",
                               table_id="bootstable",
                               data_main="kci-boots-all",
                               page_len=page_len,
                               page_title=self.BOOT_PAGES_TITLE,
                               body_title=body_title,
                               search_filter=search_filter)
Esempio n. 8
0
    def dispatch_request(self):

        body_title = "Available Boot Reports"
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-all.html",
            page_len=page_len,
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            search_filter=search_filter
        )
Esempio n. 9
0
    def dispatch_request(self):
        body_title = "Available Test Group Reports"
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "base-all.html",
            table_id="tests-table",
            data_main="kci-tests-all",
            body_title=body_title,
            page_len=page_len,
            page_title=self.TESTS_PAGE_TITLE,
            search_filter=search_filter
        )
Esempio n. 10
0
    def dispatch_request(self, *args, **kwargs):
        body_title = u"Available Builds"
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "base-all.html",
            table_id="builds-table",
            data_main="kci-builds-all",
            page_len=page_len,
            page_title=self.BUILD_PAGES_TITLE,
            body_title=body_title,
            search_filter=search_filter,
        )
Esempio n. 11
0
    def dispatch_request(self):
        body_title = "Available SoCs"
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "base-all.html",
            table_id="socs-table",
            data_main="kci-socs-all",
            body_title=body_title,
            page_len=page_len,
            page_title=self.SOC_PAGES_TITLE,
            search_filter=search_filter
        )
Esempio n. 12
0
    def dispatch_request(self, **kwargs):
        kernel = kwargs["kernel"]

        body_title = "Test suites by board for Version «" + kernel + "»"
        search_filter, page_len = get_search_parameters(request)

        return render_template("base-all.html",
                               table_id="release-table",
                               data_main="kci-releases-kernel",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=self.TESTS_PAGE_TITLE,
                               search_filter=search_filter)
Esempio n. 13
0
    def dispatch_request(self, **kwargs):

        job = kwargs["job"]
        body_title = "Boot details for «%s»" % job
        body_title += self.RSS_LINK % ("/boot/all/job/" + job + "/feed.xml")

        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-job.html",
                               page_title=self.BOOT_PAGES_TITLE,
                               body_title=body_title,
                               job_name=job,
                               search_filter=search_filter,
                               page_len=page_len)
Esempio n. 14
0
    def dispatch_request(self, **kwargs):
        job = kwargs.get("job")
        kernel = kwargs.get("kernel")

        body_title = (
            "Boot Reports: «{:s}» ‐ ".format(job))

        search_filter, _ = get_search_parameters(request)

        return render_template("boots-job-kernel.html",
                               page_title=self.BOOT_PAGES_TITLE,
                               body_title=body_title,
                               job=job,
                               kernel=kernel,
                               search_filter=search_filter)
Esempio n. 15
0
    def dispatch_request(self, **kwargs):
        job = kwargs["job"]

        body_title = "Details for «%s»" % job
        body_title += self.RSS_LINK % ("/job/" + job + "/feed.xml")

        page_title = "%s — «%s» job" % (self.PAGE_TITLE, job)
        search_filter, page_len = get_search_parameters(request)

        return render_template("jobs-job.html",
                               body_title=body_title,
                               job=job,
                               page_len=page_len,
                               page_title=page_title,
                               search_filter=search_filter)
Esempio n. 16
0
    def dispatch_request(self, **kwargs):
        body_title = (
            "Boot reports for «%(job)s ‐ %(kernel)s»"
            "&nbsp;<small>(%(board)s)</small>" % kwargs)

        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-board-job-kernel.html",
                               page_title=self.BOOT_PAGES_TITLE,
                               body_title=body_title,
                               job=kwargs["job"],
                               kernel=kwargs["kernel"],
                               board=kwargs["board"],
                               page_len=page_len,
                               search_filter=search_filter)
Esempio n. 17
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]
        body_title = \
            "Boot reports for board&nbsp;&#171;%s&#187;" % board
        body_title += \
            self.RSS_LINK % ("/boot/" + board + "/feed.xml")

        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-board.html",
                               page_title=self.BOOT_PAGES_TITLE,
                               body_title=body_title,
                               board=board,
                               page_len=page_len,
                               search_filter=search_filter)
Esempio n. 18
0
    def dispatch_request(self, **kwargs):

        page_title = self.BOOT_PAGES_TITLE + ""
        body_title = ("Boot Reports for &#171;%(job)s - %(kernel)s&#187;&nbsp;"
                      "<small>(%(defconfig)s)</small>" % kwargs)
        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-all-job-kernel-defconfig.html",
                               page_title=page_title,
                               body_title=body_title,
                               job=kwargs["job"],
                               kernel=kwargs["kernel"],
                               defconfig=kwargs["defconfig"],
                               search_filter=search_filter,
                               page_len=page_len)
Esempio n. 19
0
    def dispatch_request(self, **kwargs):
        body_title = (
            "Boot Reports: &#171;{job:s}&#187;&nbsp;"
            "<small>({branch:s})</small>").format(**kwargs)

        search_filter, _ = get_search_parameters(request)

        return render_template(
            "boots-all-jb.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            job=kwargs["job"],
            branch=kwargs["branch"],
            search_filter=search_filter
        )
Esempio n. 20
0
    def dispatch_request(self, **kwargs):
        kernel = kwargs["kernel"]
        board = kwargs["board"]

        body_title = "All Test Cases for Version &#171;<span rel='tooltip' data-toggle='tooltip' title='' data-original-title='Go back to " + kernel + " kernel'><a href='/test-build/kernel/" + kernel + "/'>" + kernel + "</a></span>&#187; for board &#171;" + board + "&#187;"

        search_filter, page_len = get_search_parameters(request)

        return render_template("base-all.html",
                               table_id="release-table",
                               data_main="kci-releases-kernel-board",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=self.TESTS_PAGE_TITLE,
                               search_filter=search_filter)
Esempio n. 21
0
    def dispatch_request(self, **kwargs):

        lab_name = kwargs["lab_name"]
        body_title = ("Boot reports for lab&nbsp;&#171;%s&#187;" % lab_name)
        body_title += \
            self.RSS_LINK % ("/boot/all/lab/" + lab_name + "/feed.xml")
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, body_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template("boots-lab.html",
                               page_title=page_title,
                               body_title=body_title,
                               lab_name=lab_name,
                               page_len=page_len,
                               search_filter=search_filter)
Esempio n. 22
0
    def dispatch_request(self, **kwargs):
        body_title = (
            "Boot reports for board&nbsp;&#171;%(board)s&#187;" %
            kwargs
        )

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-board.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            board=kwargs["board"],
            page_len=page_len,
            search_filter=search_filter
        )
Esempio n. 23
0
    def dispatch_request(self, **kwargs):

        job = kwargs["job"]
        body_title = "Boot details for&nbsp;&#171;%s&#187;" % job
        body_title += self.RSS_LINK % ("/boot/all/job/" + job + "/feed.xml")

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-job.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            job_name=job,
            search_filter=search_filter,
            page_len=page_len
        )
Esempio n. 24
0
    def dispatch_request(self, **kwargs):
        job = kwargs.get("job")
        kernel = kwargs.get("kernel")

        body_title = (
            "Boot Reports: &#171;{:s}&#187;&nbsp;&dash;&nbsp;".format(job))

        search_filter, _ = get_search_parameters(request)

        return render_template(
            "boots-job-kernel.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            job=job,
            kernel=kernel,
            search_filter=search_filter
        )
Esempio n. 25
0
    def dispatch_request(self, **kwargs):
        job = kwargs["job"]

        body_title = "Details for&nbsp;&#171;%s&#187;" % job
        body_title += self.RSS_LINK % ("/job/" + job + "/feed.xml")

        page_title = "%s &mdash; &#171;%s&#187; job" % (self.PAGE_TITLE, job)
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "jobs-job.html",
            body_title=body_title,
            job=job,
            page_len=page_len,
            page_title=page_title,
            search_filter=search_filter
        )
Esempio n. 26
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]
        body_title = \
            "Boot reports for board&nbsp;&#171;%s&#187;" % board
        body_title += \
            self.RSS_LINK % ("/boot/" + board + "/feed.xml")

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-board.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            board=board,
            page_len=page_len,
            search_filter=search_filter
        )
Esempio n. 27
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]

        body_title = "Test details for board &#171;%s&#187;" % board
        body_title += self.RSS_LINK % ("/test/board/" + board + "/feed.xml")

        page_title = "%s tests" % board
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template("tests-board.html",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=page_title,
                               search_filter=search_filter,
                               board=board)
Esempio n. 28
0
    def dispatch_request(self, **kwargs):
        soc = kwargs["soc"]

        body_title = "Details for SoC &#171;%s&#187;" % soc
        body_title += self.RSS_LINK % ("/soc/" + soc + "/feed.xml")

        page_title = "%s SoC" % soc
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template("socs-soc.html",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=page_title,
                               search_filter=search_filter,
                               soc=soc)
Esempio n. 29
0
    def dispatch_request(self, **kwargs):

        lab_name = kwargs["lab_name"]
        body_title = (
            "Boot reports for lab&nbsp;&#171;%s&#187;" % lab_name)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, body_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-lab.html",
            page_title=page_title,
            body_title=body_title,
            lab_name=lab_name,
            page_len=page_len,
            search_filter=search_filter
        )
Esempio n. 30
0
    def dispatch_request(self, **kwargs):
        body_title = (
            "Boot reports for&nbsp;&#171;%(job)s &dash; %(kernel)s&#187;"
            "&nbsp;<small>(%(board)s)</small>" %
            kwargs
        )

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-board-job-kernel.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            job=kwargs["job"],
            kernel=kwargs["kernel"],
            board=kwargs["board"],
            page_len=page_len,
            search_filter=search_filter
        )
Esempio n. 31
0
    def dispatch_request(self, **kwargs):

        page_title = self.BOOT_PAGES_TITLE + ""
        body_title = (
            "Boot reports for &#171;%(job)s - %(kernel)s&#187;&nbsp;"
            "<small>(%(defconfig)s)</small>" % kwargs
        )
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-all-job-kernel-defconfig.html",
            page_title=page_title,
            body_title=body_title,
            job=kwargs["job"],
            kernel=kwargs["kernel"],
            defconfig=kwargs["defconfig"],
            search_filter=search_filter,
            page_len=page_len
        )
Esempio n. 32
0
    def dispatch_request(self, **kwargs):
        job = kwargs["job"]
        kernel = kwargs["kernel"]

        body_title = (
            "Boot details for&nbsp;&#171;%s&#187;&nbsp;&dash;&nbsp;%s" %
            (job, kernel)
        )

        search_filter, _ = get_search_parameters(request)

        return render_template(
            "boots-job-kernel.html",
            page_title=self.BOOT_PAGES_TITLE,
            body_title=body_title,
            job=job,
            kernel=kernel,
            search_filter=search_filter
        )
Esempio n. 33
0
    def dispatch_request(self, **kwargs):
        soc = kwargs["soc"]

        body_title = "Details for SoC &#171;%s&#187;" % soc
        body_title += self.RSS_LINK % ("/soc/" + soc + "/feed.xml")

        page_title = "%s SoC" % soc
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "socs-soc.html",
            body_title=body_title,
            page_len=page_len,
            page_title=page_title,
            search_filter=search_filter,
            soc=soc
        )
Esempio n. 34
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]

        body_title = "Test details for board &#171;%s&#187;" % board
        body_title += self.RSS_LINK % ("/test/board/" + board + "/feed.xml")

        page_title = "%s tests" % board
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "tests-board.html",
            body_title=body_title,
            page_len=page_len,
            page_title=page_title,
            search_filter=search_filter,
            board=board
        )
Esempio n. 35
0
    def dispatch_request(self, **kwargs):
        job = kwargs["job"]
        old_branch_name = kwargs["branch"]
        branch_name = old_branch_name.replace(":", "/")

        body_title = "Details for &#171;%s&#187; <small>(%s)</small>" % (
            job, branch_name)
        body_title += self.RSS_LINK % \
            ("/job/" + job + "/branch/" + old_branch_name + "/feed.xml")

        page_title = ("%s &mdash; &#171;%s&#187; job (branch %s)" %
                      (self.PAGE_TITLE, job, branch_name))
        search_filter, page_len = get_search_parameters(request)

        return render_template("jobs-job-branch.html",
                               body_title=body_title,
                               branch_name=branch_name,
                               job_name=job,
                               page_title=page_title)
Esempio n. 36
0
    def dispatch_request(self, **kwargs):

        page_title = self.BOOT_PAGES_TITLE + ""
        body_title = (
            "Boot Reports: &#171;{job} &ndash; {kernel}&#187;&nbsp;"
            "<small>({defconfig})</small>".format(**kwargs)
        )
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-all-job-kernel-defconfig.html",
            page_title=page_title,
            body_title=body_title,
            job=kwargs["job"],
            kernel=kwargs["kernel"],
            defconfig=kwargs["defconfig"],
            search_filter=search_filter,
            page_len=page_len
        )
Esempio n. 37
0
    def dispatch_request(self, **kwargs):

        lab_name = kwargs["lab_name"]
        common_title = (
            "Boot reports for lab&nbsp;&#171;%s&#187;" % lab_name)

        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, common_title)
        body_title = common_title + self.RSS_LINK % (
            "/boot/all/lab/" + lab_name + "/feed.xml")

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "boots-lab.html",
            page_title=page_title,
            body_title=body_title,
            lab_name=lab_name,
            page_len=page_len,
            search_filter=search_filter
        )
Esempio n. 38
0
    def dispatch_request(self, **kwargs):
        soc, job, kernel, plan = (
            kwargs[k] for k in ['soc', 'job', 'kernel', 'plan'])
        body_title = (
            "Details SoC &#171;%s&#187; for Tree &#171;%s&#187; - %s" % (soc, job, kernel))
        page_title = "%s SoC: %s - %s" % (soc, job, kernel)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter = get_search_parameters(request)

        return render_template(
            "socs-soc-job-kernel-plan.html",
            body_title=body_title,
            page_title=page_title,
            soc=soc,
            job=job,
            kernel=kernel,
            plan=plan,
            search_filter=search_filter[0]
        )
Esempio n. 39
0
    def dispatch_request(self, **kwargs):
        soc = kwargs["soc"]
        job = kwargs["job"]

        body_title = "Details for Tree &#171;%s&#187;" % job
        body_title += \
            self.RSS_LINK % ("/soc/" + soc + "/job/" + job + "/feed.xml")

        page_title = "%s SoC: %s" % (soc, job)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template("socs-soc-job.html",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=page_title,
                               search_filter=search_filter,
                               soc=soc,
                               job=job)
Esempio n. 40
0
    def dispatch_request(self, **kwargs):
        soc = kwargs["soc"]
        job = kwargs["job"]
        kernel = kwargs["kernel"]

        body_title = (
            "Details SoC &#171;%s&#187; for Tree &#171;%s&#187; - %s" % (soc, job, kernel))
        page_title = "%s SoC: %s - %s" % (soc, job, kernel)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter = get_search_parameters(request)

        return render_template(
            "socs-soc-job-kernel.html",
            body_title=body_title,
            page_title=page_title,
            soc=soc,
            job=job,
            kernel=kernel,
            search_filter=search_filter[0]
        )
Esempio n. 41
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]
        job = kwargs["job"]

        body_title = "Details for Tree &#171;%s&#187;" % job
        body_title += \
            self.RSS_LINK % \
            ("/test/board/" + board + "/job/" + job + "/feed.xml")

        page_title = "%s tests: %s" % (board, job)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template("tests-board-job.html",
                               body_title=body_title,
                               page_len=page_len,
                               page_title=page_title,
                               search_filter=search_filter,
                               board=board,
                               job=job)
Esempio n. 42
0
    def dispatch_request(self, **kwargs):
        job = kwargs["job"]
        old_branch_name = kwargs["branch"]
        branch_name = old_branch_name.replace(":", "/")

        body_title = "Details for &#171;%s&#187; <small>(%s)</small>" % (
            job, branch_name)
        body_title += self.RSS_LINK % \
            ("/job/" + job + "/branch/" + old_branch_name + "/feed.xml")

        page_title = (
            "%s &mdash; &#171;%s&#187; job (branch %s)" %
            (self.PAGE_TITLE, job, branch_name))
        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "jobs-job-branch.html",
            body_title=body_title,
            branch_name=branch_name,
            job_name=job,
            page_title=page_title
        )
Esempio n. 43
0
    def dispatch_request(self, **kwargs):
        soc = kwargs["soc"]
        job = kwargs["job"]

        body_title = "Details for Tree &#171;%s&#187;" % job
        body_title += \
            self.RSS_LINK % ("/soc/" + soc + "/job/" + job + "/feed.xml")

        page_title = "%s SoC: %s" % (soc, job)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "socs-soc-job.html",
            body_title=body_title,
            page_len=page_len,
            page_title=page_title,
            search_filter=search_filter,
            soc=soc,
            job=job
        )
Esempio n. 44
0
    def dispatch_request(self, **kwargs):
        board = kwargs["board"]
        job = kwargs["job"]

        body_title = "Details for Tree &#171;%s&#187;" % job
        body_title += \
            self.RSS_LINK % \
            ("/test/board/" + board + "/job/" + job + "/feed.xml")

        page_title = "%s tests: %s" % (board, job)
        page_title = "%s &mdash; %s" % (self.PAGE_TITLE, page_title)

        search_filter, page_len = get_search_parameters(request)

        return render_template(
            "tests-board-job.html",
            body_title=body_title,
            page_len=page_len,
            page_title=page_title,
            search_filter=search_filter,
            board=board,
            job=job
        )