<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/ctp, 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>[ctp] New version v6.6.1_P1_20210406_se (#17969)</title>
<updated>2021-05-24T22:51:39+00:00</updated>
<author>
<name>Vincent Gao</name>
<email>xgao1023@gmail.com</email>
</author>
<published>2021-05-24T22:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=43df697b6b8af6ea3d928c0d112ba1c428fb8faf'/>
<id>43df697b6b8af6ea3d928c0d112ba1c428fb8faf</id>
<content type='text'>
Co-authored-by: Vincent Gao &lt;xgao1023@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Vincent Gao &lt;xgao1023@outlook.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ctp] bugfix for linux-x64 and file name case sensitivity (#15183)</title>
<updated>2020-12-23T07:22:11+00:00</updated>
<author>
<name>Vincent Gao</name>
<email>xgao1023@gmail.com</email>
</author>
<published>2020-12-23T07:22:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=70caed72f586e0703add804966f316ba03170277'/>
<id>70caed72f586e0703add804966f316ba03170277</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ctp] New port CTP library 6.3.15 (#10717)</title>
<updated>2020-05-18T17:43:53+00:00</updated>
<author>
<name>Vincent Gao</name>
<email>xgao1023@gmail.com</email>
</author>
<published>2020-05-18T17:43:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=fb441358ab406dcb9deffef9b7d886237ca35d7e'/>
<id>fb441358ab406dcb9deffef9b7d886237ca35d7e</id>
<content type='text'>
* [ctp] New port CTP library 6.3.15

* [ctp] Minor changes
 - Update portfile to support custom triplets
 - disable CI due to downloading server availability

* Update ports/ctp/portfile.cmake

* Update ports/ctp/portfile.cmake

* Remove ${...} from if

Co-authored-by: Vincent Gao &lt;xgao1023@outlook.com&gt;
Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;
Co-authored-by: nicole mazzuca &lt;mazzucan@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [ctp] New port CTP library 6.3.15

* [ctp] Minor changes
 - Update portfile to support custom triplets
 - disable CI due to downloading server availability

* Update ports/ctp/portfile.cmake

* Update ports/ctp/portfile.cmake

* Remove ${...} from if

Co-authored-by: Vincent Gao &lt;xgao1023@outlook.com&gt;
Co-authored-by: Jack·Boos·Yu &lt;47264268+JackBoosY@users.noreply.github.com&gt;
Co-authored-by: nicole mazzuca &lt;mazzucan@outlook.com&gt;</pre>
</div>
</content>
</entry>
</feed>
