vcpkg/versions/b-
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
..
b64.json [Libb64] Add new port (#19447) 2021-08-25 20:33:40 -07:00
basisu.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bcg729.json [vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00
bddisasm.json [bddisasm] Update to 1.34.2 (#19761) 2021-08-27 17:03:20 -07:00
bde.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bdwgc.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
beast.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
behaviortree-cpp.json [behaviortree-cpp] update to 3.5.6 (#17169) 2021-04-09 09:42:55 -07:00
benchmark.json [benchmark] Update to 1.5.5 (#18595) 2021-06-24 13:05:24 -07:00
bento4.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
berkeleydb.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bext-di.json [bext-di] Rename boost-di to bext-di (#16302) 2021-04-01 10:33:58 -07:00
bext-ut.json [bext-ut] create a new port (#16822) 2021-04-07 13:25:51 -07:00
bfgroup-lyra.json [bfgroup-lyra] Install CMake Targets (#16172) 2021-02-10 23:53:37 -08:00
bigint.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
binn.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitmagic.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitserializer-cpprestjson.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitserializer-pugixml.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitserializer-rapidjson.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitserializer-rapidyaml.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bitserializer.json [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
bitsery.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
blas.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
blaze.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
blend2d.json [blend2d] Update to beta_2021-03-17 (#16804) 2021-03-23 14:30:38 -07:00
blitz.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
blosc.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bond.json [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
boolinq.json [boolinq] update to 3.0.1 (2020-07-29) (#17495) 2021-04-28 13:51:46 -07:00
boost-accumulators.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-algorithm.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-align.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-any.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-array.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-asio.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-assert.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-assign.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-atomic.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-beast.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-bimap.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-bind.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-build.json [boost-context] support android (#16930) 2021-04-30 11:43:39 -07:00
boost-callable-traits.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-chrono.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-circular-buffer.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-compatibility.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-compute.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-concept-check.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-config.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-container-hash.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-container.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-context.json [boost-context] arm64 linux abi fix (#19522) 2021-08-31 20:27:44 -07:00
boost-contract.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-conversion.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-convert.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-core.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-coroutine2.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-coroutine.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-crc.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-date-time.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-detail.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-di.json [vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00
boost-dll.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-dynamic-bitset.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-endian.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-exception.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-fiber.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-filesystem.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-flyweight.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-foreach.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-format.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-function-types.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-function.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-functional.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-fusion.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-geometry.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-gil.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-graph-parallel.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-graph.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-hana.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-heap.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-histogram.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-hof.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-icl.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-integer.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-interprocess.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-interval.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-intrusive.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-io.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-iostreams.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-iterator.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-json.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-lambda.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-leaf.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-lexical-cast.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-local-function.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-locale.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-lockfree.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-log.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-logic.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-math.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-metaparse.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-modular-build-helper.json [boost] Fix boost-modular-build.cmake with VS 2022 17.0 Preview 2 (#19086) 2021-07-23 21:05:45 -07:00
boost-move.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-mp11.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-mpi.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-mpl.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-msm.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-multi-array.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-multi-index.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-multiprecision.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-nowide.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-numeric-conversion.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-odeint.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-optional.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-outcome.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-parameter-python.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-parameter.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-pfr.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-phoenix.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-poly-collection.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-polygon.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-pool.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-predef.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-preprocessor.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-process.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-program-options.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-property-map.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-property-tree.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-proto.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-ptr-container.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-python.json [boost-python] Allow feature python2 on Unix (#18465) 2021-07-16 00:19:25 -07:00
boost-qvm.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-random.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-range.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-ratio.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-rational.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-regex.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-safe-numerics.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-scope-exit.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-serialization.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-signals2.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-smart-ptr.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-sort.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-spirit.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-stacktrace.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-statechart.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-static-assert.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-static-string.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-stl-interfaces.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-system.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-test.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-thread.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-throw-exception.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-timer.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-tokenizer.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-tti.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-tuple.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-type-erasure.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-type-index.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-type-traits.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-typeof.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-ublas.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-uninstall.json [vcpkg.cmake] Cleanup every special case in the find_package override (#18047) 2021-05-28 10:00:20 -07:00
boost-units.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-unordered.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-utility.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-uuid.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-variant2.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-variant.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-vcpkg-helpers.json [vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00
boost-vmd.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-wave.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-winapi.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-xpressive.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost-yap.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boost.json [boost] update to 1.76.0 (#17335) 2021-07-07 12:31:06 -07:00
boringssl.json [boringssl] update to newer commit (#18604) 2021-06-24 13:04:17 -07:00
botan.json [rollup] Rollup PR 2021-07-16 (#19001) 2021-07-20 10:24:58 -07:00
box2d.json [box2d] Update CMake arguments (#18185) 2021-06-03 12:52:57 -07:00
breakpad.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
brigand.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
brotli.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
brpc.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
brunocodutra-metal.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
brynet.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bshoshany-thread-pool.json [bshoshany-thread-pool] Updated to v2.0.0 (#19582) 2021-08-18 17:09:48 -07:00
bsio.json [bsio] Add new port (#17789) 2021-05-13 11:07:01 -07:00
buck-yeh-bux.json [buck-yeh-bux] add port (#19670) 2021-09-07 14:13:35 -07:00
bullet3.json [Bullet3] fixes config failures. (#19236) 2021-08-31 12:55:56 -07:00
bustache.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
butteraugli.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
byte-lite.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
bzip2.json [bzip2] Update repository (#18705) 2021-07-01 10:14:42 -07:00