Skip to content

PHPC-2398: Use server_id methods for libmongoc 1.28+ #1582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Jun 12, 2024

https://jira.mongodb.org/browse/PHPC-2398

Bumps libmongoc to 1.28-dev

@jmikola jmikola requested a review from alcaeus June 12, 2024 13:27
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evergreen config needs regenerating.

Note: I don't think we need to update the SBOM for this change, especially considering that I forgot how nasty the development version info is. It would need some parsing and/or different handling in order to produce a proper purl.

@@ -11,7 +11,8 @@ tasks:
- func: "compile driver"
vars:
PHP_VERSION: "%phpVersion%"
LIBMONGOC_VERSION: "1.27.2"
# TODO: Change to "1.28.0" once 1.28.0 is released
LIBMONGOC_VERSION: "master"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This necessitates regenerating the actual build configs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aye, oversight on my part. Just regenerated.

@jmikola
Copy link
Member Author

jmikola commented Jun 12, 2024

Note: I don't think we need to update the SBOM for this change, especially considering that I forgot how nasty the development version info is. It would need some parsing and/or different handling in order to produce a proper purl.

Agreed. I skipped that step from CONTRIBUTING.md and think it makes sense to do so provided we never cut a stable release on a dev version of libmongoc.

@jmikola
Copy link
Member Author

jmikola commented Jun 12, 2024

Evergreen test failures are related to PHPC-2401, since CDRIVER-4828 has already been completed in libmongoc 1.28-dev. I'll look into this while this PR is open so we can avoid build failures after merging.

@jmikola jmikola merged commit 2944d9d into mongodb:master Jun 14, 2024
57 of 73 checks passed
@jmikola jmikola deleted the phpc-2398 branch June 14, 2024 13:46
alcaeus added a commit that referenced this pull request Sep 4, 2024
* master: (22 commits)
  PHPC-2434: Add PHP 8.4 to GitHub Actions (#1625)
  PHPC-2421, PHPC-2428: Update bundled dependencies (#1622)
  Don't build libmongoc version in pull requests
  Use drivers-evergreen-tools for Windows testing (#1615)
  PHPC-1957 Add tests for out-of-range UTCDateTime values (#1614)
  PHPC-2286 Implement `UTCDateTime::toDateTimeImmutable` (#1611)
  PHPC-2414, PHPC-2415: Update wire versions for MongoDB 8.0 compatibility (#1610)
  PHPC-2349, PHPC-2411: Deprecate unused exception classes (#1608)
  Fix failing tests on x86 systems (#1609)
  PHPC-2347: Deprecate BSON functions (#1607)
  PHPC-1489: Deprecate integer readPreference constants (#1604)
  Fix version computation for libmongoc development versions (#1599)
  PHPC-2376: Test against MongoDB 8.0 (#1598)
  PHPC-2254: Relax server selection timeout error message pattern (#1587)
  PHPC-2401: Support QEv2 range protocol (#1583)
  PHPC-2398: Use server_id methods for libmongoc 1.28+ (#1582)
  PHPC-2395: Fetch Atlas connectivity URIs from AWS Secrets Manager (#1579)
  Merge v1.19 into master (#1578)
  Revert "Bump mongodb-labs/drivers-github-tools from 1 to 2 (#1568)" (#1571)
  Bump mongodb-labs/drivers-github-tools from 1 to 2 (#1568)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants