Skip to main content

Set of pragmatic tools to automate working with Azure Devops

Project description

azure-devops-tools

Set of practical tools to automate working with Azure Devops

More information can be found on the project's website.

Installation

The preferred way to install adopt to use as a global CLI tool is to install it via uv and run it via uvx, the pipx variant for the uv package manager.

If you don't have uv and uvx installed yet, you can install it by running:

winget install --id=astral-sh.uv

or by following the instructions on the uv website.

After installing uv, you can install adopt as a uv tool by running:

uv tool install adopt

and then run the tool by running:

uvx adopt

Alternatively, you can install adopt as a CLI tool using pip or globally using pipx:

python -m pip install adopt

Or install it as a global CLI tool using pipx:

pipx install adopt

Getting Started

Adopt is developed as a CLI tool to easily manage your Azure Devops project. The tool is actively being developed and tools are continuously being added.

You can discover which tools are available by displaying the help page of the console script:

adopt --help

Backlog

These CLI tools help to manage your different backlogs in Azure Devops.

Print

Get a nicely formatted overview of your backlog in your terminal.

adopt backlog print --url <azure_devops_org_url> --token <azure_devops_personal_token> --project <azure_devops_project> --team <azure_devops_team> --category <azure_devops_work_item_category>

Sort

Tired of cleaning up your backlog by dragging work items each time you had a backlog refinement or planning session? With this short command you can automatically sort the backlog following the specific order you like.

adopt backlog print --url <azure_devops_org_url> --token <azure_devops_personal_token> --project <azure_devops_project> --team <azure_devops_team> --category <azure_devops_work_item_category> --sort_key <azure_devops_work_item_field>

The --sort_key argument determines the order in which the work items will be sorted in the backlog. The value of the --sort_key argument should be a string of characters, where each character represents a field of the work item. The order of the characters in the string determines the order in which the work items will be sorted. In lower case, an acending order is used. When capitalized, the item will be sorted in descending order. The following characters are supported:

i : Iteration path

p : Priority

t : Title

r : Rank

For example, the default sorting key Iprt command will sort the work items in the backlog first by iteration path in descending order (bringing the latest iteration on top), then followed by priority, parent rank and title in ascending order, bringing highest prio work items to the top, with additional sorting by parent item ranking and finally title.

Debug logging

Each command has logging functionality built in. The level of logging can be set by using the --log-level argument. The default log level is INFO.

Configuration

Coming soon

Contribute

In adopt, the incredibly fast package manager uv is used to setup and manage the project. To get started with the project, you can install uv by running:

winget install --id=astral-sh.uv

or by following the instructions on the uv website.

After installing uv, you can setup the project by running:

uv sync

For convenience, most operations required to contribute or manage this project are available as make commands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adopt-0.2.2.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adopt-0.2.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file adopt-0.2.2.tar.gz.

File metadata

  • Download URL: adopt-0.2.2.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for adopt-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1d533b37646b3196376676b363a4f3bd2e1f88bd153a2eff876be6045d6d17c7
MD5 8a4094abb4dc6198c8ada025cb5a5315
BLAKE2b-256 f4c35668116ecc7dffff30766f33f2c77218b2397b0cce195ab51cd15e3b37d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for adopt-0.2.2.tar.gz:

Publisher: publish_and_release.yaml on cvandijck/azure-devops-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adopt-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: adopt-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for adopt-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1af8fcd0852f6016bb12a32225b966173bb105928a702539257778ef8652621d
MD5 0b7f6471d309e3e0c7ae1afa1c24af37
BLAKE2b-256 b8616557b21a3e762ef74a8a8683718ef6c25191e0959b6b31bdcea5c376a629

See more details on using hashes here.

Provenance

The following attestation bundles were made for adopt-0.2.2-py3-none-any.whl:

Publisher: publish_and_release.yaml on cvandijck/azure-devops-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page