Commit Graph

7 Commits

Author SHA1 Message Date
Jia Yue Hua
c51a36dddd
[jsonnet] update to 0.20.0 (#34020)
* [jsonnet] update to 0.20.0

* fix deps
2023-09-27 01:27:53 -07:00
Thomas1664
5bc980361a
[jsonnet, opentelemetry-cpp] Remove !(windows & !static) (#26953)
* jsonnet

* opentelemetry-cpp

* version

* [mfl] Disable tests

* version

* Restore version db

* mfl

* version

* simplify

* CR

* version

* Fix deprecated functions

* wrong pr

* version

* revert
2022-09-26 11:35:51 -07:00
Tetsuya Hayashi
c8e1797c30
[jsonnet] Update to 0.18.0 (#25800)
* [jsonnet] Update to 0.18.0 (#20627)

* Update jsonnet to 0.18.0

* update patch files

* add 0005-use-upstream-rapidyaml.patch to use system rapidyaml

* use system rapidyaml

* update version

* Added license "Apache-2.0" to vcpkg.json

from https://github.com/google/jsonnet/blob/master/LICENSE
2022-07-19 10:00:08 -07:00
chausner
514f2debfc
[jsonnet] Update to 0.17.0 (#20627)
* Update jsonnet to 0.17.0

* Update CI baseline

* add supports

* update version

* revert portfile.cmake

* update version

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-10-11 20:25:26 -07:00
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
Tetsuya Hayashi
82167226dd
[jsonnet] Added 0004-incorporate-md5.patch to incorporate md5.cpp into libjsonnet (#16335)
* [jsonnet] Added a patch file to incorporate md5.cpp into libjsonnet

* [jsonnet] increment port version

* [jsonnet] update version record
2021-02-20 21:19:24 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00