Skip to content

Commit

Permalink
Merge pull request #109 from MicrosoftEdge/release/6.0.0
Browse files Browse the repository at this point in the history
Updates to support public release
  • Loading branch information
rjmurillo committed Oct 28, 2016
2 parents 1a1baa8 + ba030b8 commit 2a2c1ba
Show file tree
Hide file tree
Showing 46 changed files with 984 additions and 1,233 deletions.
32 changes: 24 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# QWIQ
QWIQ
=======

[![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/)

[![MyGet](https://img.shields.io/myget/qwiq/v/Microsoft.Qwiq.Core.svg)]() [![MyGet](https://img.shields.io/myget/qwiq/vpre/Microsoft.Qwiq.Core.svg)]()

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!

## What can it be used for?
Expand All @@ -14,32 +20,42 @@ Qwiq makes testing your apps a breeze. Everything has an interface. Everything u
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!

## How to install it
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.
[Add our MyGet feed to your NuGet clients](https://docs.nuget.org/ndocs/tools/package-manager-ui#package-sources):

- v3 (VS 2015+ / NuGet 3.x): `https://www.myget.org/F/qwiq/api/v3/index.json`
- v2 (VS 2013 / NuGet 2.x): `https://www.myget.org/F/qwiq/api/v2`

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:

### Install Core
```
PM> Install-Package Microsoft.Qwiq.Core
```

### Using QWIQ for work items
### Basic Usage
```csharp
using Microsoft.Qwiq;
using Microsoft.Qwiq.Credentials;

...

// Create credentials objects based on the current process and OS identity
// We support
// - Username and password
// - PAT
// - Federated Windows credentials
var creds = CredentialsFactory.CreateCredentials();

var uri = new Uri("[Tfs Tenant Uri]");

var store = WorkItemStoreFactory
.GetInstance()
.Create(uri, creds);
// ^^^ store and re-use this!
// Execute WIQL
var items = store.Query(@"
SELECT [System.Id]
FROM WorkItems
WHERE WorkItemType = 'Bug' AND State = 'Active'", true);?
WHERE WorkItemType = 'Bug' AND State = 'Active'");
```

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

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


Once you're familiar with Git and GitHub, clone the repository and start contributing!
Expand Down
28 changes: 28 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
configuration: Release

platform: Any CPU

cache:
- packages -> **\packages.config

install:
- cmd: choco install gitversion.portable -pre -y

before_build:
- ps: .\init.ps1
- cmd: nuget restore -NonInteractive -DisableParallelProcessing
- cmd: gitversion /l console /output buildserver

build:
publish_nuget: true
publish_nuget_symbols: true
include_nuget_references: true
parallel: true
verbosity: minimal

test:
categories:
except:
- localOnly
- Benchmark

39 changes: 0 additions & 39 deletions build.cmd

This file was deleted.

2 changes: 1 addition & 1 deletion src/Qwiq.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft.Qwiq")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2015")]
[assembly: AssemblyCopyright("\x00a9 Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
6 changes: 3 additions & 3 deletions src/Qwiq.Core/Qwiq.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<NuGetPackageImportStamp />
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
<NuGetPackageImportStamp />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -336,11 +336,11 @@
<PropertyGroup>
<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>
</PropertyGroup>
<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'))" />
<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'))" />
<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'))" />
<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'))" />
</Target>
<Import Project="..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" />
<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')" />
<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')" />
<Import Project="..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\..\packages\GitVersionTask.3.6.4\build\dotnet\GitVersionTask.targets')" />
</Project>
15 changes: 6 additions & 9 deletions src/Qwiq.Core/Qwiq.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<projectUrl>https://github.com/MicrosoftEdge/IEPortal.Qwiq</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<authors>Microsoft</authors>
<owners>Microsoft, QWIQ</owners>
<projectUrl>https://github.com/MicrosoftEdge/Microsoft.Qwiq</projectUrl>
<licenseUrl>https://github.com/MicrosoftEdge/Microsoft.Qwiq/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>$description$</description>
<copyright>$copyright$</copyright>
<tags>IE IEPortal MS Internal Only MicrosoftEdge WebPlatform WebPlatformServices</tags>
<tags>Microsoft Team Foundation Server TFS VSO Visual Studio Online VisualStudio Agile WIT Work Item Tracking Object Model VSTS TeamFoundation TFSOM</tags>
</metadata>
<files>
<file src="readme.txt" target="" />
<file src="bin\$configuration$\net452\$id$.dll" target="lib\net452\" />
<file src="bin\$configuration$\net46\$id$.dll" target="lib\net46\" />
<file src="bin\$configuration$\net461\$id$.dll" target="lib\net461\" />
<file src="bin\$configuration$\net462\$id$.dll" target="lib\net462\" />
</files>
</package>
Loading

0 comments on commit 2a2c1ba

Please sign in to comment.