Commit Graph

10 Commits

Author SHA1 Message Date
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
80d5ee93a4
[google-cloud-cpp-common] Upgrade to v0.20.0 release (#10168) 2020-02-24 16:10:03 -08:00
Carlos O'Ryan
c36db6d3be
[google-cloud-cpp{,-common}] upgrade to latest release (#10037) 2020-02-12 14:48:03 -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
4e5ebe7491 [google-cloud-cpp-common] Optional testing libraries (#9097)
The testing libraries in google-cloud-cpp-common are an strictly
optional feature. I expect that mostly developers of other
google-cloud-cpp-* libraries would use them, but the occasional end-user
might want them too.
2019-11-26 14:41:38 -08:00
Carlos O'Ryan
0887012a3f [google-cloud-cpp*]Upgrade to latest release (#8986) 2019-11-19 15:57:48 -08:00
Carlos O'Ryan
c7d09309c1 [google-cloud-cpp-common] initial port (#8735)
* [google-cloud-cpp-common] initial port

Add a new port for the Google Cloud C++ common components.

* No need to build the tests.

* Forgot to disable the tests when I removed the gtest dep.
2019-10-28 11:19:54 -07:00