Commit Graph

8 Commits

Author SHA1 Message Date
Jia Yue Hua
2b47fbffdf
[pegtl] update to 3.2.8 (#41612) 2024-10-17 22:16:53 -07:00
dittons
e4def443fe
[pegtl] update to 3.2.7 (#31183)
* * update pegtl from 3.2.6 to 3.2.7

* * update version database

---------

Co-authored-by: ian <ian>
2023-05-01 15:15:37 -07:00
Bill Avery
2247b397fa
[pegtl] Update to 3.2.6 for MSVC and GCC fixes (#24761)
* [pegtl] Update to 3.2.6 for compiler fixes

* vcpkg x-add-version --all

* Remove cppgraphqlgen from baseline, as suggested in https://github.com/microsoft/vcpkg/pull/24761#issuecomment-1129414611

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-17 17:25:56 -07:00
Bill Avery
3c5592beeb
[pegtl] Update from v3.2.2 to v3.2.5 (#23344)
* Bump version to 3.2.5 for fix with recent MSVC

* Run vcpkg x-add-version --all
2022-03-02 14:50:51 -08:00
chausner
bc920cd93c
[pegtl] Update to 3.2.2 (#21375)
* Update pegtl to 3.2.2

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-15 16:33:24 -08:00
chausner
ac10ff41f8
[pegtl] Update to 3.2.1 (#20400)
* Update pegtl to 3.2.1

* Update CI baseline

* Update ports/pegtl/portfile.cmake

* Update versions/p-/pegtl.json

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-09-29 08:39:07 -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
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00