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 |
|
dittons
|
33a812303b
|
[stlab] update to 1.6.2 (#17239)
* update stlab to 1.6.2
* update stlab to 1.6.2 (version files)
* fix comment in typo
* update version
Co-authored-by: ian <ian>
Co-authored-by: Jonliu1993 <13720414433@163.com>
|
2021-04-29 16:27:56 -07:00 |
|
Phoebe
|
7042764fe1
|
[stlab] Fix cmake config file (#11787)
* [stlab] Fix cmake config file
* Update ports/stlab/portfile.cmake
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
|
2020-06-23 14:38:14 -07:00 |
|
Robert Schumacher
|
08c951fef9
|
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08
* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl
* Update ci baseline file
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
|
2020-02-10 16:08:57 -08:00 |
|
JackBoosY
|
8d26ea0991
|
[stlab]Upgrade to 1.5.1 (#8901)
|
2019-11-21 17:15:49 -08:00 |
|
Phoebe
|
bcff929875
|
Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
|
2019-07-31 13:01:02 -07:00 |
|
kyp
|
dad8307618
|
[stlab] update to v1.4.1 (#6209)
* [stlab] update to v1.4.1
[stlab] update head reference
* [stlab] fix osx build
|
2019-04-26 12:28:13 -07:00 |
|
kyp
|
8bf211d52f
|
new port: stlab (at v1.3.3)
|
2018-11-19 17:51:30 +01:00 |
|