Skip to content

Commit b406381

Browse files
committed
PR 68: Merge Preview to master +semver:minor
- Updated Docs - Fixed install and uninstall Scripts +semver:minor
2 parents 1a2ee74 + 7544e97 commit b406381

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ Visual Studio Team Services Bulk Data Editor Engine allows you to bulk edit data
1919
- [Why VSTS Bulk Data Editor](http://vsts-bulk-editor.readthedocs.io/en/latest/why)
2020
- [Usage](http://vsts-bulk-editor.readthedocs.io/en/latest/usage/usage/)
2121

22+
## Getting the Tools
23+
24+
There are three ways to use these tools:
25+
26+
- (recomended)[Install from Chocolatey](https://chocolatey.org/packages/vsts-sync-migrator/)
27+
- Download the [latest release from GitHub](https://github.com/nkdAgility/vsts-sync-migration/releases) and unzip
28+
- Create your own tools by using the [VSTS Bulk Data Editor Engine](https://www.nuget.org/packages/VSTS.DataBulkEditor.Engine/) on nuget
29+
2230
You are seeing:
2331

2432
- All work is done is [Visual Studio Team Services](https://www.visualstudio.com/products/what-is-visual-studio-online-vs) and then synched to GitHub

TfsWitMigrator.Console/Chocolatey/chocolateyInstall.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
try {
2-
$sysDrive = $env:SystemDrive
3-
$vstssyncmigrationpath =Join-Path -Path "\VSTSSyncMigration" -ChildPath Get-ToolsLocation
2+
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force;
3+
$toolsLoc = Get-ToolsLocation
4+
$vstssyncmigrationpath =Join-Path -Path $toolsLoc -ChildPath "\VSTSSyncMigration"
45

56
if(test-path $vstssyncmigrationpath) {
67
write-host "Cleaning out the contents of $vstssyncmigrationpath"

TfsWitMigrator.Console/Chocolatey/chocolateyUninstall.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
try {
2-
$sysDrive = $env:SystemDrive
3-
$vstssyncmigrationpath =Join-Path -Path "\VSTSSyncMigration" -ChildPath Get-ToolsLocation
2+
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force;
3+
$toolsLoc = Get-ToolsLocation
4+
$vstssyncmigrationpath =Join-Path -Path $toolsLoc -ChildPath "\VSTSSyncMigration"
45

56
Uninstall-ChocolateyZipPackage 'vstssyncmigration' 'vstsbulkeditor-#{GITVERSION.FULLSEMVER}#.zip'
67

docs/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
Visual Studio Team Services Bulk Data Editor Engine allows you to bulk edit data in Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). It has many names depending on what you are trying to achieve. You might call it a migration tool, or a bulk update tool, and both are correct.
44

5-
##Getting the Tools
5+
## Getting the Tools
66

77
There are three ways to use these tools:
88

99
- Create your own tools by using the [VSTS Bulk Data Editor Engine](https://www.nuget.org/packages/VSTS.DataBulkEditor.Engine/) on nuget
1010
- Download the [latest release from GitHub](https://github.com/nkdAgility/vsts-sync-migration/releases) and unzip
11-
- (recomended)[Install with Chocolatey](https://chocolatey.org/packages/vstssyncmigrator/)
11+
- (recomended)[Install from Chocolatey](https://chocolatey.org/packages/vsts-sync-migrator/)
1212

1313
## Overview
1414

@@ -34,30 +34,30 @@ By default, when you are moving from source to target the system will map all of
3434

3535
There are other processors that can be used to migrate, or process, different sorts of data in diferent ways. Which one is right for you depends on the situation at hand.
3636

37-
####In-Place Processors
37+
#### In-Place Processors
3838

3939
- **WorkItemUpdate** - Need to just update work items in place, use this and only set the Target. All field mappings work...
4040
- **WorkItemDelete** - Woops... Can I just start again? Feed this a query and watch those items vanish ***WARNING***
4141

42-
####Migrators
42+
#### Migrators
4343

4444
Most of thise processors need to be run in order. If you try to migrate work items before you have migrated Area and Iterations then ***bang*** you need to go back.
4545

46-
#####Work Items
46+
##### Work Items
4747
1. **NodeStructuresMigrationContext** -
4848
1. **WorkItemMigrationContext** - The work horse...push tip from one location to another while maintining context. Make sure that you add a ReflectedWorkItemID and you can restart the service at any time...
4949
1. **AttachementExportMigrationContext** -
5050
1. **AttachementImportMigrationContext** -
5151
1. **LinkMigrationContext** -
5252

53-
#####Test Plans & Suites
53+
##### Test Plans & Suites
5454

5555
1. TestVeriablesMigrationContext
5656
1. TestConfigurationsMigrationContext
5757
1. TestPlansAndSuitsMigrationContext
5858
1. TestRunsMigrationContext [BETA]
5959

60-
#####Misc
60+
##### Misc
6161

6262
- ImportProfilePictureContext
6363
- ExportProfilePictureFromADContext

docs/usage/command-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Using the Command Line
22

3-
Download from [executable](https://github.com/nkdAgility/vsts-data-bulk-editor/releases) and extract. Use `vstsbulkeditor.exe init` to create a reference `vstsbulkeditor.json` configration file.
3+
Download from [executable](https://github.com/nkdAgility/vsts-data-bulk-editor/releases) and extract. Use `vstsbulkeditor.exe init` to create a reference `vstsbulkeditor.json` configration file, Or you can [install from Chocolatey](https://chocolatey.org/packages/vsts-sync-migrator/).
44

55
```json
66
{

0 commit comments

Comments
 (0)