<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/ports/detours, 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>[detours] support debug builds (#16755)</title>
<updated>2021-03-18T20:18:51+00:00</updated>
<author>
<name>Charles Milette</name>
<email>charles.milette@gmail.com</email>
</author>
<published>2021-03-18T20:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=04821b850025a7fecb7604c7221a0d1702dec6d8'/>
<id>04821b850025a7fecb7604c7221a0d1702dec6d8</id>
<content type='text'>
* [detours] support debug builds

* Update baseline

* [detours] Update CONTROL

* [detours] Update baseline</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [detours] support debug builds

* Update baseline

* [detours] Update CONTROL

* [detours] Update baseline</pre>
</div>
</content>
</entry>
<entry>
<title>Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065)</title>
<updated>2020-10-28T21:18:07+00:00</updated>
<author>
<name>Billy O'Neal</name>
<email>bion@microsoft.com</email>
</author>
<published>2020-10-28T21:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=09a647a5261e981cbbc8219292c838490ed0b06f'/>
<id>09a647a5261e981cbbc8219292c838490ed0b06f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[detours] Update for vcpkg_build_nmake</title>
<updated>2019-11-01T18:45:30+00:00</updated>
<author>
<name>Charles Milette</name>
<email>me@charlesmilette.net</email>
</author>
<published>2019-11-01T18:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=d51773dd7cbcb470241b7d3b5735a3ff63da657b'/>
<id>d51773dd7cbcb470241b7d3b5735a3ff63da657b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix repository name case (#8695)</title>
<updated>2019-10-25T21:50:30+00:00</updated>
<author>
<name>NN</name>
<email>nn1436401@gmail.com</email>
</author>
<published>2019-10-25T21:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=447e0aaa88c96b1bb1810f6d7d93baed602265a3'/>
<id>447e0aaa88c96b1bb1810f6d7d93baed602265a3</id>
<content type='text'>
* Fix repository name case

* [detours] Match GitHub URL exactly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix repository name case

* [detours] Match GitHub URL exactly
</pre>
</div>
</content>
</entry>
<entry>
<title>[detours] new port (#5347)</title>
<updated>2019-02-13T00:56:35+00:00</updated>
<author>
<name>Charles Milette</name>
<email>me@charlesmilette.net</email>
</author>
<published>2019-02-13T00:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=07156ed156ccd88352e7264b28ebe92ac1065d48'/>
<id>07156ed156ccd88352e7264b28ebe92ac1065d48</id>
<content type='text'>
* [detours] new port

* [detours] Use PATCHES parameter instead of vcpkg_apply_patches function
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [detours] new port

* [detours] Use PATCHES parameter instead of vcpkg_apply_patches function
</pre>
</div>
</content>
</entry>
</feed>
