Commit Graph

6 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
mfornace
946fa300e7
[taskflow] Update cpp-taskflow 2.2.0 to taskflow 2.6.0 (#13140)
* Update to 2.5.0

* Disable unit test building; 2.5.0 uses BUILD_TESTING flag

* Attempt to add /bigobj since I'm not sure how to disable building examples target

* Fix build error when building x64 targets

* Add more to the patch, remove sections with add_executable from CMakeLists.txt

* Guard with BUILD_TEST, put compile option in

* Disable CUDA

* Change name of package to taskflow

* Add patch so it's back to Cpp-Taskflow::Cpp-Taskflow...

* Update CONTROL

* Move - down to Port-Version.

* Add taskflow 2.6.0

* Update cpp-taskflow to 2.4.0 and disable test building

* Change 'cpp-taskflow' to merely depend on 'taskflow'.

* Remove osx skip.

* Fix up portfile and remove patch file since not needed for header-only

* Case fix for Linux

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-09-11 12:12:04 -07:00
mfornace
08423be155
[cpp-taskflow] Update to 2.5.0 (#12923)
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-08-24 14:33:32 -07:00
Jack·Boos·Yu
a59ddd901a
[vcpkg-baseline][manyport] Fix baseline error (#11742)
* [fastrtps] Fix source hash

* [cpp-taskflow] Update source hash

* [eabase] Re-trigger CI test

* Change repo

* [sdformat9] Re-trigger CI test

* update baseline

* update baseline

* [sdformat9] Fix find dependency urdfdom
2020-06-04 12:20:25 -07:00
Reinforce-II
554668ce8d [cpp-taskflow] update to 2.2.0 (#7554)
* [cpp-taskflow] update to 2.2.0

* use release tag instead of the commit id
2019-08-06 22:22:31 -07:00
myd7349
724ed8cf4e [cpp-taskflow] Add new port 2018-11-30 12:00:54 +08:00