| Age | Commit message (Collapse) | Author |
|
```
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
```
|
|
* update_polyhook2
* update polyhook2
* [Polyhook2]Update to the latest version
Co-authored-by: Jonliu1993 <13720414433@163.com>
|
|
|
|
|
|
* Update polyhook2
* [polyhook2] Update CONTROL
* Update portfile.cmake
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
|
|
|
|
* [asmjit] Update to the latest commit
* Use the correct date for version
* Update ci.baseline.txt
* [polyhook2] Update to the latest commit
* Update portfile.cmake
* Remove polyhook2 from ci.baseline.txt
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
|
|
* bump polyhook2 version
* update polyhook2
|
|
* update polyhook to latest
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* push polyhook2 fix
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
* fix build
* bump polyhook2 version
* bump polyhook2 version
* bump polyhook2 version
|
|
* [polyhook2] Update to 2020-05-25
- Update to latest PolyHook_2 revision.
- Add support for zydis and inlinentd as features (enabled by default, as per upstream default).
- Support for capstone, exception, detours, and pe is now configurable via features (all enabled by default, as per upstream default).
- Remove cmake build patch. Relevant parts have been upstreamed.
- For now, remove tool feature for building tests, as upstream does not support building tests along with building the library.
- Add support for cmake config so library can be used simply with "find_package(PolyHook_2 CONFIG REQUIRE)".
* [polyhook2] package does not support arm, uwp, linux, and osx
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
|
|
* Update portfile.cmake
* Update CONTROL
* remove eof newlines
|
|
|
|
* [polyhook2] Add new port
* Add feature and update
|