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
Carlos O'Ryan
0dbc334ef5
[google-cloud-cpp] Consolidate all google-cloud* packages ( #11698 )
...
* [google-cloud-cpp] Consolidate all google-cloud* packages
Starting with the v1.14.0 release all google-cloud* packages and the
googleapis package are kept in a single repository and released
simultaneously.
* Update CI baseline.
google-cloud-cpp used to inherit failures from googleapis, which
indicates these are (probably) problems in the generated protobuf/grpc
code.
2020-06-02 22:46:06 -07:00
Carlos O'Ryan
a3a6e70344
[google-cloud-cpp*] update to the latest release ( #10680 )
2020-04-07 10:03:46 -07:00
nicole mazzuca
91c8d72a55
[google-cloud-cpp*] update to latest release ( #10283 )
...
Update google-cloud-cpp-common to v0.21.0, google-cloud-cpp to v0.20.0,
and google-cloud-cpp-spanner to v0.9.0. These changes need to be atomic,
thus the single PR.
2020-03-04 10:49:39 -08:00
Carlos O'Ryan
4529a5b8ee
[google-cloud-cpp*] Upgrade to latest release ( #9946 )
...
* [google-cloud-cpp*] Upgrade to latest release
* Update CI baseline.
* Address review comments.
2020-02-08 20:23:12 -08:00
Carlos O'Ryan
4956dfdc06
[google-cloud-cpp-spanner] Upgrade to the v0.5.0 release. ( #9611 )
2020-01-17 16:42:23 -08:00
Carlos O'Ryan
075dd9fbb4
[google-cloud-cpp-spanner] Add new port ( #9096 )
...
* [google-cloud-cpp-spanner] New port
A client library for Google's Cloud Spanner.
* Fix package version.
2019-11-26 14:23:39 -08:00