Skip to content

itkdb

Top-level pass-through.

Usage:

itkdb [OPTIONS] COMMAND [ARGS]...

Options:

  --version            Show the version and exit.
  --access-code1 TEXT
  --access-code2 TEXT
  --auth-url TEXT      [default: https://uuidentity.plus4u.net/uu-oidc-
                       maing02/bb977a99f4cc4c37a2afce3fd599d0a7/oidc/]
  --site-url TEXT      [default: https://itkpd-test.unicorncollege.cz/]
  --save-auth PATH     Filename to save authenticated user to for persistence
                       between requests
  --help               Show this message and exit.

itkdb add-attachment

Add an attachment to a component.

Usage:

itkdb add-attachment [OPTIONS]

Options:

  --component TEXT        Component code or component serial number
                          [required]
  --title TEXT            Short description  [required]
  -d, --description TEXT  Description of attachment  [required]
  -f, --file PATH         File to attach  [required]
  --filename TEXT         If specified, override filename of attachment
  --file-type TEXT        The type of the file being uploaded
  --help                  Show this message and exit.

itkdb add-comment

Add a comment to a component.

Usage:

itkdb add-comment [OPTIONS]

Options:

  --component TEXT    Component code or component serial number  [required]
  -m, --message TEXT  Comment to add to component  [required]
  --help              Show this message and exit.

itkdb authenticate

Authenticate using the provided access codes (environment variable or command line).

Usage:

itkdb authenticate [OPTIONS]

Options:

  --help  Show this message and exit.

itkdb eos

Actions for interacting with EOS.

Added in version 0.5.0

Usage:

itkdb eos [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

itkdb eos delete

Delete a path from EOS.

Added in version 0.5.0

Usage:

itkdb eos delete [OPTIONS]

Options:

  -t, --token TEXT  Token for interacting with EOS  [required]
  -p, --path TEXT   Path on EOS to delete  [required]
  --help            Show this message and exit.

itkdb eos upload

Upload to a path on EOS.

Added in version 0.5.0

Usage:

itkdb eos upload [OPTIONS]

Options:

  -t, --token TEXT  Token for interacting with EOS  [required]
  -p, --path TEXT   Path on EOS to upload to  [required]
  -f, --file PATH   File to attach  [required]
  --help            Show this message and exit.

itkdb get-component-info

Get information about a component.

Usage:

itkdb get-component-info [OPTIONS]

Options:

  --component TEXT  Component code or component serial number  [required]
  --help            Show this message and exit.

itkdb list-all-attachments

List all attachments physically stored in the ITk Production Database.

Usage:

itkdb list-all-attachments [OPTIONS]

Options:

  --help  Show this message and exit.

itkdb list-component-types

List component types for a project.

Usage:

itkdb list-component-types [OPTIONS]

Options:

  --project TEXT  Project  [default: S]
  --help          Show this message and exit.

itkdb list-components

List components registered for a given component type.

Usage:

itkdb list-components [OPTIONS]

Options:

  --project TEXT         Project  [default: S]
  --component-type TEXT  Code for the type of component to query. Run list-
                         component-types to find what types are available.
  --help                 Show this message and exit.

itkdb list-institutes

List all institutions.

Usage:

itkdb list-institutes [OPTIONS]

Options:

  --help  Show this message and exit.

itkdb list-projects

List the projects.

Usage:

itkdb list-projects [OPTIONS]

Options:

  --help  Show this message and exit.

itkdb list-test-types

List the test types for a component type.

Usage:

itkdb list-test-types [OPTIONS]

Options:

  --project TEXT         Project  [default: S]
  --component-type TEXT  Code for the type of component to query. Run list-
                         component-types to find what types are available.
  --help                 Show this message and exit.

itkdb stats

List overall statistics for ITk Production Database.

Usage:

itkdb stats [OPTIONS]

Options:

  --help  Show this message and exit.

itkdb summary

Summarize some information about institutions, component types, and test types per component.

Usage:

itkdb summary [OPTIONS]

Options:

  --project TEXT  Project  [default: S]
  --help          Show this message and exit.