aboutsummaryrefslogtreecommitdiff
path: root/ports/wpilib
AgeCommit message (Collapse)Author
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` 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 ```
2020-08-13 [wpilib] Update to 2020.3.2 (#12373)Thad House
* Update wpilib port to 2020.3.2 Latest 2020 release * Fix review comments
2020-01-06[wpilib] update to 2020.1.1 (#9513)Thad House
2019-08-27[wpilib] Update wpilib port to allow opencv4 (#7927)Thad House
* Update WPILib to allow OpenCV 4 support The existing version only supported OpenCV 3, OpenCV 4 support has been added recently * Update wpilib port to allow opencv4 Was only compatible with opencv3, and would fail to build with 4. Also had to update to include eigen, since we now depend on that as well * Use test package to ensure PR passes * Attempt to get mac working * Revert to upstream repo
2019-06-29Update wpilib port to fix build with full package (#7087)Thad House
Previously, a warning was being generated in a higher level project, and we build with /WX by default
2019-05-31Add hash for wpilibThad House
2019-05-31Remove wpilib shimsThad House
2019-04-17More fixesThad House
2019-04-16Update patchThad House
2019-04-14Add flat install settings for wpulibThad House
2019-04-14Linux building, and cmake buildingThad House
2019-04-14Update wpilib port to custom buildThad House
2019-04-14Add WPILib port for vcpkgThad House