vcpkg/versions/t-
Billy O'Neal b295670e4b
Bulk convert control files. (#19986)
```
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
```
2021-09-09 01:24:04 -07:00
..
tabulate.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tacopie.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
taglib.json [taglib] Upgrade from 1.12-beta-2 to 1.12 (#16649) 2021-03-11 10:55:33 -08:00
taocpp-json.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tap-windows6.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
taskflow.json [taskflow] update to 3.1.0 (#17407) 2021-04-23 10:48:11 -07:00
tbb.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tcl.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tclap.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
teemo.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
telnetpp.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tensorflow-cc.json [tensorflow-cc] on x64 Windows with dynamic linkage misses C++ symbols in DLL (#19364) 2021-08-11 17:24:04 -07:00
tensorflow-common.json [tensorflow] fix macOS build errors caused by numpy and bazel upgrades (#19363) 2021-09-01 14:29:50 -07:00
tensorflow.json [tensorflow] upgrade to 2.4.1 (#16364) 2021-03-26 14:55:50 -07:00
tensorpipe.json [tensorpipe] create a new port (#16472) 2021-05-17 23:03:33 -07:00
termcolor.json [termcolor] update to 2.0.0 (#16824) 2021-03-22 09:22:08 -07:00
tesseract.json [glib up to gtk] update and make it work with meson (#13100) 2021-04-26 10:28:21 -07:00
tfhe.json Update to Ubuntu 20.04. (#18892) 2021-07-14 12:46:05 -07:00
tgbot-cpp.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tgc.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tgui.json [tgui] Fix feature tool dependency (#18724) 2021-07-01 10:20:48 -07:00
theia.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
think-cell-range.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
thor.json [thor] Support UNIX, re-fix dependency sfml (#17766) 2021-05-13 13:16:46 -07:00
threadpool.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
thrift.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tidy-html5.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiff.json [tiff] Fix build on arm64-linux (#18511) 2021-07-22 22:10:42 -07:00
tinkerforge.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiny-aes-c.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiny-bignum-c.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiny-dnn.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiny-process-library.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tiny-regex-c.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinycthread.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinydir.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyexif.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyexpr.json [vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00
tinyexr.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyfiledialogs.json [tinyfiledialogs] Fix usage (#19723) 2021-08-24 14:50:54 -07:00
tinygltf.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinynpy.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyobjloader.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyply.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyspline.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinythread.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinytoml.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyutf8.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyxml2.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tinyxml.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tl-expected.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tl-function-ref.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tl-optional.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tlx.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tmx.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tmxlite.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tmxparser.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
toml11.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tomlplusplus.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tool-meson.json [vcpkg] Update vcpkg tools (#18817) 2021-07-22 15:50:23 -07:00
torch-th.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
transwarp.json [transwarp] add a new port (#18069) 2021-05-26 14:14:51 -07:00
trantor.json [trantor] Update to 1.5.1 (#19443) 2021-08-30 19:27:37 -07:00
tre.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
treehopper.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
triangle.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
trompeloeil.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tsl-hopscotch-map.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tsl-ordered-map.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tsl-sparse-map.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
ttauri.json Update of the ttauri port to 0.4.0 (#18910) 2021-07-13 12:49:41 -07:00
turbobase64.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
tvision.json [tvision] Add new port (#19480) 2021-09-02 13:56:12 -07:00
tweeny.json [tweeny] Update to v3.2.0 (#16683) 2021-03-17 15:17:51 -07:00
type-lite.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
type-safe.json [vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00