Installation

Prerequisites

Python Version

This tool requires Python 3.7 or higher. To check your Python version:

python3 --version

Required Python Packages

The tool uses the following Python standard and third-party libraries:

  • requests - For API calls to SeaLights, Jira, ADO, GitHub, and Confluence

  • Standard library modules: os, re, json, time, logging, argparse, typing, urllib, collections, concurrent.futures

System Requirements

  • Network access - To SeaLights, issue tracker APIs, and source control platforms

Optional (only for certain tagging workflows):

  • Git - Only required if using US_SRC_tag_repos_by_history.py (clones/pulls repositories). Not needed for:

    • SeaLights auto-tagging (recommended approach)

    • GitHub PR-based tagging (US_SRC_tag_repos_by_github_prs.py)

    • Report generation scripts (US_RPT_*)

  • SSH keys - Only if using git-based tagging with private repositories

Platform Support

The tool is platform-independent and runs on:

  • Linux

  • macOS

  • Windows (with Python installed)

Installation Steps

  1. Extract the script package

You will receive the User Story Coverage Tagging scripts as a package from SeaLights. Extract the package to your desired location:

  1. Create a virtual environment (recommended)

  1. Install dependencies

Option 2: Manual installation

If you need to install dependencies manually:

  1. Extract the script package

  1. Install requests library

  1. Verify installation

Option 3: Using virtualenv (Legacy)

For older Python installations that use virtualenv instead of venv:

Verify Installation

Test that the scripts can be executed:

If using a settings-based script:

Expected output should show the script's help text with available options.

Configuration Setup

Before running scripts, you need to create a settings file. See the Configuration Guide for details.

Quick setup:

Git Authentication Setup (Only for Git-Based Tagging)

Skip this section if:

  • You're using SeaLights auto-tagging

  • You're only generating reports (US_RPT_* scripts)

  • You're using GitHub PR-based tagging (doesn't clone repos)

Only needed if:

  • Using US_SRC_tag_repos_by_history.py which clones/pulls repositories

Configure git authentication:

SSH Key Setup

Using SSH Key with Passphrase

For automation with a passphrase-protected key:

Upgrading

To upgrade to the latest version:

  1. Contact your SeaLights Customer Success representative to receive the updated script package

  2. Extract the new package to replace your existing scripts

  3. If dependencies change, reinstall:

Troubleshooting Installation

ImportError: No module named 'requests'

Solution:

Python version too old

If python3 --version shows Python 3.6 or earlier, upgrade Python:

Permission denied errors

If you encounter permission issues:

SSL Certificate errors

If you encounter SSL verification errors during installation:

Next Steps

Last updated

Was this helpful?