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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adopt-0.4.0.tar.gz.
File metadata
- Download URL: adopt-0.4.0.tar.gz
- Upload date:
- Size: 108.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a5997ebfc6a187b647064be4246ff569a49d10739a6a62a61468642a4eb959e
|
|
| MD5 |
2c93be651fe0b41bba75d2ec1042f6aa
|
|
| BLAKE2b-256 |
f5ec957be0818ff590687f06b0a7b5431326ddc65c9f49abc47fcb6564a05162
|
Provenance
The following attestation bundles were made for adopt-0.4.0.tar.gz:
Publisher:
publish_and_release.yaml on cvandijck/azure-devops-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adopt-0.4.0.tar.gz -
Subject digest:
5a5997ebfc6a187b647064be4246ff569a49d10739a6a62a61468642a4eb959e - Sigstore transparency entry: 175773592
- Sigstore integration time:
-
Permalink:
cvandijck/azure-devops-tools@dd33c29abbd122aff113943ea3c1a669b12aa875 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cvandijck
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_and_release.yaml@dd33c29abbd122aff113943ea3c1a669b12aa875 -
Trigger Event:
push
-
Statement type:
File details
Details for the file adopt-0.4.0-py3-none-any.whl.
File metadata
- Download URL: adopt-0.4.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfdc19c5ae7dbf2760b397804ccd2366dbe1b24e5a27626846daf15a5d65076b
|
|
| MD5 |
b6cc667262afdd34b6857c39e849adc5
|
|
| BLAKE2b-256 |
00f2e153696aead2434638e66c843f66f4766530c40782f9c8fe745d6575ded7
|
Provenance
The following attestation bundles were made for adopt-0.4.0-py3-none-any.whl:
Publisher:
publish_and_release.yaml on cvandijck/azure-devops-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adopt-0.4.0-py3-none-any.whl -
Subject digest:
bfdc19c5ae7dbf2760b397804ccd2366dbe1b24e5a27626846daf15a5d65076b - Sigstore transparency entry: 175773595
- Sigstore integration time:
-
Permalink:
cvandijck/azure-devops-tools@dd33c29abbd122aff113943ea3c1a669b12aa875 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cvandijck
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_and_release.yaml@dd33c29abbd122aff113943ea3c1a669b12aa875 -
Trigger Event:
push
-
Statement type: