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 |
|
NancyLi1013
|
7959513538
|
[sqlite-orm] Update to 1.6 (#15517)
* [sqlite-orm] Update to 1.6
* Removed unused FEATURE_PATCHES
* Add vcpkg_fixup_cmake_targets()
* Update patch
|
2021-01-11 00:06:54 -08:00 |
|
NancyLi1013
|
e0f0e7c1ec
|
[sqlite-orm] Add features and also fix usage (#13328)
|
2020-09-04 20:16:00 -07:00 |
|
NancyLi1013
|
d48e2bd9d9
|
[sqlite-orm] Update to latest version (#12999)
|
2020-08-19 21:42:29 -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 |
|
unknown
|
da6c72ed50
|
[sqlite-orm] Update library to 1.4
|
2019-08-16 14:27:01 +04:30 |
|
Phil Christensen
|
8c288f4bf8
|
[sqlite-orm] fix tag, update hash (#6894)
|
2019-06-14 11:45:35 -07:00 |
|
Robert Schumacher
|
c6db2c880a
|
Updates 2019.01.09
|
2019-01-18 14:08:49 -08:00 |
|
Robert Schumacher
|
86fecfc61c
|
Upgrades 2018.07.08
|
2018-07-08 22:29:53 -07:00 |
|
Robert Schumacher
|
7a1bc577c5
|
[sqlite-orm] Initial commit of 1.1
|
2018-03-23 10:55:04 -07:00 |
|