Skip to content

Commit 63c04ab

Browse files
authored
Add artifacts cmdlets (#166)
* Correct input variable name * Add GetArtifactFeed * Fix package version * Add GetArtifactFeedView * Update Winget manifest * Add new itfs alias * Add group as team admin, add Artifacts initial support (#163) * Remove restriction on adding groups * Add AreaPaths to New-Team * Resume using the latest Azure DevOps SDK * Fix empty return in GetTeamMember and GetTeamAdmin * Fix handling of NoDefaultArea, NoBacklogIteration * Update release notes * Improve error message when using Server scope * Update release notes * Rename TfsQueryMembership to WebApi* * Add Remove-TfsGitBranch cmdlet * Bring back support for long queries * Add artifact feed format * Update release notes * Add FeedView formatting * Add get feed by id * Add Artifact cmdlets * Improve parameter handling * Update artifact formatting * Bump packages version * Update release notes * Add formatting * Improve parameter logging * Enumerate returned collections * Improve "sequence has no elements" message * Adjust argument list * Add GetArtifactVersion * Fix area path handling for new teams * Update release notes * Remove flaky test
1 parent cf05988 commit 63c04ab

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CSharp/TfsCmdlets/Controllers/Team/SetTeamController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected override IEnumerable Run()
132132

133133
var includeChildren = a.Equals("*") || a.EndsWith("\\*") || a.EndsWith("/*");
134134
var path = a.Equals("*") ?
135-
t.TeamField.DefaultValue :
135+
teamFieldPatch.DefaultValue :
136136
NodeUtil.NormalizeNodePath(includeChildren ? a.Substring(0, a.Length - 2) : a, Project.Name, "Areas", includeTeamProject: true);
137137

138138
if (path.IsWildcard())

Docs/ReleaseNotes/2.3.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TfsCmdlets Release Notes
22

3-
## Version 2.3.0 (_02/Apr/2022_)
3+
## Version 2.3.0 (_03/Apr/2022_)
44

55
This release adds initial support for Azure Artifacts and fixes a few bugs related to team membership handling.
66

PS/_Tests/TeamProject.Get-TfsTeamProject.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Describe (($MyInvocation.MyCommand.Name -split '\.')[-3]) {
2020
Get-TfsTeamProject -IncludeDetails | Select-Object -ExpandProperty ProcessTemplate | Sort-Object | Should -Be @('Agile', 'Agile', 'Scrum')
2121
}
2222

23-
It 'Should get deleted projects' {
24-
Get-TfsTeamProject -Deleted | Select-Object -ExpandProperty Name | Sort-Object | Should -Be @('DeletedProject')
25-
}
23+
# It 'Should get deleted projects' {
24+
# Get-TfsTeamProject -Deleted | Select-Object -ExpandProperty Name | Sort-Object | Should -Be @('DeletedProject')
25+
# }
2626

2727
}
2828
}

RELEASENOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TfsCmdlets Release Notes
22

3-
## Version 2.3.0 (_02/Apr/2022_)
3+
## Version 2.3.0 (_03/Apr/2022_)
44

55
This release adds initial support for Azure Artifacts and fixes a few bugs related to team membership handling.
66

0 commit comments

Comments
 (0)