<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/catch/CONTROL, branch aws-lambda-cpp</title>
<subtitle>Forked from https://github.com/microsoft/vcpkg</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/'/>
<entry>
<title>Bulk convert control files. (#19986)</title>
<updated>2021-09-09T08:24:04+00:00</updated>
<author>
<name>Billy O'Neal</name>
<email>bion@microsoft.com</email>
</author>
<published>2021-09-09T08:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=b295670e4bab14debe88d92cd5364b21ce26232c'/>
<id>b295670e4bab14debe88d92cd5364b21ce26232c</id>
<content type='text'>
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```</pre>
</div>
</content>
</entry>
<entry>
<title>Make catch an alias for Catch2</title>
<updated>2018-02-01T11:01:57+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2018-02-01T11:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=0d7213c261869ebc359d315a46380b9d10768774'/>
<id>0d7213c261869ebc359d315a46380b9d10768774</id>
<content type='text'>
Closes #2310
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #2310
</pre>
</div>
</content>
</entry>
<entry>
<title>[catch] Fix hashes and download urls. Resolves #2151</title>
<updated>2017-11-08T10:36:55+00:00</updated>
<author>
<name>Alexander Karatarakis</name>
<email>alkarata@microsoft.com</email>
</author>
<published>2017-11-08T10:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=9ea963dcec629b03994cf21e78b152efc3e2c0b0'/>
<id>9ea963dcec629b03994cf21e78b152efc3e2c0b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 2.0.1</title>
<updated>2017-11-05T10:05:14+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-11-05T10:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f96080db34eebf6767260190c8eaa78407188c5b'/>
<id>f96080db34eebf6767260190c8eaa78407188c5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 1.11.0</title>
<updated>2017-10-31T12:57:37+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-10-31T12:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=161244188d91550cff07503e0fd66c884ca7a992'/>
<id>161244188d91550cff07503e0fd66c884ca7a992</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 1.10.0</title>
<updated>2017-08-27T09:22:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-08-26T16:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=a1b92053f12c583260966a8e66e9552eb12a16ac'/>
<id>a1b92053f12c583260966a8e66e9552eb12a16ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 1.9.7</title>
<updated>2017-08-10T22:03:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-08-10T22:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=dc064a443639300cad283b30f1070746ecbbcd0d'/>
<id>dc064a443639300cad283b30f1070746ecbbcd0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 1.9.6</title>
<updated>2017-06-27T10:38:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-06-27T10:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=112041512d1b26caad3939bd5947a6305830c56d'/>
<id>112041512d1b26caad3939bd5947a6305830c56d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[catch] Rename downloaded files to not conflict with older versions or other ports</title>
<updated>2017-06-15T17:18:14+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-06-15T17:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=d1c32d241f8c06dc7169ea43070032229b2a7eb0'/>
<id>d1c32d241f8c06dc7169ea43070032229b2a7eb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Catch to 1.9.5</title>
<updated>2017-06-15T11:09:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
<email>martin.horenovsky@gmail.com</email>
</author>
<published>2017-06-15T11:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=d1841f11c72560b8689a33f05457ed5e5e6ec1a4'/>
<id>d1841f11c72560b8689a33f05457ed5e5e6ec1a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
