Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded Matrin's Tool and Simplified Documentation #32

Merged
merged 11 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ado-migration-process-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Clean Azure DevOps Migration Tools Log Directory
- name: Clean Azure DevOps Migration Tools Log and Attachments Directory
shell: pwsh
run: |
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}/logs" -Recurse | Remove-Item -Recurse

Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}\\WorkItemAttachmentWorkingFolder" -Recurse | Remove-Item -Recurse
- name: Set Migration Configuration
shell: pwsh
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ado-migration-process-partial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Clean Azure DevOps Migration Tools Log Directory
- name: Clean Azure DevOps Migration Tools Log and Attachments Directory
shell: pwsh
run: |
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}/logs" -Recurse | Remove-Item -Recurse
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}\\WorkItemAttachmentWorkingFolder" -Recurse | Remove-Item -Recurse

- name: Set Migration Configuration
shell: pwsh
Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
}
"Wikis"
{ & .\MigrateProject.ps1 -SkipMigrateWikis $WhatIf }
"Work Item Querys"
"Work Item Queries"
{ & .\MigrateProject.ps1 -SkipMigrateWorkItemQuerys $WhatIf }
"Work-Items (Including 'Test Cases')"
{ & .\Step_3_Migrate_Project.ps1 -WhatIf $WhatIf}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sBetween Dates Work Item Backfill ADO Project Migration
name: Between Dates Work Item Backfill ADO Project Migration

on:
workflow_dispatch: # Allows manual triggering via the GitHub Actions UI
Expand Down Expand Up @@ -83,10 +83,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Clean Azure DevOps Migration Tools Log Directory
- name: Clean Azure DevOps Migration Tools Log and Attachments Directory
shell: pwsh
run: |
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}/logs" -Recurse | Remove-Item -Recurse
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}\\WorkItemAttachmentWorkingFolder" -Recurse | Remove-Item -Recurse

- name: Set Migration Configuration
shell: pwsh
Expand Down Expand Up @@ -157,6 +158,9 @@ jobs:
$WhatIf = $whatIfDryRun -match "true"

if($isDateStart -and $isDateEnd) {
if($startDate -eq $endDate){
$startDate = $startDate.addDays(-1)
}
$startDateString = $startDate.ToString($format)
$endDateString = $endDate.ToString($format)
& .\Work-Item-Backfill_Migrate_Project.ps1 -StartDate $startDateString -EndDate -endDateString -ItemType $selection -WhatIf $WhatIf
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ado-migration-process-workitem-backfill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Clean Azure DevOps Migration Tools Log Directory
- name: Clean Azure DevOps Migration Tools Log and Attachments Directory
shell: pwsh
run: |
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}/logs" -Recurse | Remove-Item -Recurse
Get-ChildItem "${{ vars.WorkItemMigratorDirectory }}\\WorkItemAttachmentWorkingFolder" -Recurse | Remove-Item -Recurse

- name: Set Migration Configuration
shell: pwsh
Expand Down Expand Up @@ -138,4 +139,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: migration-run-logs
path: "./Projects"
path: "./Projects"
2 changes: 1 addition & 1 deletion admin-tools/readme.md → admin-tools/admin-tools-about.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Project and Process Tools
# Project and Process Tools

PowerShell scripts used to list process templates, projects, retrieve custom fields and custom lists from an existing TFS XML based process definition

Expand Down
Loading
Loading