Commit Graph

34 Commits

Author SHA1 Message Date
Billy O'Neal
b295670e4b
Bulk convert control files. ()
```
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
Daniel Parker
a025c1b045
[jsoncons] Update to 0.165.0 ()
* [jsoncons] Update to 0.165.0

* [jsoncons] Update to 0.165.0, update baseline

* [jsoncons] Added vcpkg_fixup_pkgconfig() to portfolio.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-06-21 14:21:22 -07:00
Daniel Parker
684a000aac
[jsoncons] Update to version 0.163.3 ()
* [jsoncons] Update to version 0.163.3

* [jsoncons] Update baseline
2021-04-23 10:18:49 -07:00
Daniel Parker
7ee07915db
[jsoncons] Update to 0.163.1 ()
* [jsoncons]Update to 0.163.1

* [jsoncons] Update baseline
2021-04-09 09:50:50 -07:00
Daniel Parker
80bd78d3dd
[jsoncons] Update to v0.163.0 ()
* [jsoncons] Update to v0.163.0

* [jsoncons] Update baseline

* [jsoncons] BUILD_TESTS ->JSONCONS_BUILD_TESTS

* [jsoncons] Update baseline
2021-03-24 12:46:18 -07:00
Daniel Parker
6582f0e0d3
[jsoncons] Update to 0.162.1 ()
* Issue 

* Update baseline
2021-02-20 21:19:45 -08:00
Daniel Parker
5368422fb9
[jsoncons] Update to version 0.162.0 ()
* [jsoncons] Update to version 0.162.0

* [jsoncons] Run ./vcpkg x-add-version jsoncons
2021-02-16 11:14:37 -08:00
Daniel Parker
b743d46899
[jsoncons] Update to version 0.159.0 () 2020-11-30 10:18:11 -08:00
Daniel Parker
f8c439c3ed
[jsoncons] Update to 0.158.0 () 2020-10-08 23:32:50 -07:00
Daniel Parker
9b89e93f2c
[jsoncons] Update to version 0.156.1 () 2020-09-18 16:56:02 -07:00
Daniel Parker
160d3ac7bb
[jsoncons] Update to v0.155.1 () 2020-08-10 15:10:00 -07:00
Daniel Parker
4b0f9cbaec
[jsoncons] Update to v0.154.1 ()
* [jsoncons] Update to v0.154.0

* [jsoncons] Update to v0.154.1

* v prefix removed from version in CONTROL file
2020-07-31 11:22:32 -07:00
Daniel Parker
d2262e34d1
[jsoncons] Update to v0.153.3 () 2020-06-18 15:21:04 -07:00
Daniel Parker
0243e00c53
[jsoncons] Update to v0.153.0 () 2020-06-02 22:42:06 -07:00
Daniel Parker
c4937039b0
[jsoncons] Update to v0.152.0 ()
* [jsoncons] Update to v0.152.0

* [jsoncons] Update to v0.152.0
2020-05-22 21:59:41 -07:00
Daniel Parker
c05620ef05
[jsoncons] Update to v0.151.0 () 2020-05-12 16:08:05 -07:00
Daniel Parker
0304c45315
[jsoncons] update to v0.150.0 ()
* [jsoncons] update to v0.150.0

* [jsoncons]Fixed version in CONTROL file
2020-04-08 15:57:50 -07:00
Daniel Parker
478cb2f9fc
[jsoncons] Update to v0.149.0 () 2020-03-27 19:14:05 -07:00
Daniel Parker
0cbfd1df17
[jsoncons] Update to v0.148.0 () 2020-03-17 14:09:00 -07:00
Daniel Parker
5b95454b32
[jsoncons] Update to v0.147.0 () 2020-03-10 15:50:59 -07:00
Daniel Parker
053ade685f
[jsoncons] Update to v0.146.0 ()
* [jsoncons] Update to v0.145.0

* Update to v0.145.1

* Removed blank lines at end of .cmake file. Update to v0.145.2

* [jsoncons]Line include(vcpkg_common_functions) removed
2020-02-28 21:50:56 -08:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 ()
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
Daniel Parker
6ffb134f22 [jsoncons] Update to 0.143.1 ()
* [jsoncons] Update to 0.143.1

* Updated portfile.cmake LICENSE line
2020-01-06 10:49:59 -08:00
Daniel Parker
efba683396 [jsoncons] Update to v0.140.0 ()
* [jsoncons] Update to v0.140.0

* [jsoncons] Add space before #v0.140.0?
2019-12-02 10:44:05 -08:00
Daniel Parker
0223359a99 [jsoncons] Update to v0.139.0 () 2019-11-21 13:06:46 -08:00
Daniel Parker
7e750cb498 [jsoncons] Update to v.0.136.1 () 2019-10-21 22:50:33 -07:00
Daniel Parker
22cbc5c7e3 Update jsoncons to v0.136.0 () 2019-09-29 10:50:34 -07:00
Daniel Parker
273c31fe37 Update jsoncons to v0.135.0 () 2019-09-26 01:54:57 -07:00
Daniel Parker
7db8791f7d Update jsoncons to v0.134.0 () 2019-09-17 13:08:44 -07:00
Daniel Parker
ea376ff980 Update to v0.133.0 2019-09-03 11:08:59 -04:00
unknown
812beb6101 [jsoncons] Update library to 0.132.1 2019-08-16 13:31:52 +04:30
Daniel Parker
6c7cb5dfdb Update jsoncons to v0.131.2 () 2019-08-06 22:25:11 -07:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 () 2019-05-21 21:00:24 -07:00
Stefano Sinigardi
3c3dc340b7 [jsoncons] add port 2019-04-12 09:40:25 +02:00