Mengna Li
|
4b101395a0
|
[xxhash] update to 0.8.2 (#32717)
|
2023-07-24 10:57:01 -07:00 |
|
jim wang
|
2b1757dd1d
|
[xxhash] Fix the installation path of the xxhsum.1 file (#30964)
* fix xxhsum1 path
* update version
|
2023-04-19 18:53:47 -07:00 |
|
autoantwort
|
712722a064
|
[xxhash] no absolute paths (#21853)
|
2021-12-06 21:10:49 -08:00 |
|
Rémy Tassoux
|
e1918707c3
|
[xxhash] Update to 0.8.1 (#21761)
* [xxhash] Update to 0.8.1
* [xxhash] fix manifest formatting
* [xxhash] Update version files
* [xxhash] Fix wrong versioning scheme and remove redundant PREFER_NINJA argument
* [xxhash] Update version files
Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
|
2021-12-01 19:22:09 -08:00 |
|
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 |
|