Dashboard

Tools to display package information on web pages.

Most implementation is in the views submodule.

Views

Current views:

  • dashboard. Shows all packages, with conda and github information. Available with the skare3-dashboard stand-alone script.

  • test_log. Shows a test log with color highlighting. Only available on web server.

  • test_results. Shows all test results for a given test suite. Available with the skare3-test-dashboard stand-alone script.

  • test_stream. Shows the history of test results for test suites of a given stream label. Only available on web server.

Scripts

skare3-dashboard

Produce a single html page with package information

usage: skare3-dashboard [-h] [-o FILENAME]

Named Arguments

-o

Output file (default: index.html)

Default: index.html

skare3-test-dashboard

Produce a single html page with a test result report

usage: skare3-test-dashboard [-h] [-i FILE_IN] [-o FILE_OUT] [-b]
                             [--log-dir LOG_DIR] [--static-dir STATIC_DIR]

Named Arguments

-i

Directory or JSON file containing all test results. If it is a directory, then it must have a file named all_tests.json.

-o

Name of file to write to. By default, this creates a file named index.html, located in the input directory or the current working directory, depending on whether the ‘-i’ options was given.

-b

Batch mode: do not open a browser window with the result.

Default: False

--log-dir

Default: “.”

--static-dir

Location of static data directory.

Default: “https://cxc.cfa.harvard.edu/mta/ASPECT/skare3/dashboard/static