Commit Graph

5 Commits

Author SHA1 Message Date
Yohann Bénédic
f32db298a6
[rapidcheck] Upgrade to 2023-12-14. (#38465)
~~Later revisions are available but they introduce pkgconfig support
which make vcpkg complain that hard coded file paths are deployed to
lib/pkgconfig/*.pc files and I am not sure what to do about them.~~
Upgraded to the latest revision to date.

<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-05-02 22:03:09 -07:00
Adrian Bibby Walther
628076aeed
[rapidcheck] Update to 2023-01-13 (#29436)
* Updated rapidcheck to 2023-01-13.

* Updated version files.

* Add license note and quotes.

* Forgot to fix version DB :)

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-02-03 14:21:16 -08:00
Adrian Bibby Walther
0a365adc6e
[rapidcheck ] Update to 2021-12-20. (#22125)
* Updated rapidcheck to 2021-12-20.

* Updated version files.
2021-12-21 23:13:07 -05:00
Adrian Bibby Walther
38b19b5718
[rapidcheck] Update rapidcheck to 2021-10-10 (#22100)
* Updated rapidcheck port to 2021-10-10.

* Further updated rapidcheck for pull request.

* Apparently I `x-add-version`ed wrong the first time.
2021-12-20 11:37:07 -05: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