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
Jack·Boos·Yu
460b6d5f20
[dimcli/draco/refprop-headers/coolprop] Update version ( #13679 )
...
* [manyports] Update version 5
* [coolprop] Update version
* Update CONTROL
* Update ports/refprop-headers/CONTROL
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-09-27 17:59:45 -07:00
wangli28
d9c301bd3f
[dimcli] Upgrade to version 5.0.1
2019-09-03 02:53:38 +00:00
Ehsan
573bebe6b7
[dimcli] Update library to 5.0.0 ( #7785 )
2019-08-20 10:24:28 -07:00
Lily
e6a21e1b42
[dimcli] Fix build error C2220 ( #7651 )
2019-08-13 14:48:21 -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
bb1bb1c94a
Updates 2018.12.14
2019-01-09 12:27:19 -08:00
Glen Knowles
8174938d50
[dimcli] Update to 4.0.1 ( #4549 )
...
* [dimcli] update to 3.1.1
* [dimcli] Update to 4.0.1
* [dimcli] Remove quotes around project name
2018-10-25 15:27:36 -07:00
Robert Schumacher
9e9fc7a9b3
[dimcli] Fix Windows builds. Avoid writing to source directory.
2018-06-26 22:31:25 -07:00
gknowles
8bf974b0ad
[dimcli] update to 3.1.1
2017-11-13 00:00:35 -08:00
Alexander Karatarakis
26516fe485
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)
2017-09-09 00:12:54 -07:00
atkawa7
49961e151b
[dimcli] update
2017-07-27 20:43:05 -07:00
gknowles
7b111b87a8
Add dimcli
2016-12-12 12:05:20 -08:00