Commit Graph

6 Commits

Author SHA1 Message Date
Alon Regev
bc00d6028f
[nethost] Bump to .NET 8.0.3 (#37865) 2024-04-03 16:15:00 -07:00
Julian Xhokaxhiu
dfbe9e7652
[nethost] Bump to 8.0.0 (#35158)
* [nethost] Bump to 8.0.0

* vcpkg x-add-version --all

* Apply suggestions in PR

* vcpkg x-add-version --all

* Fix license install

* vcpkg x-add-version --all

* Apply suggestions in PR

* vcpkg x-add-version --all
2023-11-21 18:59:24 -08:00
Julian Xhokaxhiu
2d32d7c656
[nethost] Update to 7.0.0 (#27717)
* [nethost] Update to 7.0.0

* [nethost] Update versions

* [nethost] Revision changes

- 0001-nethost-cmakelists.patch: Remove the shell file patch and keep only the cmake patch
- portfile.cmake: Bring the execute_process entry as a single block and only if not Windows
- vcpkg.json: Extend the supports string to linux and osx

* [nethost] Update versions
2023-01-04 12:03:10 -08:00
Lanyi
2aed520ed7
[nethost] Update nethost (#25004)
* update nethost

* bump nethost version

* Add CMake exports in an unofficial- namespace
https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#add-cmake-exports-in-an-unofficial--namespace

* fix port version and deprecated functions

* change nethost version date to version

* update usage

* add quotes to paths and export targets directly

* bump nethost version

* [nethost] Only build one flavor

* fix build error

* bump nethost version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-06-02 15:20:55 -07:00
Billy O'Neal
d13329216a
[nethost] Remove vcpkg_fail_port_install. (#22751)
There was no supports expression before so there is ci.baseline.txt impact.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 02:17:49 -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