Commit Graph

54 Commits

Author SHA1 Message Date
Jeremy Mikola
e5c8889e4d PHPC-2078: Include relocated phongo_version.h in PECL packages
This was missed in 476c5b3ae1
2022-06-07 21:02:46 -04:00
Jeremy Mikola
db4fe3dc8b PHPC-2049: BulkWrite and Query support comment option of any type (#1320)
* PHPC-2049: Bump libmongoc and libmongocrypt submodules

libmongoc master (1.22-dev) now depends on libmongocrypt master (1.5-dev).

libmongoc's bundled zlib library was updated to 1.2.12.

* PHPC-2049: BulkWrite and Query support comment option of any type

MongoDB 4.4+ allows a comment option of any type on most commands. Previously, find required a string type and write commands did not support comment at all. The driver does not validate the option and relies on the server to raise an error.

* Fix title and variable access in BulkWrite and Query let option tests

* Fix grammar in php_phongo_bulkwrite_delete_apply_options comment

* Undefine additional Query option macros
2022-05-20 11:11:18 -04:00
Jeremy Mikola
82aef8fae9 PHPC-2031: Upgrade libmongoc to 1.21.1 and libmongocrypt to 1.3.2 (#1306) 2022-03-23 12:11:45 -04:00
Jeremy Mikola
fc358d6f18 PHPC-2040: Break down php_phongo.c into smaller files
This also cleans up header includes throughout the project. The order follows: libbson, libmongoc, libmongocrypt, PHP, contrib (e.g. PHP array API), internal modules (e.g. php_phongo.h, phongo_bson.h), and class headers. Quoted strings are used for all but PHP includes, which are always sourced from system directories.

php_phongo.h is now responsible for including config.h and assigning the default logging domain.
2022-01-26 20:31:48 -05:00
Andreas Braun
3baacb85ee Add missing file mask to packaging script 2021-04-09 13:56:42 +02: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
Jeremy Mikola
c2f58b607a Include contributing docs and third-party licenses in package 2020-07-08 09:42:16 -04:00
Andreas Braun
9ac6f237b0 Update to latest libmongoc version 2020-02-28 08:20:25 +01:00
Andreas Braun
a384e42423 Fix missing files in prep-release script 2020-02-04 15:49:00 +01:00
Andreas Braun
7cea21a25a PHPC-1496: Add support for compiling with libmongocrypt 2020-01-08 12:41:41 +01:00
Jeremy Mikola
2895669025 PHPC-1364: Include LIBMONGOC_VERSION_CURRENT in PECL package 2019-06-03 15:35:23 -04:00
Derick Rethans
6362ff7742 PHPC-1174: Fixed PECL package generation due to directory changes
Missed updating these paths in 7c0ccd3e20
2018-06-26 14:10:52 +01:00
Jeremy Mikola
741ada8532 Improve precision of file globs for bundled zlib 2018-05-18 11:45:35 -04:00
Jeremy Mikola
ce45de41fa PHPC-1174: Bump libbson and libmongoc to 1.10.0-dev
This consolidates CFLAGS for bundled libraries, adds a new "common/" build path, and defines new constants as needed.
2018-05-18 11:45:35 -04:00
Jeremy Mikola
4d9dd87c2c Remove "build/" from autotools scripts path
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
2018-05-16 11:03:46 -04:00
Jeremy Mikola
dfa355eeb8 PHPC-1075: Remove libbson/libmongoc m4 files from release tarball 2018-05-16 09:45:27 -04:00
Derick Rethans
6a65f9f3cd Fixed PHPC-1104: pecl package misses zlib sources 2018-01-30 10:11:36 +00:00
Derick Rethans
e304754706 Add new .m4 files to package.xml.in file 2018-01-23 17:09:44 +00: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
Jeremy Mikola
9f9fe60193 Add missing json MO config to PECL package 2018-01-08 10:28:56 -05:00
Jeremy Mikola
28baf2356b PHPC-349 and PHPC-981: Fix package builds for APM 2017-08-10 14:52:44 -04:00
Jeremy Mikola
10acc01d80 PHPC-928: Consolidate glob paths for phpt files 2017-03-15 11:01:43 -04:00
Jeremy Mikola
4ab0e67b13 PHPC-928: Consolidate tests/utils glob paths 2017-03-15 11:01:43 -04:00
Jeremy Mikola
77d6d99cdc PHPC-928: Include missing run-tests-on.sh file in package 2017-03-15 11:01:43 -04:00
Jeremy Mikola
22567f2558 PHPC-928: Include missing ldapconfig.py file in package 2017-03-15 11:01:43 -04:00
Jeremy Mikola
e2753f54eb PHPC-928: Update package paths for libbson and libmongoc 1.6.0
libbson now uses jsonsl instead of yajl.
2017-03-15 11:01:43 -04:00
Derick Rethans
1481d56dcb Fixed CREDITS file and include it in package.xml too 2016-11-29 13:35:51 +00:00
Jeremy Mikola
3a54c35978 Remove make target for generating release notes from Git logs 2016-08-02 15:57:20 -04:00
Jeremy Mikola
09968d7931 PHPC-447: Generate libmongoc and libbson headers in config.w32
This removes the old config and version headers, which required manual updates and were often out-of-date as a result.

Additionally, this syncs the config header replacements with 1.4.0-beta1.
2016-08-02 10:49:53 -04:00
Jeremy Mikola
36dc63ae83 Encode special characters in commit messages for package.xml 2015-12-22 15:41:46 -05:00
Jeremy Mikola
3fbae8ddce Include libbson and libmongoc version files in PECL package 2015-12-15 10:51:22 -05:00
Jeremy Mikola
8a21ca2451 Revise prep-release.php handling
Allows version argument to contain "-stability" suffix, which we'd like for accurate version checking in userland and PHP extension info.
2015-12-07 12:55:52 -05:00
Jeremy Mikola
2d6f16b3b6 Use UTC time when creating package.xml 2015-10-05 22:04:41 -04:00
Hannes Magnusson
131658e8fa Improve test organization 2015-05-13 19:52:31 -07:00
Hannes Magnusson
c09dc2ff4d PHPC-300: Add var_dump() debug info for Server 2015-05-13 18:38:03 -07:00
Hannes Magnusson
0d9fd5714a PHPC-75: Improve coverage for the Manager 2015-05-13 15:45:05 -07:00
Hannes Magnusson
2fad1539f4 Exceptions live in their own folder now 2015-05-04 21:48:24 -07:00
Hannes Magnusson
889e48717e Include the pre-generated fixtures in the package 2015-04-24 14:53:29 -07:00
Remi Collet
a716038e38 PHPC-258: make all filed needed for test as role="test" 2015-04-23 07:06:07 +02:00
Hannes Magnusson
7dfc4c0aa2 PHPC-235: Fix out-of-src builds on FreeBSD 2015-04-09 20:58:48 -07:00
Hannes Magnusson
1ab97b3bc3 PHPC-191 && PHPC-192: Add verify_expiry && verify_peer_name certificate verify options 2015-04-03 12:19:44 -07:00
Hannes Magnusson
2f9b1dc16b PHPC-216: Include our pem files in the pecl archive 2015-03-30 17:02:58 -07:00
Hannes Magnusson
d307434dfa PHPC-217: Include the connection tests in pecl package 2015-03-30 14:43:39 -07:00
Hannes Magnusson
bb67bf4b7f PHPC-211: Windows libbson and mongoc config files missing in release archive 2015-03-25 18:57:23 -07:00
Hannes Magnusson
77bbd10f3c Add config.w32 to package.xml 2015-03-25 16:04:35 -07:00
Hannes Magnusson
86fbe6531b Include the license file for next release 2015-03-23 17:05:18 -07:00
Hannes Magnusson
809e99d7b8 PHPC-174: Rename module registration, constants and so on to mongodb 2015-03-23 16:37:38 -07:00
Hannes Magnusson
f048eb40b8 Include the version and config templates 2015-03-23 16:15:33 -07:00
Hannes Magnusson
457b6452fa PHPC-165: Rename WriteBatch to BulkWrite 2015-02-20 15:05:29 -08:00
Hannes Magnusson
a9bc56ab79 The development of this driver is now under the PHPC jira project 2014-12-22 13:37:51 -08:00