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
Thad House
5bb91a9452
[wpilib] Update to 2020.3.2 ( #12373 )
...
* Update wpilib port to 2020.3.2
Latest 2020 release
* Fix review comments
2020-08-13 13:34:09 -07:00
Thad House
9bd91cbebe
[wpilib] update to 2020.1.1 ( #9513 )
2020-01-06 11:08:52 -08:00
Thad House
39d7ee57eb
[wpilib] Update wpilib port to allow opencv4 ( #7927 )
...
* 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-08-27 16:05:04 -07:00
Thad House
b627d2cf79
Update wpilib port to fix build with full package ( #7087 )
...
Previously, a warning was being generated in a higher level project, and we build with /WX by default
2019-06-29 20:04:52 -07:00
Thad House
d21b44f019
Add hash for wpilib
2019-05-31 14:21:22 -07:00
Thad House
f483ae4c7f
Remove wpilib shims
2019-05-31 13:46:43 -07:00
Thad House
50306ffe82
More fixes
2019-04-17 11:45:44 -07:00
Thad House
b0a7ab2c53
Update patch
2019-04-16 08:03:18 -07:00
Thad House
6500d20d48
Add flat install settings for wpulib
2019-04-14 11:09:32 -07:00
Thad House
92499d35cf
Linux building, and cmake building
2019-04-14 11:09:32 -07:00
Thad House
8e50af6ff7
Update wpilib port to custom build
2019-04-14 11:09:32 -07:00
Thad House
73a99865b1
Add WPILib port for vcpkg
2019-04-14 11:09:32 -07:00