Commit Graph

13 Commits

Author SHA1 Message Date
Mengna-Li
da5b6383d7
[mongo-cxx-driver] update mongo-cxx-driver to 3.11.0 (#41419)
Co-authored-by: Mengna-Li <v-limengna@microsoft.com>
2024-10-09 12:33:32 -04:00
jim wang
b810d1cdd4
[mongo-cxx-driver] Fix compilation error under VS17.11.2 (#40887) 2024-09-10 14:42:39 -07:00
WangWeiLin-MV
f61a294e76
[mongo-cxx-driver] Update to 3.10.2 (#39621) 2024-07-01 18:21:56 -04:00
Cheney Wang
ddea3c37b6
[mongo-cxx-driver] update to 3.10.1 (#37025) 2024-03-15 18:14:21 -07:00
jim wang
939eaca496
[mongo-cxx-driver] update to 3.9.0 (#34994)
* update to 3.9.0

* update version

* update libbson

* update version

* Fix static compilation issue

* update version

* patch

* update version

* patch

* update version
2023-11-16 16:52:43 -08:00
双草酸酯
2b7370d1c0
[mongo-cxx-driver] Update port to v3.8.0 (#33209)
* [libbjson] update port to v1.24.3

* update version

* [libbson] add patch

* update version

* [mongo-c-driver] update port to v1.24.3

* update hash

* [mongo-cxx-driver] update port to r3.8.0

* update hash
2023-08-17 12:56:00 -07:00
Kai Pastor
cc80359416
[mongo-cxx-driver] Update to 3.7.2 (#32459) 2023-07-10 09:54:16 -07:00
Kai Pastor
e819a7d0ae
[mongo-cxx-driver] Update (#27565)
* Update and cleanup

* Fix C++14 guard for MSVC

* Force mongo-cxx-driver feature boost in CI
2022-11-21 09:19:31 -08:00
Roberto C. Sánchez
94c2aed904
[mongo-cxx-driver] set c++17 for std::experimental build (#24083)
* [mongo-cxx-driver] set c++17 for std::experimental build

fixes #21877

* update version

* update git-tree

* add license

* overwrite version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-04-15 13:29:29 -07:00
Jack·Boos·Yu
d3cb28e98e
[mongo-cxx-driver] Fix installation (#21958)
* [mongo-cxx-driver] Fix installation

* version
2021-12-10 14:05:01 -08:00
autoantwort
f951227f95
[mongo-cxx-driver] no absolute paths (#21096) 2021-11-04 12:59:01 -07:00
bucurb
68c63203e6
[libbson] [mongo-c-driver] [mongo-cxx-driver] Updated to latest (#18751)
* get latest version

* libbson 1.17.6

* Updated patches

* bson sha

* Mongoc upgraded to 1.17.6

* updated sha

* Updated mongoc to latest

* updated sha

* upgraded mongo-cxx

* manifest fix

* updated sha

* PR comments

* updated sha

* fixed missing dependency. deleted unused patch

* sha

* PR comments

* sha

* Use modern cmake helpers for mongo-cxx-driver.

* Rebuild version database.

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-10-26 22:31:19 -07: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