sonata-project / EntityAuditBundle

Audit for Doctrine Entities
https://sonata-project.org
MIT License
632 stars 261 forks source link

add official MSSQL support #260

Closed DavidBadura closed 3 years ago

DavidBadura commented 7 years ago
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

We can not currently provide any official support for MSSQL, as we can not test it. With AppVeyor we have the possibility.

Doctrine is attending to integrate AppVeyor (https://github.com/doctrine/dbal/pull/2617). We should just wait until they are done and then we'll take it 😄

photodude commented 7 years ago

We did this with Joomla already https://github.com/joomla/joomla-cms/pull/13790 and the Joomla-Framework Database package https://github.com/joomla-framework/database/pull/72

The Doctrine DBAL implementation is just different Note: lots of packages are doing this now

photodude commented 7 years ago

Also there are the MSSQL Linux package now so there is a way to do this on Travis CI

The SQL Server for Linux preview is available as a docker image. Assuming we can setup Travis to protect our access key to the private preview, we could use docker on Travis CI builds to execute against tests SQL Server.

https://www.microsoft.com/en-us/server-cloud/sql-server-on-linux.aspx

https://docs.travis-ci.com/user/docker/

photodude commented 7 years ago

Apparently, someone has a workaround for testing Oracle DB on travis ci as well https://github.com/cbandy/travis-oracle

an Oracle account is required and the Oracle username and password has to be in the build environment variables either as hidden repository settings or encrypted variables

DavidBadura commented 7 years ago

Amazing! Thanks for the valuable information! I'll try it soon :-)

photodude commented 7 years ago

you are welcome

photodude commented 7 years ago

FYI Doctrine is working on implementing Oracle testing on the DBAL package using @continuousphp

https://continuousphp.com

Setup is all done in the account via their web interface. so you are on your own with that.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.