Commit Graph

58 Commits

Author SHA1 Message Date
Jeremy Mikola
ab400ecdb9 Revise release instructions (#1384)
Push "Package X.Y.Z" and "Back to -dev" commits separately to ensure Windows build artifacts are created for the tag.

Add instructions for creating a maintenance branch after releasing a new minor version.

* Use diff code blocks for more concise examples

* Apply syntax highlighting to release notes examples

Co-authored-by: Andreas Braun <alcaeus@users.noreply.github.com>
2022-11-23 05:13:47 -05:00
Jeremy Mikola
51f0dd5399 PHPC-2143: Build Windows DLLs with GitHub Actions (#1380)
* Fix APM and CSFLE tests for Windows CI

* Add Windows to GitHub CI and build DLLs for releases

* Add --enable-debug-pack configure opt to generate PDB files

* Reminder to check for Windows build artifacts before publishing releases

* Revise advice on publicizing releases
2022-11-21 10:09:46 -05:00
Jeremy Mikola
dadb93fb34 Merge branch 'v1.14'
v1.14 pointed to libmongoc 1.14.2, which was released some time after the submodule target in the master branch (a dev commit before libmongoc 1.23.0). To resolve this conflict, the libmongoc submodule has been bumped to 1.23.0.

Note: a libmongoc 1.23.1 tag also exists, but that bump can be done in a subsequent PHPC ticket related to the libmongoc changes therein.

This also adds a section to CONTRIBUTING.md to provide guidance on resolving submodule merge conflicts.
2022-10-20 21:44:20 +08:00
Jeremy Mikola
7588da26bf Restructure docs for environment variables (#1354) 2022-09-01 16:36:39 -04:00
Andreas Braun
6887226d34 PHPC-1709: Add typing information to arginfo (#1337)
* Add missing macros for declaring arguments

* Add macros to define disabled constructor and __wakeup

* Define arginfo via stubs for BSON classes

* Declare tentative return types in interfaces

* Add correct return type for __set_state methods

* Generate class entries for BSON classes

* Declare Binary class constants in stub file

* Use stubs in exception classes

* Add stubs for monitoring classes

* Fix wrong JsonSerializable class in BSON stubs

* Disable declaration-after-statement

This is necessary to let the generated arginfo files compile

* Use stubs for driver classes

* Fix deprecation messages in tests

* Add missing macro

* Fix tests relying on value injection

* Parse parameters in disabled constructor/wakup function

* Add note about arginfo files to contribution docs

* Add GitHub action to check generated arginfo files

* PHPC-2115: Use DateTimeInterface in UTCDateTime constructor signature

* Don't install mongodb extension in GitHub actions workflows

* Change indentation in stub files

* Use individual #if conditions for each stub method

* Make disabled constructor/wakeup methods static

* Fix bulkWrite parameter name

* Use %d to match property count in tests

* Ensure all classes with disabled serialisation declare __wakeup
2022-08-03 08:42:07 +02:00
Jeremy Mikola
03fcb6b9ef PHPC-2099: crypt_shared testing (#1333)
* Use non-breaking space in OS axis labels

* Revise titles and Manager construction in autoEncryption tests

* Define CSFLE_KEY_VAULT_NS and CSFLE_LOCAL_KEY constants

The value for CSFLE_KEY_VAULT_NS is based on the example from PHPLIB-826. This was not required but helps makes all tests consistent and will make it easier if we need to add functionality to a helper to drop the key vault collection before a test.

Using CSFLE_LOCAL_KEY allows removal of a duplicated string literal in various CSFLE tests. Although the new constant wasn't required for all tests (empty strings worked fine to satisfy option validation), using a constant helps ensure consistency across the test suite.

Also use create_test_manager() in more places when basic.inc is included. The remaining instances of direct Manager construction should only be in tests where basic.inc isn't used.
2022-06-22 13:37:56 -04:00
Jeremy Mikola
573415b008 PHPC-2074: Document test suite env vars and revise Mongo Orchestration notes (#1307) 2022-03-04 13:38:11 -05:00
Jeremy Mikola
8a4670becd PHPC-2011: Upgrade libmongoc to 1.20.0 and libmongocrypt to 1.3.0 (#1279)
* PHPC-2011: Bump libmongocrypt to 1.3.0

* PHPC-2011: Bump libmongoc to 1.20.0

* Script to update submodule sources in config.m4 and config.w32
2021-12-06 11:15:20 -05:00
Jeremy Mikola
366a9a1845 Update release notes template and forum link 2021-11-02 17:17:16 -04:00
Jeremy Mikola
dc3e4af3cc Update sections for PHP and Windows compatibility 2021-09-13 11:28:43 -04:00
Jeremy Mikola
2848ddd8f6 Instructions for pointing libmongoc submodule to a fork 2021-08-04 18:30:06 -04:00
Jeremy Mikola
f48c7fbb4f Revise release notes template 2021-07-13 14:35:26 -04:00
Andreas Braun
37408e1ccf Merge branch 'v1.9'
* v1.9:
  PHPC-1739 Move from travis-ci to GitHub Actions (#1199)
  PHPC-1774 Fix truncation of PHP_VERSION constant in handshake metadata (#1202)
  PHPC-1775 Use correct size for strncpy in when initialising DBPointer (#1203)
2021-02-23 14:52:15 +01:00
Andreas Braun
ed31cba5cb PHPC-1739 Move from travis-ci to GitHub Actions (#1199)
* Add GitHub Action workflow for tests

* Add workflow to check formatting

* Remove travis-ci config

* Fix clang-format error

* Add shared json extension for tests

* Hide output for xfail tests

* Use mongo-orchestration configs from drivers-evergreen-tools

* Drop obsolete test scripts

This drops the legacy VM environment and remnants of the travis-ci config

* Remove obsolete server_id config

* Add note about MONGO_ORCHESTRATION_URI to contribution docs

* Restore previous XFAIL behaviour

This did not have the expected effect of preventing diff output for tests that expect failures, so it can be reverted.

* Make SSL certificate path configurable for tests

Since mongo-orchestration will always bring its own certificates, we need to set the correct SSL certificate directory for our tests. This is skipped on GitHub Actions as we don't test SSL builds there (yet). If SSL_DIR was not set, tests requiring SSL will be skipped.

* Fix code review nits
2021-02-23 14:49:54 +01:00
Andreas Braun
d291960231 PHPC-1717: Add note about filing docs ticket for compatibility changes 2020-12-16 18:41:02 +01:00
Jeremy Mikola
4bae3f6e46 PHPC-1660: Always refer to explicit version in PECL example for non-stable release notes 2020-07-16 10:14:59 -04:00
Andreas Braun
11e7eb1cdd Add note about updating compatibility tables 2020-05-20 12:45:03 +02:00
Wan Bachtiar
34c7241abe Updated community links to point to the new MongoDB Community forums 2020-03-05 15:27:53 +11:00
Jeremy Mikola
c4d1f7e49a PHPC-1546: Ensure Windows builds enable SASL and FLE 2020-01-31 13:16:49 -05:00
Andreas Braun
7cea21a25a PHPC-1496: Add support for compiling with libmongocrypt 2020-01-08 12:41:41 +01:00
Andreas Braun
0e29674902 PHPC-1002: Add evergreen information to "Updating libmongoc" docs 2019-10-25 08:01:08 +02:00
Jeremy Mikola
0c60706d5d Improve docs for bumping libmongoc/libbson 2019-09-11 10:18:38 -04:00
Andreas Braun
3cc5ed78d8 Change order of PECL release steps in contribution docs 2019-09-02 16:07:28 +02:00
Andreas Braun
8d8573e358 Update contribution docs to include steps for bumping libmongoc 2019-08-20 09:36:44 +02:00
Andreas Braun
e5b1502f4d PHPC-1377: Remove support for PHP 5.5 2019-07-31 07:44:03 +02:00
Jeremy Mikola
d145409286 PHPC-1364: Upgrade libmongoc to 1.14.0
Per src/libmongoc/doc/installing.rst, the VERSION_CURRENT and VERSION_RELEASED files must now be generated. This requires Python and the GitPython pip module to run src/libmongoc/build/calc_release_version.py. A new libmongoc-version-current Makefile target has been added.
2019-05-01 13:42:38 -04:00
Jeremy Mikola
392ee3d294 PHPC-1250: Best practices for SKIPIF 2018-07-31 13:46:38 -04:00
Jeremy Mikola
705355194e Discuss PHPT format in Testing section info 2018-07-31 13:46:38 -04:00
Jeremy Mikola
b160c62e43 Rename Testing subtitles in CONTRIBUTING.md 2018-07-31 13:46:38 -04:00
Derick Rethans
6a77d2803c PHPC-1234: Upgrade CONTRIBUTING.md to reflect new test infrastructure 2018-07-17 17:12:14 +01:00
Jeremy Mikola
da72946e65 PHPC-1189: Prefix maintainer/coverage configure options 2018-05-15 15:20:16 -04:00
Derick Rethans
a7576aaa68 PHPC-1114: Add template.rc file to embed the right MongoDB version in the Windows binary 2018-02-27 13:09:40 +00:00
Derick Rethans
4ccf3ae33a PHPC-1127: Remove old MO tests 2018-02-22 16:51:37 +00:00
Jeremy Mikola
fec2187fa1 Allow -dev state for non-stable release versions 2018-02-08 12:51:56 -05:00
Jeremy Mikola
296da1bc8d Update release notes example text 2018-02-06 15:12:17 -05:00
Jeremy Mikola
f731d84744 Notes for alpha and beta releases 2018-02-06 15:12:04 -05:00
Jeremy Mikola
a007a4155d Update references to newer PHP versions 2018-02-06 15:11:51 -05:00
Jeremy Mikola
9812d6713e Upgrade VM to trusty64 and revise mo installation
This also removes unused server versions.
2018-01-08 10:28:56 -05:00
Derick Rethans
aa1eb0b8cd PHPC-1047: Add MongoDB 3.6 to test framework 2017-11-23 12:44:22 +00:00
Derick Rethans
14de1e3a35 PHPC-995: Drop support for MongoDB 2.4 2017-11-21 17:19:29 +00:00
Jeremy Mikola
726fb9a071 PHPC-996: Remove support for PHP 5.4 2017-08-14 12:19:30 -04:00
Jeremy Mikola
f4cea432a9 PHPC-936: Define PHP_MONGODB_VERSION and STABILITY constants
This removes the redundant MONGODB_VERSION constant renames the existing version and stability constants to be consistent with the format in PHP's extension skeleton: dcfd753104
2017-03-17 14:47:21 -04:00
Jeremy Mikola
8c73d5dd93 Demonstrate how to build and test DLL in contributing docs 2017-01-31 11:59:33 -05:00
Jeremy Mikola
0bd093540c Issues not are not "Fixed" should be unassociated with release versions 2016-11-29 16:56:54 +01:00
Jeremy Mikola
9ac90fb946 Update release process to reflect current JIRA workflow 2016-11-29 15:35:21 +01:00
Jeremy Mikola
93c358fad3 Fix wording in contributing docs 2016-09-28 16:18:37 -04:00
Jeremy Mikola
81cc4fe345 Revise contributing docs for building and testing 2016-09-28 14:59:43 -04:00
Jeremy Mikola
3a54c35978 Remove make target for generating release notes from Git logs 2016-08-02 15:57:20 -04:00
Jeremy Mikola
e1e97f8cf0 Document release process 2016-06-22 08:11:12 -04:00
Derick Rethans
d90f10baa4 HHVM-136: Make hippo and phongo README/CONTRIBUTING files consistent 2015-11-12 14:35:23 -05:00