Skip to content

Command-line tool designed for easy access to Polarion work items, e.g. for metric creation.

License

Notifications You must be signed in to change notification settings

NewTec-GmbH/pyPolarionCli

Repository files navigation

pyPolarionCli

pyPolarionCli is a command-line tool designed for easy access to Polarion work items, e.g. for metric creation.

License Repo Status CI

Overview

overview

More information on the deployment and architecture can be found in the doc folder.

Installation

git clone https://github.com/NewTec-GmbH/pyPolarionCli.git
cd pyPolarionCli
pip install .

Usage

pyPolarionCli [-h] -u <user> -p <password> -s <server_url> [--version] [-v] {command} {command_options}

Flags

Flag Description
--verbose , -v Print full command details before executing the command. Enables logs of type INFO and WARNING.
--version Import a ticket from a JSON file.
--help , -h Show the help message and exit.

Login options

To connect to the Polarion server, provide all credentials via Command Line arguments: - --server <server URL> is required. - ID using --user <user> and --password <password>

Commands

Command Description
search Search for Polarion work items.

Examples

Check out the all the Examples on how to use the pyPolarionCli tool.

Compile into an executable

It is possible to create an executable file that contains the tool and all its dependencies. "PyInstaller" is used for this. Just run the following command on the root of the folder:

pyinstaller --noconfirm --onefile --console --name "pyPolarionCli" --add-data "./pyproject.toml;."  "./src/pyPolarionCli/__main__.py"

Used Libraries

Used 3rd party libraries which are not part of the standard Python package:

  • polarion - Python library for interacting with Polarion - MIT License
  • toml - Parsing TOML - MIT License

Issues, Ideas And Bugs

If you have further ideas or you found some bugs, great! Create an issue or if you are able and willing to fix it by yourself, clone the repository and create a pull request.

License

The whole source code is published under BSD-3-Clause. Consider the different licenses of the used third party libraries too!

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

About

Command-line tool designed for easy access to Polarion work items, e.g. for metric creation.

Topics

Resources

License

Stars

Watchers

Forks

Languages