Skip to content

Commit 2a2c1ba

Browse files
authored
Merge pull request #109 from MicrosoftEdge/release/6.0.0
Updates to support public release
2 parents 1a1baa8 + ba030b8 commit 2a2c1ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+984
-1233
lines changed

README.md

+24-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# QWIQ
1+
QWIQ
2+
=======
3+
4+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/MicrosoftEdge/Microsoft.Qwiq/blob/master/LICENSE) [![AppVeyor](https://img.shields.io/appveyor/ci/MicrosoftEdge/Microsoft-Qwiq.svg)]() [![qwiq MyGet Build Status](https://www.myget.org/BuildSource/Badge/qwiq?identifier=6c2b6200-0621-4b3f-ba6b-b28d2b785765)](https://www.myget.org/)
5+
6+
[![MyGet](https://img.shields.io/myget/qwiq/v/Microsoft.Qwiq.Core.svg)]() [![MyGet](https://img.shields.io/myget/qwiq/vpre/Microsoft.Qwiq.Core.svg)]()
7+
28
QWIQ is a **Q**uick **W**ork **I**tem **Q**uery library for Team Foundation Server / Visual Studio Online. If you do a lot of reading or writing of work items, this package is for you!
39

410
## What can it be used for?
@@ -14,32 +20,42 @@ Qwiq makes testing your apps a breeze. Everything has an interface. Everything u
1420
How often do you update a work item? How often do you create a new security group? We stripped out the rarely used stuff to make interfaces cleaner and the relationships between types simpler. Missing something you can't live without? Send us a pull request!
1521

1622
## How to install it
17-
QWIQ is composed of the varios packages detailed above. Pick and choose the packages you want to accomplish your scenarios. Just run the commands from the Package Manager console in Visual Studio.
23+
[Add our MyGet feed to your NuGet clients](https://docs.nuget.org/ndocs/tools/package-manager-ui#package-sources):
24+
25+
- v3 (VS 2015+ / NuGet 3.x): `https://www.myget.org/F/qwiq/api/v3/index.json`
26+
- v2 (VS 2013 / NuGet 2.x): `https://www.myget.org/F/qwiq/api/v2`
27+
28+
Once the feed is configured, instald via the nuget UI (as [Microsoft.Qwiq.Core](https://www.myget.org/feed/qwiq/package/nuget/Microsoft.Qwiq.Core)), or via the nuget package manager console:
1829

1930
### Install Core
2031
```
2132
PM> Install-Package Microsoft.Qwiq.Core
2233
```
2334

24-
### Using QWIQ for work items
35+
### Basic Usage
2536
```csharp
2637
using Microsoft.Qwiq;
2738
using Microsoft.Qwiq.Credentials;
28-
2939
...
3040

41+
// Create credentials objects based on the current process and OS identity
42+
// We support
43+
// - Username and password
44+
// - PAT
45+
// - Federated Windows credentials
3146
var creds = CredentialsFactory.CreateCredentials();
32-
3347
var uri = new Uri("[Tfs Tenant Uri]");
3448

3549
var store = WorkItemStoreFactory
3650
.GetInstance()
3751
.Create(uri, creds);
52+
// ^^^ store and re-use this!
3853
54+
// Execute WIQL
3955
var items = store.Query(@"
4056
SELECT [System.Id]
4157
FROM WorkItems
42-
WHERE WorkItemType = 'Bug' AND State = 'Active'", true);?
58+
WHERE WorkItemType = 'Bug' AND State = 'Active'");
4359
```
4460

4561
```powershell
@@ -52,7 +68,7 @@ $store = [Microsoft.Qwiq.WorkItemStoreFactory]::GetInstance().Create($uri, $cred
5268
$items = $store.Query(@"
5369
SELECT [System.Id]
5470
FROM WorkItems
55-
WHERE WorkItemType = 'Bug' AND State = 'Active'", $true)
71+
WHERE WorkItemType = 'Bug' AND State = 'Active'")
5672
```
5773

5874
## Contributing
@@ -61,7 +77,7 @@ $items = $store.Query(@"
6177
* [Setting up Git for Windows and connecting to GitHub](http://help.github.com/win-set-up-git/)
6278
* [Forking a GitHub repository](http://help.github.com/fork-a-repo/)
6379
* [The simple guide to GIT guide](http://rogerdudler.github.com/git-guide/)
64-
* [Open an issue](https://github.com/[Replace Me]/Microsoft.Qwiq/issues) if you encounter a bug or have a suggestion for improvements/features
80+
* [Open an issue](https://github.com/MicrosoftEdge/Microsoft.Qwiq/issues) if you encounter a bug or have a suggestion for improvements/features
6581

6682

6783
Once you're familiar with Git and GitHub, clone the repository and start contributing!

appveyor.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
configuration: Release
2+
3+
platform: Any CPU
4+
5+
cache:
6+
- packages -> **\packages.config
7+
8+
install:
9+
- cmd: choco install gitversion.portable -pre -y
10+
11+
before_build:
12+
- ps: .\init.ps1
13+
- cmd: nuget restore -NonInteractive -DisableParallelProcessing
14+
- cmd: gitversion /l console /output buildserver
15+
16+
build:
17+
publish_nuget: true
18+
publish_nuget_symbols: true
19+
include_nuget_references: true
20+
parallel: true
21+
verbosity: minimal
22+
23+
test:
24+
categories:
25+
except:
26+
- localOnly
27+
- Benchmark
28+

build.cmd

-39
This file was deleted.

src/Qwiq.Core/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Microsoft")]
1212
[assembly: AssemblyProduct("Microsoft.Qwiq")]
13-
[assembly: AssemblyCopyright("Copyright © Microsoft 2015")]
13+
[assembly: AssemblyCopyright("\x00a9 Microsoft Corporation. All rights reserved.")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

src/Qwiq.Core/Qwiq.Core.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15-
<NuGetPackageImportStamp />
1615
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1716
<TargetFrameworkProfile />
17+
<NuGetPackageImportStamp />
1818
</PropertyGroup>
1919
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2020
<DebugSymbols>true</DebugSymbols>
@@ -336,11 +336,11 @@
336336
<PropertyGroup>
337337
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
338338
</PropertyGroup>
339-
<Error Condition="!Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets'))" />
340339
<Error Condition="!Exists('..\..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\build\Microsoft.TeamFoundationServer.ExtendedClient.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\build\Microsoft.TeamFoundationServer.ExtendedClient.targets'))" />
341340
<Error Condition="!Exists('..\..\packages\NuSpec.ReferenceGenerator.1.4.2\build\dotnet\NuSpec.ReferenceGenerator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NuSpec.ReferenceGenerator.1.4.2\build\dotnet\NuSpec.ReferenceGenerator.targets'))" />
341+
<Error Condition="!Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets'))" />
342342
</Target>
343-
<Import Project="..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" />
344343
<Import Project="..\..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\build\Microsoft.TeamFoundationServer.ExtendedClient.targets" Condition="Exists('..\..\packages\Microsoft.TeamFoundationServer.ExtendedClient.14.102.0\build\Microsoft.TeamFoundationServer.ExtendedClient.targets')" />
345344
<Import Project="..\..\packages\NuSpec.ReferenceGenerator.1.4.2\build\dotnet\NuSpec.ReferenceGenerator.targets" Condition="Exists('..\..\packages\NuSpec.ReferenceGenerator.1.4.2\build\dotnet\NuSpec.ReferenceGenerator.targets')" />
345+
<Import Project="..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" />
346346
</Project>

src/Qwiq.Core/Qwiq.Core.nuspec

+6-9
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@
44
<id>$id$</id>
55
<version>$version$</version>
66
<title>$title$</title>
7-
<authors>$author$</authors>
8-
<owners>$author$</owners>
9-
<projectUrl>https://github.com/MicrosoftEdge/IEPortal.Qwiq</projectUrl>
10-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
7+
<authors>Microsoft</authors>
8+
<owners>Microsoft, QWIQ</owners>
9+
<projectUrl>https://github.com/MicrosoftEdge/Microsoft.Qwiq</projectUrl>
10+
<licenseUrl>https://github.com/MicrosoftEdge/Microsoft.Qwiq/blob/master/LICENSE</licenseUrl>
11+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1112
<description>$description$</description>
1213
<copyright>$copyright$</copyright>
13-
<tags>IE IEPortal MS Internal Only MicrosoftEdge WebPlatform WebPlatformServices</tags>
14+
<tags>Microsoft Team Foundation Server TFS VSO Visual Studio Online VisualStudio Agile WIT Work Item Tracking Object Model VSTS TeamFoundation TFSOM</tags>
1415
</metadata>
1516
<files>
1617
<file src="readme.txt" target="" />
17-
<file src="bin\$configuration$\net452\$id$.dll" target="lib\net452\" />
18-
<file src="bin\$configuration$\net46\$id$.dll" target="lib\net46\" />
19-
<file src="bin\$configuration$\net461\$id$.dll" target="lib\net461\" />
20-
<file src="bin\$configuration$\net462\$id$.dll" target="lib\net462\" />
2118
</files>
2219
</package>

0 commit comments

Comments
 (0)