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 |
|
Stefano Sinigardi
|
726c111481
|
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
|
2019-10-07 10:35:13 -07:00 |
|
Ian Reinhart Geiser
|
3c39089dad
|
[rxcpp] Change to new repository (#8361)
* Update for new repo
* Update portfile.cmake
|
2019-09-29 10:51:23 -07:00 |
|
pravic
|
18b029a5e3
|
[WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
|
2019-06-15 16:54:47 -07:00 |
|
Robert Schumacher
|
33af90d42a
|
[many ports] Updates 2019.05.19 (#6524)
|
2019-05-21 21:00:24 -07:00 |
|
Robert Schumacher
|
29cc5780fe
|
[rxcpp] Use vcpkg_from_github()
|
2017-05-09 20:55:58 -07:00 |
|
sdcb
|
8b9ec93d09
|
[rxcpp] upgrade to 4.0.0
|
2017-05-10 11:11:00 +08:00 |
|
Robert Schumacher
|
cdba9a5e49
|
[rxcpp] Renaming downloaded file back to RxCpp-v3.0.0.tar.gz to avoid collisions with other libraries
|
2016-11-25 21:45:41 -08:00 |
|
Robert Schumacher
|
bff67a592d
|
Revert "Merge pull request #348 from kirkshoop/rxcpp3.0.0"
This reverts commit 82c29e0dc5 , reversing
changes made to a5b1ed784a .
|
2016-11-25 21:44:01 -08:00 |
|
Robert Schumacher
|
82c29e0dc5
|
Merge pull request #348 from kirkshoop/rxcpp3.0.0
|
2016-11-25 21:37:34 -08:00 |
|
Kirk Shoop
|
420795eed1
|
update rxcpp to 3.0.0
|
2016-11-25 19:27:07 -08:00 |
|
flysha
|
1794eec16d
|
[rxcpp] Upgrade to latest 3.0.0
|
2016-11-26 09:58:03 +08:00 |
|
Alexander Karatarakis
|
8780989f37
|
[rxcpp] Mark as header-only library
|
2016-10-26 19:35:24 -07:00 |
|
sdcb
|
ad7b893940
|
add RxCpp for https://github.com/Microsoft/vcpkg/issues/47.
|
2016-10-08 11:54:43 +08:00 |
|