Skip to content

Commit

Permalink
Merge develop to master (#105)
Browse files Browse the repository at this point in the history
* Add mergify file to delete branches after merge

* Build with Cake 0.32.1

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.6.2 to 2.6.3 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](dotnet/roslyn-analyzers@v2.6.2...v2.6.3)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.6.3 to 2.9.0 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.6.3 to 2.9.0.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.0 to 2.9.1 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](dotnet/roslyn-analyzers@v2.9.0...v2.9.1)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.1 to 2.9.2 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](dotnet/roslyn-analyzers@v2.9.1...v2.9.2)

Signed-off-by: dependabot[bot] <[email protected]>

* (GH-35) Fix repository link in NuGet package

* (GH-37) Use embedded license for NuGet package

* Disable documentation for tasks

* Pin build script to Cake.Recipe 1.0.0

* Exclude Shouldly from code coverage

* Bump StyleCop.Analyzers from 1.0.2 to 1.1.118 in /src

Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.0.2 to 1.1.118.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Commits](DotNetAnalyzers/StyleCopAnalyzers@1.0.2...1.1.118)

Signed-off-by: dependabot[bot] <[email protected]>

* Fix StyleCop warnings

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.2 to 2.9.3 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](dotnet/roslyn-analyzers@v2.9.2...v2.9.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Enable Codecov

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.3 to 2.9.4 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.4 to 2.9.5 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.4 to 2.9.5.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v2.9.4...v2.9.5)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.5 to 2.9.6 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.5 to 2.9.6.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v2.9.5...v2.9.6)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.6 to 2.9.7 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.6 to 2.9.7.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v2.9.6...v2.9.7)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.7 to 2.9.8 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.7 to 2.9.8.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Update bootstrapper

* Change name of build script to recipe.cake

