Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Add support of Azure DevOps version 5.0 / 5.1 #20

Closed
@jfthuong

Description

@jfthuong

Module vsts for VSTS / TFS has been replaced by azure-devops (https://github.com/Microsoft/azure-devops-python-api) with versions 5.0 and 5.1 of the API.

The code has been reworked; for example, the following:

from vsts.vss_connection import VssConnection
connection = VssConnection(base_url=team_instance, creds=credentials)
core_client = connection.get_client('vsts.core.v4_0.core_client.CoreClient')

has been replaced by:

from azure.devops.connection import Connection
connection = Connection(base_url=organization_url, creds=credentials)
core_client = connection.clients.get_core_client()

It should be considered to have both versions available in the example (and set via a variable in the configuration). Or at least the latest version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions