Skip to content

Commit

Permalink
Merge pull request #111 from microsoft/users/pnechvatal/V60toV6
Browse files Browse the repository at this point in the history
Changing v60 to v6
  • Loading branch information
nechvatalp authored Dec 1, 2021
2 parents 9b13f23 + 46b3c54 commit 9269abb
Show file tree
Hide file tree
Showing 143 changed files with 209 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
go: [ '1.13', '1.14', '1.17' ]
dir: [ './azuredevops', './azuredevops/v60']
dir: [ './azuredevops', './azuredevops/v6']
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package accounts
import (
"context"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package accounts

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

type Account struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
package aexlicensingrule

import (
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/licensing"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/operations"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/licensing"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/operations"
)

type ApplicationStatus struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"io"
"net/http"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package analytics

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

type AnalyticsState string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"io"
"net/http"
"net/url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package audit

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

// Defines all the categories an AuditAction can be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
"io"
"net/http"
"net/url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ package build

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/distributedtaskcommon"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/git"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/test"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/distributedtaskcommon"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/git"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/test"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

// Represents a queue for running builds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package cix

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/core"
)

type BuildFrameworkDetectionType string
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/testservice"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/testservice"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package comments

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

// Comment on an artifact like Work Item or Wiki, etc.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package commerce

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

// The subscription account namespace. Denotes the 'category' of the account.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package contributions

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/gallery"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/gallery"
)

// Representation of a ContributionNode that can be used for serialized to clients.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/operations"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/operations"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ package core

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/identity"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/identity"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

type ConnectedServiceKind string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package delegatedauthorization

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

type AccessTokenResult struct {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ package extensionmanagement

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/gallery"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/gallery"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

// How the acquisition is assigned
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
"io"
"net/http"
"net/url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package feed

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

type BuildPackage struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package feedtoken
import (
"context"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package feedtoken

import (
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

// A cut-down version of SessionToken that just has what FeedSessionTokenController needs to serve the UI and which actually generates a TypeScript type for the UI to use
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"net/http"
"net/url"
"strconv"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package filecontainer

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
)

// Status of a container item.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"io"
"net/http"
"net/url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package gallery

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

// How the acquisition is assigned
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/policy"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/policy"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
"io"
"net/http"
"net/url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ package git

import (
"github.com/google/uuid"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/policy"
"github.com/microsoft/azure-devops-go-api/azuredevops/v60/webapi"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/core"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/policy"
"github.com/microsoft/azure-devops-go-api/azuredevops/v6/webapi"
)

type AssociatedWorkItem struct {
Expand Down
5 changes: 5 additions & 0 deletions azuredevops/v6/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/microsoft/azure-devops-go-api/azuredevops/v6

go 1.12

require github.com/google/uuid v1.1.1
File renamed without changes.
Loading

0 comments on commit 9269abb

Please sign in to comment.