* Add code owners

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.8 to 3.0.0 in /src

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 2.9.8 to 3.0.0.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v2.9.8...v3.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Update code owners to team (#57)

* Create Dependabot config file (#58)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump xunit.runner.visualstudio from 2.4.1 to 2.4.2 in /src (#59)

* Bump xunit.runner.visualstudio from 2.4.1 to 2.4.2 in /src

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits/v2.4.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Add Microsoft.NET.Test.Sdk

* Target netcoreapp2.1 for tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger <[email protected]>

* Bump xunit.runner.visualstudio from 2.4.2 to 2.4.3 in /src (#60)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@v2.4.2...v2.4.3)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0 in /src (#61)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.6.1...v16.7.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 in /src (#63)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.0 to 16.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.7.0...v16.7.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.0.0 to 3.3.0 in /src (#62)

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.0.0 to 3.3.0.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v3.0.0...v3.3.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: eoehen <[email protected]>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.0 to 3.3.1 in /src (#64)

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0 in /src (#65)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.7.1...v16.8.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Shouldly from 3.0.2 to 4.0.0 in /src (#66)

Bumps [Shouldly](https://github.com/shouldly/shouldly) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/shouldly/shouldly/releases)
- [Changelog](https://github.com/shouldly/shouldly/blob/master/BREAKING%20CHANGES.txt)
- [Commits](shouldly/shouldly@v3.0.2...v4.0.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add DiffEngine to testCoverageFilter (#67)

* Add EmptyFiles to testCoverageFilter (#68)

* Bump Shouldly from 4.0.0 to 4.0.1 in /src (#69)

Bumps [Shouldly](https://github.com/shouldly/shouldly) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/shouldly/shouldly/releases)
- [Changelog](https://github.com/shouldly/shouldly/blob/master/BREAKING%20CHANGES.txt)
- [Commits](shouldly/shouldly@v4.0.0...v4.0.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3 in /src (#70)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.8.0...v16.8.3)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.1 to 3.3.2 in /src (#71)

Bumps [Microsoft.CodeAnalysis.FxCopAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/master/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@v3.3.1...v3.3.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: eoehen <[email protected]>

* Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 in /src (#74)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Shouldly from 4.0.1 to 4.0.3 in /src (#73)

* Bump Shouldly from 4.0.1 to 4.0.3 in /src

Bumps [Shouldly](https://github.com/shouldly/shouldly) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/shouldly/shouldly/releases)
- [Changelog](https://github.com/shouldly/shouldly/blob/master/BREAKING%20CHANGES.txt)
- [Commits](shouldly/shouldly@v4.0.1...v4.0.3)

Signed-off-by: dependabot[bot] <[email protected]>

* Update TfsUrlParser.Tests.csproj

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: eoehen <[email protected]>

* Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 in /src (#75)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.9.1...v16.9.4)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 16.9.4 to 17.3.2 in /src (#87)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.9.4...v17.3.2)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Shouldly from 4.0.3 to 4.1.0 in /src (#85)

Bumps [Shouldly](https://github.com/shouldly/shouldly) from 4.0.3 to 4.1.0.
- [Release notes](https://github.com/shouldly/shouldly/releases)
- [Changelog](https://github.com/shouldly/shouldly/blob/master/BREAKING%20CHANGES.txt)
- [Commits](shouldly/shouldly@v4.0.3...4.1.0)

---
updated-dependencies:
- dependency-name: Shouldly
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.4.1 to 2.4.2 in /src (#83)

Bumps [xunit](https://github.com/xunit/xunit) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases)
- [Commits](xunit/xunit@2.4.1...2.4.2)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* update to cake.tools #88 (#89)

* update to cake.tools #88

* update .appveyor.yml

* remove warnings

* add GenerateAssemblyInfo

* remove  packages.xml (#90)

* Delete .appveyor.yml

* remove cake and build with dotnet build (#96)

* Build with Github Workflows #92 (#93)

* Create main.yml

* build with GitHub Action

* Create release.yml

* Documentation moved ro README.md

* remove cake and build with dotnet build

* add dotnet build workflow

* add testcoverage

* naming

* added release

* Update Badges

* removed comments

* add source url for GetBuildVersion

* update API and tasks added

* Feature/improve workflow (#98)

* bugfix powershell comment

* branch rename

* Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 in /src (#81)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve readme (#99)

* build on push develop branch (#100)

* Bump coverlet.collector from 1.0.1 to 3.2.0 in /src (#102)

Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.0.1 to 3.2.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v1.0.1...v3.2.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* moved codecov.yml (#101)

* build on push develop branch

* moved codecov.yml

* Improve Readme.md #103 (#104)

* Improve Readme.md #103

* remove .travis.yml

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Pascal Berger <[email protected]>
Co-authored-by: Pascal Berger <[email protected]>
Co-authored-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot-preview[bot] <dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: eoehen <[email protected]>
Co-authored-by: Matthias Hirschi <[email protected]>
  • Loading branch information
9 people authored Nov 7, 2022
1 parent 2a9cb5f commit 7e5c0b9
Show file tree
Hide file tree
Showing 37 changed files with 281 additions and 825 deletions.
30 changes: 0 additions & 30 deletions .appveyor.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These owners will be the default owners for everything in the repo and
# will be requested for review when someone opens a pull request.
* @bbtsoftware/dev-services
8 changes: 8 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/src"
schedule:
interval: daily
open-pull-requests-limit: 10
55 changes: 55 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This workflow will build TfsUrlParser project

name: CI

on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop

defaults:
run:
working-directory: src

jobs:
build:
env:
BUILD_CONFIG: "Debug"

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3

- name: Get Build Version
run: |
Import-Module ..\build\GetBuildVersion.psm1
Write-Host $Env:GITHUB_REF
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
shell: pwsh

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration $BUILD_CONFIG -p:Version=$BUILD_VERSION --no-restore

- name: Test
run: dotnet test -p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Codecov
uses: codecov/codecov-action@v3
55 changes: 55 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This workflow will release TfsUrlParser

name: Release

on:
release:
types: [published]

defaults:
run:
working-directory: src

jobs:
build:
env:
BUILD_CONFIG: "Release"

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3

- name: Get Build Version
run: |
Import-Module ..\build\GetBuildVersion.psm1
Write-Host $Env:GITHUB_REF
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
shell: pwsh

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration $BUILD_CONFIG -p:Version=$BUILD_VERSION --no-restore

- name: Test
run: dotnet test -p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage"

- name: Codecov
uses: codecov/[email protected]

- name: Setup NuGet
uses: NuGet/setup-nuget@v1

- name: Publish NuGet
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,3 @@ paket-files/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
tools/**
!tools/packages.config
BuildArtifacts/
5 changes: 5 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pull_request_rules:
- name: delete head branch after merge
conditions: []
actions:
delete_head_branch: {}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/netstandard2.0/TfsUrlParser.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/TfsUrlParser.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/TfsUrlParser/TfsUrlParser.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/TfsUrlParser/TfsUrlParser.sln"
],
"problemMatcher": "$msCompile"
}
]
}
12 changes: 0 additions & 12 deletions GitReleaseManager.yaml

This file was deleted.

49 changes: 18 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,30 @@
# Azure DevOps URL parser
[![NuGet](https://img.shields.io/nuget/v/TfsUrlParser.svg)](https://www.nuget.org/packages/TfsUrlParser)
[![Build status](https://github.com/bbtsoftware/TfsUrlParser/actions/workflows/dotnet.yml/badge.svg?branch=develop)](https://github.com/bbtsoftware/TfsUrlParser/actions/workflows/dotnet.yml)
[![Build status](https://github.com/bbtsoftware/TfsUrlParser/actions/workflows/release.yml/badge.svg?branch=master)](https://github.com/bbtsoftware/TfsUrlParser/actions/workflows/release.yml)
[![Coverage Status](https://codecov.io/gh/bbtsoftware/TfsUrlParser/branch/develop/graph/badge.svg?token=0VLbB8a8EF)](https://codecov.io/gh/bbtsoftware/TfsUrlParser)

This NuGet package contains code for parsing Azure DevOps and Azure DevOps Server URLs.

[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/bbtsoftware/TfsUrlParser/blob/master/LICENSE)

## Information
## How to use

| | Stable | Pre-release |
|:--:|:--:|:--:|
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/bbtsoftware/TfsUrlParser.svg)](https://github.com/bbtsoftware/TfsUrlParser/releases/latest)|
|NuGet|[![NuGet](https://img.shields.io/nuget/v/TfsUrlParser.svg)](https://www.nuget.org/packages/TfsUrlParser)|[![NuGet](https://img.shields.io/nuget/vpre/TfsUrlParser.svg)](https://www.nuget.org/packages/TfsUrlParser)|
To use the Azure DevOps URL parser you need to add the [TfsUrlParser NuGet package](https://www.nuget.org/packages/TfsUrlParser/).

## Build Status
```csharp
var repositoryDescription =
new RepositoryDescription(
"http://myserver:8080/tfs/defaultcollection/myproject/_git/myrepository");

|Develop|Master|
|:--:|:--:|
|[![Build status](https://ci.appveyor.com/api/projects/status/i4evodvrv7qc9e6y/branch/develop?svg=true)](https://ci.appveyor.com/project/BBTSoftwareAG/tfsurlparser/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/i4evodvrv7qc9e6y/branch/master?svg=true)](https://ci.appveyor.com/project/BBTSoftwareAG/tfsurlparser/branch/master)|

## Code Coverage

[![Coverage Status](https://coveralls.io/repos/github/BBTSoftwareAG/tfs-url-parser/badge.svg?branch=develop)](https://coveralls.io/github/BBTSoftwareAG/tfs-url-parser?branch=develop)

## Quick Links

* [Documentation](https://bbtsoftware.github.io/TfsUrlParser/)

## Build

To build this package we are using Cake.

On Windows PowerShell run:

```powershell
./build
Console.WriteLine(repositoryDescription.ServerUrl);
Console.WriteLine(repositoryDescription.CollectionUrl);
Console.WriteLine(repositoryDescription.CollectionName);
Console.WriteLine(repositoryDescription.ProjectName);
Console.WriteLine(repositoryDescription.RepositoryUrl);
Console.WriteLine(repositoryDescription.RepositoryName);
```

On OSX/Linux run:

```bash
./build.sh
```
## Build

`dotnet build .\src\TfsUrlParser.sln`
Loading

0 comments on commit 7e5c0b9

Please sign in to comment.